This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 дескриптор малой иконки |