Function at 0x405a80
Capabilities:
Hide graphical window
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [0x4cb068]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
push edi
mov edi, dword [ebp + 8]
push 0x64
push 0x571258
push 0xb8
push edi
call esi
push 0x64
push 0x571190
push 0x6c
push edi
call esi
mov esi, dword [sym.imp.USER32.dll_LoadIconW]
push 0x6a
push edi
mov dword [esp + 0x18], 0x30
mov dword [esp + 0x1c], 3
mov dword [esp + 0x20], 0x405eb0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], edi
call esi
push 0x7f89
push 0
mov dword [esp + 0x30], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push 0x6b
push dword [esp + 0x28]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], 6
mov dword [esp + 0x3c], 0x6c
mov dword [esp + 0x40], 0x571190
call esi
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0x40e820
lea ecx, [esp + 0x68]
call fcn.004122e0
mov eax, dword [esp + 0x68]
test eax, eax
jne 0x405b5a
push 1
call fcn.00414500
mov eax, dword [esp + 0x6c]
add esp, 4
push eax
push dword [esp + 0x68]
call fcn.00414620
add esp, 8
test eax, eax
je 0x405b74
push eax
call fcn.004144a0
add esp, 4
push 0x40f190
lea ecx, [esp + 0x60]
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
call fcn.004122e0
mov eax, dword [esp + 0x60]
test eax, eax
jne 0x405ba8
push 1
call fcn.00414500
mov eax, dword [esp + 0x64]
add esp, 4
push eax
push dword [esp + 0x60]
call fcn.00414620
add esp, 8
test eax, eax
je 0x405bc2
push eax
call fcn.004144a0
add esp, 4
mov esi, dword [sym.imp.GDI32.dll_CreatePen]
push 0xff0000
push 2
push 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
call esi
push 0x312d8c
push 2
push 0
call esi
push 0xa15984
push 2
push 0
mov dword [0x4ceda0], eax
call esi
push 0xb08a4a
push 2
push 0
mov dword [0x4ced9c], eax
call esi
push 0xecb272
push 2
push 0
mov dword [0x4ced98], eax
call esi
push 0x4a9180
push 2
push 0
mov dword [0x4ced94], eax
call esi
push 0x86b9a8
push 2
push 0
mov dword [0x4ced90], eax
call esi
push 0x679bd0
push 2
push 0
mov dword [0x4ced8c], eax
call esi
push 0x6dc3f8
push 2
push 0
mov dword [0x4ced88], eax
call esi
push 0xa0f0
push 2
push 0
mov dword [0x4ced84], eax
call esi
push 0x800080
push 2
push 0
call esi
push 0x8c321e
push 2
push 0
mov dword [0x4ced80], eax
call esi
push 0xa0f0
push 2
push 0
mov dword [0x4ced7c], eax
call esi
push 0x571160
push dword [0x57115c]
mov dword [0x4ced78], eax
call dword [sym.imp.WINMM.dll_waveOutGetVolume]
push 0
push edi
push 0
push 0
push 0x279
push 0x556
push 0x32
push 0
push 0xcf0000
push 0x571258
mov dword [0x571320], edi
push 0x571190
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x4cec00], eax
test eax, eax
je 0x405d70
push dword [ebp + 0x14]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x4cec00]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x6c
push edi
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
mov dword [esp + 0x14], eax
lea eax, [esp + 0x48]
push 0
push eax
call esi
test eax, eax
je 0x405d6a
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x10]
push dword [esp + 0x48]
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x405d59
lea eax, [esp + 0x40]
push eax
call edi
lea eax, [esp + 0x40]
push eax
call ebx
push 0
push 0
push 0
lea eax, [esp + 0x4c]
push eax
call esi
test eax, eax
jne 0x405d34
mov eax, dword [esp + 0x48]
jmp 0x405d72
xor eax, eax
cmp dword [esp + 0x60], 0
jne 0x405d94
cmp dword [esp + 0x68], 0
jne 0x405d94
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00417280
mov esp, ebp
pop ebp
ret 0x10
call fcn.00455a50
int3