Function at 0x401000
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push ebx
push esi
push edi
lea ecx, [ebp - 0x20]
mov edx, 0x402093
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov eax, dword [edx + 0xc]
mov dword [ecx + 0xc], eax
mov eax, dword [edx + 0x10]
mov dword [ecx + 0x10], eax
mov al, byte [edx + 0x14]
mov byte [ecx + 0x14], al
lea ecx, [ebp - 0xb]
mov edx, 0x402088
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov ax, word [edx + 8]
mov word [ecx + 8], ax
mov al, byte [edx + 0xa]
mov byte [ecx + 0xa], al
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x40320c], eax
push 5
mov eax, dword [0x40320c]
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [0x403210], eax
mov dword [ebp - 0x6c], 0x30
mov dword [ebp - 0x68], 0x3000
mov dword [ebp - 0x64], 0x401250
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov eax, dword [0x40320c]
mov dword [ebp - 0x58], eax
mov eax, dword [0x403210]
mov dword [ebp - 0x54], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], 6
mov dword [ebp - 0x48], 0
lea eax, [ebp - 0xb]
mov dword [ebp - 0x44], eax
mov eax, dword [0x403210]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExA]
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, eax
push ebx
fild dword [esp]
pop ebx
fmul qword [0x402080]
call fcn.00401390
mov esi, eax
push ecx
fild dword [esp]
pop ecx
fmul qword [0x402080]
call fcn.00401390
mov edi, eax
push esi
fild dword [esp]
pop esi
push edi
fild dword [esp]
pop edi
fmul qword [str.gfffff]
fcompp
fnstsw ax
test ah, 5
jp 0x40113f
push edi
fild dword [esp]
pop edi
fmul qword [str.gfffff]
call fcn.00401390
mov esi, eax
push 0
mov eax, dword [0x40320c]
push eax
push 0
push 0
push edi
push esi
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov ecx, eax
mov eax, edi
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
push ecx
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
mov ecx, eax
mov eax, esi
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
push ecx
push 0xcf0000
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xb]
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x403214], eax
push 0xa
mov eax, dword [0x40320c]
push eax
call dword [sym.imp.USER32.dll_LoadMenuA]
mov dword [0x403218], eax
push eax
mov eax, dword [0x403214]
push eax
call dword [sym.imp.USER32.dll_SetMenu]
push 5
mov eax, dword [0x403214]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x403214]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp 0x401225
cmp dword [ebp - 0x38], 0x101
jne 0x401211
mov eax, dword [ebp - 0x34]
cmp eax, 0x70
je 0x4011f9
cmp eax, 0x71
jne 0x401211
push str.Howdy
push str.You_pressed_the_F2_key
mov eax, dword [0x403214]
push eax
call fcn.00401330
add esp, 0xc
jmp 0x401211
push str.Howdy
push str.You_pressed_the_F1_key
mov eax, dword [0x403214]
push eax
call fcn.00401330
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 0
push 0
push 0
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x4011c9
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret