Function at 0x479cce
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x58
mov eax, dword [0x578134]
xor eax, esp
mov dword [esp + 0x54], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x20], edi
lea ecx, [esi + 0x698]
and dword [edi + 0x744], 0
mov byte [edi + 0x74c], 0
mov dword [edi + 0x740], esi
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [edi + 0x748], eax
mov eax, dword [edi + 0x740]
mov ecx, dword [eax + 0x74c]
mov edi, dword [eax + 0x750]
mov eax, dword [esi]
mov dword [esp + 0xc], ecx
mov ecx, esi
mov dword [esp + 0x18], edi
call dword [eax + 0x1c]
test eax, eax
je 0x479d67
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00442e71
push edi
push dword [esp + 0x10]
lea ecx, [esp + 0x54]
push ecx
mov ecx, eax
call fcn.0043e95c
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x18], eax
mov esi, dword [esp + 0x20]
lea edi, [esp + 0x4c]
mov ecx, dword [esp + 0x10]
mov esi, dword [esi + 0x740]
mov eax, dword [ecx]
add esi, 0x754
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x50]
mov esi, eax
mov ecx, dword [esp + 0x18]
lea edi, [esp + 0x28]
mov eax, dword [esp + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x28]
lea edi, [esp + 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x34]
add ecx, esi
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x40], esi
test eax, eax
jle 0x479dc0
add eax, edx
mov dword [esp + 0x44], eax
jmp 0x479dc4
mov eax, dword [esp + 0x44]
and dword [esp + 8], 0
sub ecx, esi
mov esi, dword [esp + 0x10]
sub eax, edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x14], eax
lea edi, [esi + 0x550]
mov dword [esp + 0x24], ecx
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xc]
test eax, eax
jle 0x479e4e
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 8]
mov eax, dword [edi]
push ecx
mov ecx, edi
mov eax, dword [eax]
call eax
mov ecx, eax
mov dword [esp + 0x1c], eax
mov edx, dword [eax]
call dword [edx + 0xf4]
test al, al
je 0x479e37
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x4c]
push dword [esp + 0x24]
push esi
mov edx, dword [ecx]
push eax
call dword [edx + 0x140]
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x50]
mov dword [esp + 0x14], eax
mov eax, dword [edi]
mov ecx, edi
inc dword [esp + 8]
call dword [eax + 0xc]
mov ecx, dword [esp + 8]
cmp ecx, eax
jl 0x479dfa
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, esi
mov edi, dword [esp + 0x18]
add eax, 4
cmp eax, edi
push 2
cmovl edi, eax
mov eax, dword [esp + 0x44]
add eax, edi
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x40]
push eax
mov eax, dword [esi]
push 0
call dword [eax + 0x1c]
push dword [eax + 0xa8]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x3c], ecx
test eax, eax
jle 0x479ea2
add eax, ecx
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x2c]
mov eax, ecx
sub eax, edi
mov dword [esp + 0x48], ecx
mov dword [esp + 0x40], eax
mov ecx, esi
push 2
lea eax, [esp + 0x40]
push eax
mov eax, dword [esi]
push 0
call dword [eax + 0x1c]
push dword [eax + 0xa8]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, dword [esp + 0x10]
lea esi, [esp + 0x3c]
lea edi, [esp + 0x28]
movsd dword es:[edi], dword [esi]
mov eax, dword [ecx]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x1c]
sub esp, 0x10
lea esi, [esp + 0x38]
mov edi, esp
mov eax, dword [eax + 0xa8]
push ecx
movsd dword es:[edi], dword [esi]
push 0x80
push closesocket
push ecx
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x44]
mov ecx, edi
call fcn.0044f4ab
mov esi, dword [edi + 4]
jmp 0x479f1c
push esi
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
jne 0x479f13
push 5
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
xor ecx, esp
call fcn.004eacf5
mov esp, ebp
pop ebp
ret 4