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

Disassembly:
sub esp, 0x78
push ebx
push ebp
mov ebx, ecx
push esi
mov esi, dword [esp + 0x88]
mov dword [ebx + 0x298], esi
mov dword [ebx + 0x29c], 0
mov eax, dword [esi + 0x620]
mov ecx, dword [esi + 0x624]
mov edx, dword [esi]
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x34]
mov dword [esp + 0x18], ecx
push edi
mov ecx, esi
call eax
mov edi, dword [eax]
mov ebp, dword [eax + 4]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov edx, dword [esp + 0x1c]
add edx, eax
cmp dword [esp + 0x18], 0
mov dword [esp + 0x34], ebp
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ecx
mov dword [esp + 0x30], edi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], edx
jle 0x5d7fe3
mov ecx, dword [esp + 0x18]
add ecx, edi
mov dword [esp + 0x38], ecx
sub edx, eax
sub ecx, edi
xor eax, eax
lea edi, [esi + 0x548]
mov dword [esp + 0x24], edx
mov edx, dword [edi]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
test eax, eax
jle 0x5d806e
lea esp, [esp]
mov edx, dword [edi]
mov eax, dword [esp + 0x14]
mov edx, dword [edx]
push eax
mov ecx, edi
call edx
mov ebp, eax
mov eax, dword [ebp]
mov edx, dword [eax + 0x100]
mov ecx, ebp
call edx
test al, al
je 0x5d8054
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov eax, dword [ebp]
push ecx
push edx
mov edx, dword [eax + 0x154]
lea ecx, [esp + 0x30]
push ecx
mov ecx, ebp
call edx
mov eax, dword [esp + 0x2c]
add dword [esp + 0x10], eax
mov ebp, dword [esp + 0x14]
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
inc ebp
mov ecx, edi
mov dword [esp + 0x14], ebp
call eax
cmp ebp, eax
jl 0x5d8010
mov ebp, dword [esp + 0x44]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
add eax, 4
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x5d8083
mov eax, ecx
mov ecx, dword [esp + 0x34]
add eax, ecx
push 2
lea edx, [esp + 0x34]
mov dword [esp + 0x40], eax
mov eax, dword [esi]
push edx
mov edx, dword [eax + 0x20]
push 0
mov ecx, esi
call edx
mov ecx, eax
call fcn.005967d0
mov edi, dword [sym.imp.USER32.dll_MapWindowPoints]
push eax
call edi
xor eax, 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
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
lea eax, [esp + 0x60]
push eax
push 1
mov ecx, ebx
mov dword [esp + 0x68], 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 + 0x74]
push ecx
lea ecx, [esp + 0x54]
call fcn.0059c680
mov edx, dword [esp + 0x3c]
cmp edx, dword [esp + 0x5c]
jle 0x5d816f
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x30], ecx
test eax, eax
jle 0x5d8139
add ecx, eax
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
jl 0x5d8147
mov eax, ecx
push 2
mov ecx, ebp
sub ecx, eax
mov eax, dword [esi]
lea edx, [esp + 0x34]
push edx
mov edx, dword [eax + 0x20]
mov dword [esp + 0x3c], ecx
push 0
mov ecx, esi
mov dword [esp + 0x48], ebp
call edx
mov ecx, eax
call fcn.005967d0
push eax
call edi
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
push 0
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x50]
mov dword [eax + 8], ecx
push 0x80
mov dword [eax + 0xc], edx
mov eax, dword [esi]
mov edx, dword [eax + 0x20]
push SysReAllocString
push 0
mov ecx, esi
call edx
mov ecx, eax
call fcn.005967d0
push eax
mov ecx, ebx
call fcn.005a4a10
mov esi, dword [ebx + 4]
mov edi, dword [sym.imp.USER32.dll_GetParent]
push esi
call edi
test eax, eax
je 0x5d81d1
push esi
call edi
mov esi, eax
push esi
call edi
test eax, eax
jne 0x5d81c5
mov eax, dword [ebx + 4]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret 4