Skip to content

Instantly share code, notes, and snippets.

View masm64SimpleWindow.asm
include includes\win64a.inc
.code
WinMain proc
local msg:MSG
xor ebx,ebx ;rbx = 0
mov esi,IMAGE_BASE ; дескриптор нашей программы
mov eax,10027h ; дескриптор иконки
mov edi,offset ClassName; Имя нашего класса окна
; заполнение структуры wc и регистрация класса
push rax ;hIconSm дескриптор малой иконки
@alexeygritsenko
alexeygritsenko / HttpClientHelper.cs
Created Oct 5, 2021
Solution for Ssl error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED
View HttpClientHelper.cs
using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using System.Text;
namespace MyXamarinNativeApp.Shared.Helpers
{
public class HttpClientHelper
{
View fasm64SimpleWindow.asm
format PE64 GUI 5.0
entry WinMain
include 'includes\win64a.inc'
section '.text' code readable writeable executable
_title TCHAR 'Iczelion Tutorial #3:The Simplest Window in FASM',0 ;name of our window
wc WNDCLASSEX sizeof.WNDCLASSEX,0,WindowProc,0,0,400000h,0,10003h,COLOR_WINDOW,NULL,_title,NULL
proc WinMain
local msg:MSG