Function at 0x5f4040
Capabilities:
Hide graphical window
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x88
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x9c]
mov esi, ecx
lea ecx, [edi + 0x580]
mov dword [esi + 0x298], edi
mov dword [esi + 0x29c], 0
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov dword [esi + 0x2a0], eax
mov eax, dword [esi + 0x298]
mov ecx, dword [eax + 0x620]
mov edx, dword [eax + 0x624]
mov eax, dword [edi]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov edx, dword [eax + 0x34]
mov ecx, edi
call edx
mov ebx, dword [eax]
mov ebp, dword [eax + 4]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov edx, dword [esp + 0x28]
add edx, eax
cmp dword [esp + 0x24], 0
mov dword [esp + 0x18], ebp
mov dword [esp + 0x20], eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], edx
jle 0x5f40df
mov ecx, dword [esp + 0x24]
add ecx, ebx
mov dword [esp + 0x1c], ecx
sub edx, eax
sub ecx, ebx
xor eax, eax
lea ebx, [edi + 0x548]
mov dword [esp + 0x44], edx
mov edx, dword [ebx]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], eax
mov eax, dword [edx + 0xc]
mov ecx, ebx
call eax
test eax, eax
jle 0x5f416c
mov edx, dword [ebx]
mov eax, dword [esp + 0x2c]
mov edx, dword [edx]
push eax
mov ecx, ebx
call edx
mov ebp, eax
mov eax, dword [ebp]
mov edx, dword [eax + 0x100]
mov ecx, ebp
call edx
test al, al
je 0x5f4152
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov eax, dword [ebp]
push ecx
push edx
mov edx, dword [eax + 0x154]
lea ecx, [esp + 0x88]
push ecx
mov ecx, ebp
call edx
mov eax, dword [esp + 0x84]
add dword [esp + 0x10], eax
mov ebp, dword [esp + 0x2c]
mov edx, dword [ebx]
mov eax, dword [edx + 0xc]
inc ebp
mov ecx, ebx
mov dword [esp + 0x2c], ebp
call eax
cmp ebp, eax
jl 0x5f4108
mov ebp, dword [esp + 0x4c]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
add eax, 4
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x5f4181
mov eax, ecx
mov ecx, dword [esp + 0x18]
add eax, ecx
push 2
lea edx, [esp + 0x18]
mov dword [esp + 0x24], eax
mov eax, dword [edi]
push edx
mov edx, dword [eax + 0x20]
push 0
mov ecx, edi
call edx
mov ecx, eax
call fcn.005967d0
mov ebx, dword [sym.imp.USER32.dll_MapWindowPoints]
push eax
call ebx
xor eax, eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x58]
push eax
push 1
mov ecx, esi
mov dword [esp + 0x60], 0x28
call fcn.005a3f90
push eax
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x8c]
call fcn.0059c680
mov edx, dword [esp + 0x20]
cmp edx, dword [esp + 0x94]
jle 0x5f426d
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], ecx
test eax, eax
jle 0x5f4237
add ecx, eax
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
cmp eax, ecx
jl 0x5f4245
mov eax, ecx
push 2
mov ecx, ebp
sub ecx, eax
mov eax, dword [edi]
lea edx, [esp + 0x18]
push edx
mov edx, dword [eax + 0x20]
mov dword [esp + 0x20], ecx
push 0
mov ecx, edi
mov dword [esp + 0x2c], ebp
call edx
mov ecx, eax
call fcn.005967d0
push eax
call ebx
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push 0
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x34]
mov dword [eax + 8], ecx
push 0x80
mov dword [eax + 0xc], edx
mov eax, dword [edi]
mov edx, dword [eax + 0x20]
push SysReAllocString
push 0
mov ecx, edi
call edx
mov ecx, eax
call fcn.005967d0
push eax
mov ecx, esi
call fcn.005a4a10
mov edi, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
push edi
call ebx
test eax, eax
je 0x5f42cf
push edi
call ebx
mov edi, eax
push edi
call ebx
test eax, eax
jne 0x5f42c3
mov eax, dword [esi + 4]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esi + 4]
lea ecx, [esp + 0x30]
xor eax, eax
push ecx
push edx
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [esp + 0x30]
mov ecx, dword [esi + 0x29c]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [esp + 0x44]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x48]
mov dword [eax + 8], edi
mov edi, dword [esp + 0x4c]
mov dword [eax + 0xc], edi
mov eax, dword [edx + 0x38]
call eax
mov ecx, dword [esi + 0x2a0]
push ecx
mov ecx, esi
call fcn.005f39c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret 4