Function at 0x40a1e0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x54
mov edx, dword [esp + 0x58]
push ebp
push esi
push edi
xor eax, eax
push 0x7f00
mov ecx, 0xa
lea edi, [esp + 0x3c]
rep stosd dword es:[edi], eax
push eax
mov dword [0x411ad8], edx
mov dword [esp + 0x40], 3
mov dword [esp + 0x50], edx
mov dword [esp + 0x5c], 5
mov dword [esp + 0x64], 0x403054
mov dword [esp + 0x44], 0x40a110
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [esp + 0x50], eax
mov eax, dword [0x411ad8]
push 0x69
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x50], eax
call dword [sym.imp.USER32.dll_RegisterClassA]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x10
call edi
sub eax, 0x1f4
cdq
sub eax, edx
mov esi, eax
push 0x11
sar esi, 1
call edi
push 0
sub eax, 0x190
cdq
sub eax, edx
mov edx, dword [0x411ad8]
push edx
push 0
push 0
push 0x190
push 0x1f4
sar eax, 1
push eax
push esi
mov esi, dword [sym.imp.USER32.dll_CreateWindowExA]
push 0xcf0000
push 0x403038
push 0x403054
push 0
call esi
test eax, eax
mov dword [0x411acc], eax
je 0x40a461
mov eax, dword [0x411ad8]
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadMenuA]
test eax, eax
mov dword [0x411ae0], eax
je 0x40a461
mov ecx, dword [0x411acc]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetMenu]
test eax, eax
je 0x40a461
mov eax, dword [0x411acc]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [0x411ad8]
mov edx, dword [0x411acc]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
push 0
push ecx
mov ecx, dword [esp + 0x1c]
push 0
push edx
sub eax, ebp
push eax
sub ecx, edi
push ecx
push 0
push 0
push 0x50800037
push 0x403024
push 0x403014
push 0x20000
call esi
test eax, eax
mov dword [0x411ac8], eax
je 0x40a461
mov edx, dword [0x411acc]
push 0x1000
push edx
push 0
push 0x50000010
call dword [sym.imp.COMCTL32.dll_CreateStatusWindowA]
test eax, eax
mov dword [0x411ad4], eax
je 0x40a461
call fcn.00404e80
push eax
push 0
mov dword [0x411ad0], eax
mov eax, dword [0x411ac8]
push 0x1109
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x68]
mov edx, dword [0x411acc]
push ecx
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x411acc]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
call fcn.00407b10
mov ecx, dword [0x411acc]
add esp, 4
push 1
push ecx
call dword [sym.imp.SHELL32.dll_DragAcceptFiles]
mov eax, dword [0x411d9c]
test eax, eax
je 0x40a3cf
push eax
call fcn.00409ae0
add esp, 4
mov edx, dword [0x411ad8]
push 0x65
push edx
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push 0
push 0
mov dword [0x411adc], eax
push 0
lea eax, [esp + 0x28]
push eax
call esi
test eax, eax
je 0x40a448
mov ebp, dword [sym.imp.USER32.dll_TranslateAcceleratorA]
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
lea ecx, [ecx]
mov edx, dword [0x411adc]
mov eax, dword [0x411acc]
lea ecx, [esp + 0x20]
push ecx
push edx
push eax
call ebp
test eax, eax
jne 0x40a436
lea ecx, [esp + 0x20]
push ecx
call edi
lea edx, [esp + 0x20]
push edx
call ebx
push 0
push 0
push 0
lea eax, [esp + 0x2c]
push eax
call esi
test eax, eax
jne 0x40a410
pop ebx
mov ecx, dword [0x411adc]
push ecx
call dword [sym.imp.USER32.dll_DestroyAcceleratorTable]
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x54
ret
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x54
ret