Function at 0x474bb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x70
push ebx
push ebp
push esi
mov esi, eax
lea ecx, [esi + 0x690]
mov dword [edi + 0x490], esi
mov dword [edi + 0x494], 0
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov dword [edi + 0x498], eax
mov eax, dword [edi + 0x490]
mov byte [edi + 0x49c], 0
mov ecx, dword [eax + 0x734]
mov edx, dword [eax + 0x738]
mov eax, dword [esi]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov edx, dword [eax + 0x40]
mov ecx, esi
call edx
mov ebp, dword [eax]
mov ebx, 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], ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], edx
jle 0x474c4b
mov ecx, dword [esp + 0x18]
add ecx, ebp
mov dword [esp + 0x38], ecx
sub edx, eax
sub ecx, ebp
xor eax, eax
lea ebp, [esi + 0x658]
mov dword [esp + 0x24], edx
mov edx, dword [ebp]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x10]
mov ecx, ebp
call eax
test eax, eax
jle 0x474cd3
mov edx, dword [ebp]
mov eax, dword [esp + 0x14]
mov edx, dword [edx]
push eax
mov ecx, ebp
call edx
mov ebx, eax
mov eax, dword [ebx]
mov edx, dword [eax + 0xdc]
mov ecx, ebx
call edx
test al, al
je 0x474cb8
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov eax, dword [ebx]
push ecx
push edx
mov edx, dword [eax + 0x134]
lea ecx, [esp + 0x30]
push ecx
mov ecx, ebx
call edx
mov eax, dword [esp + 0x2c]
add dword [esp + 0x10], eax
mov ebx, dword [esp + 0x14]
mov edx, dword [ebp]
mov eax, dword [edx + 0x10]
inc ebx
mov ecx, ebp
mov dword [esp + 0x14], ebx
call eax
cmp ebx, eax
jl 0x474c75
mov ebx, 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 0x474ce8
mov eax, ecx
mov ecx, dword [esp + 0x34]
mov edx, dword [esi]
add eax, ecx
mov dword [esp + 0x3c], eax
mov eax, dword [edx + 0x24]
mov ecx, esi
call eax
mov edx, dword [eax + 0x84]
mov ebp, dword [sym.imp.USER32.dll_MapWindowPoints]
push 2
lea ecx, [esp + 0x34]
push ecx
push 0
push edx
call ebp
xor eax, eax
lea ecx, [esp + 0x50]
push ecx
mov dword [esp + 0x54], 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 eax, dword [edi + 4]
push 1
push eax
mov dword [esp + 0x5c], 0x28
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
mov edx, dword [esp + 0x3c]
cmp edx, dword [esp + 0x70]
jle 0x474dba
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 0x474d85
add ecx, eax
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
jl 0x474d93
mov eax, ecx
mov edx, dword [esi]
mov ecx, ebx
sub ecx, eax
mov eax, dword [edx + 0x24]
mov dword [esp + 0x34], ecx
mov ecx, esi
mov dword [esp + 0x3c], ebx
call eax
mov edx, dword [eax + 0x84]
push 2
lea ecx, [esp + 0x34]
push ecx
push 0
push edx
call ebp
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
mov ecx, esi
call edx
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
mov eax, dword [eax + 0x84]
sub edx, ecx
push edx
mov edx, dword [esp + 0x34]
sub esi, edx
push esi
push ecx
push edx
push 0x80
push connect
push 0
push eax
mov eax, edi
call fcn.0043a870
mov esi, dword [edi + 4]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
push esi
call ebx
test eax, eax
je 0x474e11
push esi
call ebx
mov esi, eax
push esi
call ebx
test eax, eax
jne 0x474e05
mov ecx, dword [edi + 4]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
pop ebx
add esp, 0x70
ret