Function at 0x474a86
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x629214]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
and dword [esi + 0x36c], 0
lea ecx, [ebx + 0x4d0]
mov dword [esi + 0x368], ebx
mov eax, dword [ecx]
push edi
mov dword [ebp - 0x60], esi
call dword [eax + 4]
mov ecx, dword [esi + 0x368]
mov dword [esi + 0x370], eax
lea eax, [ebp - 0x58]
push eax
call fcn.00473e59
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x30]
mov esi, eax
lea edi, [ebp - 0x78]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x58]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 0x6c]
lea esi, [ebp - 0x78]
lea edi, [ebp - 0x14]
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 [ebp - 0x14]
add eax, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], eax
test ecx, ecx
jle 0x474b0a
add ecx, esi
mov dword [ebp - 0xc], ecx
jmp 0x474b0d
mov ecx, dword [ebp - 0xc]
sub ecx, esi
sub eax, edx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], eax
mov eax, dword [ebx + 0x4a0]
xor esi, esi
and dword [ebp - 0x50], esi
lea ecx, [ebx + 0x4a0]
call dword [eax + 0xc]
test eax, eax
jle 0x474b80
push dword [ebp - 0x50]
mov eax, dword [ebx + 0x4a0]
lea ecx, [ebx + 0x4a0]
call dword [eax]
mov edx, dword [eax]
mov ecx, eax
mov dword [ebp - 0x5c], eax
call dword [edx + 0xc8]
test al, al
je 0x474b69
push dword [ebp - 0x64]
mov ecx, dword [ebp - 0x5c]
push dword [ebp - 0x68]
mov eax, dword [ecx]
lea edx, [ebp - 0x80]
push edx
call dword [eax + 0x114]
add esi, dword [ebp - 0x7c]
mov eax, dword [ebx + 0x4a0]
inc dword [ebp - 0x50]
lea ecx, [ebx + 0x4a0]
call dword [eax + 0xc]
cmp dword [ebp - 0x50], eax
jl 0x474b2f
add esi, 4
mov dword [ebp - 0x5c], esi
cmp esi, dword [ebp - 0x54]
jl 0x474b8e
mov esi, dword [ebp - 0x54]
add esi, dword [ebp - 0x10]
push 2
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebx]
push 0
mov ecx, ebx
mov dword [ebp - 8], esi
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00438784
mov esi, dword [sym.imp.USER32.dll_MapWindowPoints]
push eax
call esi
push 0xa
pop ecx
xor eax, eax
lea edi, [ebp - 0x4c]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x60]
lea eax, [ebp - 0x4c]
push eax
push 1
mov dword [ebp - 0x4c], 0x28
call fcn.00477e44
push eax
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x24]
call fcn.0043d0f6
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x18]
jle 0x474c3d
mov ecx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x14], eax
test ecx, ecx
jle 0x474c0c
add eax, ecx
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x5c]
cmp ecx, dword [ebp - 0x54]
jl 0x474c17
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x74]
mov edx, eax
mov dword [ebp - 8], eax
push 2
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebx]
sub edx, ecx
push 0
mov ecx, ebx
mov dword [ebp - 0x10], edx
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00438784
push eax
call esi
mov eax, dword [ebx]
push 0
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x80
movsd dword es:[edi], dword [esi]
push closesocket
push 0
mov ecx, ebx
movsd dword es:[edi], dword [esi]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00438784
mov edi, dword [ebp - 0x60]
push eax
mov ecx, edi
call fcn.00438304
mov ebx, dword [edi + 4]
mov esi, dword [sym.imp.USER32.dll_GetParent]
jmp 0x474c80
push ebx
call esi
mov ebx, eax
push ebx
call esi
test eax, eax
jne 0x474c7b
push 5
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00478c25
leave
ret 4