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

Disassembly:
sub esp, 0x70
push ebx
push ebp
push esi
mov esi, eax
lea ecx, [esi + 0x418]
mov byte [edi + 0x574], 0
mov dword [edi + 0x568], esi
mov dword [edi + 0x56c], 0
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov dword [edi + 0x570], eax
mov eax, dword [edi + 0x568]
mov edx, dword [eax + 0x498]
mov ecx, dword [eax + 0x494]
mov ebx, dword [eax + 0x4a0]
mov dword [esp + 0x1c], edx
mov edx, dword [eax + 0x4a4]
mov dword [esp + 0x18], ecx
mov ecx, dword [eax + 0x49c]
mov eax, dword [eax + 0x4a8]
mov dword [esp + 0x48], edx
mov edx, dword [esi]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x4c], eax
mov eax, dword [edx + 0x58]
mov ecx, esi
call eax
mov edx, dword [eax + 4]
mov ebp, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x34], edx
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x1c]
add edx, eax
cmp dword [esp + 0x18], 0
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ebp
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 0x47632f
mov ecx, dword [esp + 0x18]
add ecx, ebp
mov dword [esp + 0x38], ecx
sub ecx, ebp
sub edx, eax
lea ebp, [esi + 0x350]
mov dword [esp + 0x24], edx
mov edx, dword [ebp]
mov eax, dword [edx + 0xc]
mov dword [esp + 0x20], ecx
mov ecx, ebp
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], 0
call eax
test eax, eax
jle 0x4763b9
mov edx, dword [ebp]
mov eax, dword [esp + 0x10]
mov edx, dword [edx]
push eax
mov ecx, ebp
call edx
mov ebx, eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x100]
mov ecx, ebx
call edx
test al, al
je 0x47639e
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov eax, dword [ebx]
push ecx
push edx
mov edx, dword [eax + 0x14c]
lea ecx, [esp + 0x30]
push ecx
mov ecx, ebx
call edx
mov eax, dword [esp + 0x2c]
add dword [esp + 0x14], eax
mov ebx, dword [esp + 0x10]
mov edx, dword [ebp]
mov eax, dword [edx + 0xc]
inc ebx
mov ecx, ebp
mov dword [esp + 0x10], ebx
call eax
cmp ebx, eax
jl 0x47635b
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
add ebx, 4
cmp ebx, eax
jge 0x4763c6
mov eax, ebx
mov ecx, dword [esp + 0x34]
mov edx, dword [esi]
add eax, ecx
mov dword [esp + 0x3c], eax
mov eax, dword [edx + 0x1c]
mov ecx, esi
call eax
mov edx, dword [eax + 0x74]
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_GetMonitorInfoA]
mov edx, dword [esp + 0x3c]
cmp edx, dword [esp + 0x70]
jle 0x476492
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 0x476460
add ecx, eax
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x1c]
cmp ebx, ecx
jge 0x47646a
mov ecx, ebx
mov eax, dword [esp + 0x44]
mov edx, eax
sub edx, ecx
mov dword [esp + 0x3c], eax
mov eax, dword [esi]
mov dword [esp + 0x34], edx
mov edx, dword [eax + 0x1c]
mov ecx, esi
call edx
mov edx, dword [eax + 0x74]
push 2
lea ecx, [esp + 0x34]
push ecx
push 0
push edx
call ebp
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
mov ecx, esi
call edx
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
mov eax, dword [eax + 0x74]
sub edx, ecx
push edx
mov edx, dword [esp + 0x34]
sub esi, edx
push esi
push ecx
push edx
push 0x80
push closesocket
push 0
push eax
mov eax, edi
call fcn.00433850
mov esi, dword [edi + 4]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
push esi
call ebx
test eax, eax
je 0x4764ec
lea ebx, [ebx]
push esi
call ebx
mov esi, eax
push esi
call ebx
test eax, eax
jne 0x4764e0
mov ecx, dword [edi + 4]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
pop esi
pop ebp
pop ebx
add esp, 0x70
ret