Function at 0x478a30
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [0x4f4214]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
mov edi, edx
mov esi, ecx
lea ecx, [edi + 0x4d0]
mov dword [esi + 0x254], edi
mov dword [esi + 0x258], 0
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov dword [esi + 0x25c], eax
mov eax, dword [esi + 0x254]
mov ebx, dword [eax + 0x578]
mov eax, dword [eax + 0x57c]
mov edx, dword [edi]
mov dword [esp + 0x20], eax
mov eax, dword [edx + 0x30]
mov ecx, edi
mov dword [esp + 0x1c], ebx
call eax
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [esp + 0x28], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x24], edx
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x20]
add edx, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x50], edx
test ebx, ebx
jle 0x478ad8
mov ecx, dword [esp + 0x44]
add ecx, ebx
mov dword [esp + 0x4c], ecx
sub ecx, dword [esp + 0x44]
sub edx, eax
xor eax, eax
mov dword [esp + 0x38], edx
mov edx, dword [edi + 0x4a0]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0xc]
lea ecx, [edi + 0x4a0]
call eax
test eax, eax
jle 0x478b79
jmp 0x478b10
mov edx, dword [edi + 0x4a0]
mov eax, dword [esp + 0x14]
mov edx, dword [edx]
push eax
lea ecx, [edi + 0x4a0]
call edx
mov edx, dword [eax]
mov dword [esp + 0x18], eax
mov ecx, eax
mov eax, dword [edx + 0xc8]
call eax
test al, al
je 0x478b5e
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov edx, dword [edx + 0x114]
push eax
mov eax, dword [esp + 0x38]
push eax
lea eax, [esp + 0x44]
push eax
call edx
mov eax, dword [esp + 0x40]
add dword [esp + 0x10], eax
mov edx, dword [edi + 0x4a0]
mov eax, dword [edx + 0xc]
inc dword [esp + 0x14]
lea ecx, [edi + 0x4a0]
call eax
cmp dword [esp + 0x14], eax
jl 0x478b10
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, 4
mov dword [esp + 0x10], eax
cmp eax, ecx
jl 0x478b8e
mov eax, ecx
add eax, dword [esp + 0x48]
mov edx, dword [edi]
mov dword [esp + 0x50], eax
mov eax, dword [edx + 0x1c]
mov ecx, edi
call eax
mov edx, dword [eax]
mov ebx, dword [sym.imp.USER32.dll_MapWindowPoints]
push 2
lea ecx, [esp + 0x48]
push ecx
push 0
push edx
call ebx
xor eax, eax
lea ecx, [esp + 0x54]
push ecx
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
mov eax, dword [esi + 4]
push 1
push eax
mov dword [esp + 0x60], 0x28
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
mov edx, dword [esp + 0x50]
cmp edx, dword [esp + 0x74]
jle 0x478c5a
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x44], ecx
test eax, eax
jle 0x478c25
add ecx, eax
mov dword [esp + 0x4c], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
cmp eax, ecx
jge 0x478c33
mov ecx, eax
mov eax, dword [esp + 0x28]
mov edx, eax
sub edx, ecx
mov dword [esp + 0x50], eax
mov eax, dword [edi]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 0x1c]
mov ecx, edi
call edx
mov edx, dword [eax]
push 2
lea ecx, [esp + 0x48]
push ecx
push 0
push edx
call ebx
mov eax, dword [edi]
mov edx, dword [eax + 0x1c]
mov ecx, edi
call edx
mov eax, dword [eax]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x18], eax
mov eax, dword [esi]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov edx, dword [eax + 4]
mov ecx, esi
call edx
test eax, eax
je 0x478c97
call fcn.00446370
test al, al
je 0x478ce9
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
test eax, eax
jne 0x478cad
call fcn.004462d0
test al, al
je 0x478ce9
mov eax, dword [0x4f9aa8]
mov ecx, dword [esp + 0x18]
mov edx, dword [esi]
push esi
push eax
mov eax, dword [esp + 0x2c]
push 0
push ecx
mov ecx, dword [esp + 0x38]
sub ebx, ecx
push ebx
sub edi, eax
push edi
push ecx
push eax
mov eax, dword [edx]
push closesocket
push 0
mov ecx, esi
call eax
push eax
push 0x80
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi + 4], eax
mov edi, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
push edi
call ebx
test eax, eax
je 0x478d0c
lea esp, [esp]
push edi
call ebx
mov edi, eax
push edi
call ebx
test eax, eax
jne 0x478d00
mov ecx, dword [esi + 4]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0049c72a
mov esp, ebp
pop ebp
ret