Function at 0x59d289
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x68d70b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x194
push ebx
push ebp
push esi
mov dword [esp + 0x1c], ecx
push edi
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 0x74]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x74]
mov esi, 0x30
push eax
push 0x7c8494
mov dword [esp + 0x7c], esi
call fcn.005f6997
push eax
call dword [sym.imp.USER32.dll_GetClassInfoExA]
test eax, eax
jne 0x59d371
mov ecx, 0xc
lea edi, [esp + 0x38]
rep stosd dword es:[edi], eax
xor edi, edi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], 3
mov dword [esp + 0x40], 0x4017d0
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
call fcn.005f6997
mov dword [esp + 0x4c], eax
call fcn.005f6a78
and eax, 0xffff
push eax
call fcn.005f6997
mov esi, dword [sym.imp.USER32.dll_LoadIconA]
push eax
call esi
push 0x7f00
push edi
mov dword [esp + 0x58], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], 0x7c8494
call fcn.005f6a78
and eax, 0xffff
push eax
call fcn.005f6997
push eax
call esi
lea ecx, [esp + 0x38]
mov dword [esp + 0x64], eax
push ecx
call dword [sym.imp.USER32.dll_RegisterClassExA]
mov eax, dword [esp + 0x1b8]
push 0
push 0xcf0000
mov edi, dword [eax + 4]
mov esi, dword [eax]
mov ebx, dword [eax + 8]
mov ebp, dword [eax + 0xc]
mov edx, edi
mov ecx, esi
sub edx, edi
sub ecx, esi
mov dword [esp + 0x1c], edx
lea edx, [esp + 0x18]
sub ebx, esi
sub ebp, edi
push edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebp
call dword [sym.imp.USER32.dll_AdjustWindowRect]
lea eax, [esp + 0x68]
push eax
call fcn.005f6a85
mov ecx, dword [esp + 0x74]
add esp, 4
lea edx, [esp + 0xa4]
push ecx
push ebp
push ebx
push 0x7c84b4
push edx
call fcn.00674915
add esp, 0x14
call fcn.005f6a7f
push eax
lea ecx, [esp + 0x28]
call fcn.005fbd93
mov eax, dword [esp + 0x24]
push 0x7c84a0
lea ecx, [esp + 0x28]
mov dword [esp + 0x1b0], 0
call dword [eax + 0x20]
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0xa4]
push ecx
lea ecx, [esp + 0x28]
call dword [edx + 0x20]
mov ebx, dword [esp + 0x2c]
push 0
call fcn.005f6997
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x24]
push 0
sub eax, edx
push 0
sub ecx, ebp
push eax
push ecx
push edi
push esi
push 0xcf0000
push ebx
push 0x7c8494
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
test esi, esi
jne 0x59d467
mov esi, dword [esp + 0x1b4]
mov dword [esi], 0xffffffff
jmp 0x59d4be
push 0
push esi
call dword [sym.imp.USER32.dll_GetSystemMenu]
mov ebx, dword [sym.imp.USER32.dll_EnableMenuItem]
mov edi, eax
push 0x402
push 3
push edi
call ebx
push 0x402
push 5
push edi
call ebx
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
push esi
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esp + 0x20]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x1b4]
mov dword [eax + 0x5c], 1
mov dword [esi], 0
lea ecx, [esp + 0x24]
mov dword [esp + 0x1ac], 0xffffffff
call fcn.005fbe5e
mov ecx, dword [esp + 0x1a4]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1a0
ret 8