Function at 0x496e20
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x5655c8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
lea ecx, [edi + 0x698]
mov dword [ebp - 0x64], ebx
mov byte [ebx + 0x6c0], 0
mov dword [ebx + 0x6b4], edi
mov dword [ebx + 0x6b8], 0
mov eax, dword [ecx]
mov dword [ebp - 0x60], edi
call dword [eax + 8]
mov dword [ebx + 0x6bc], eax
mov ecx, edi
mov eax, dword [ebx + 0x6b4]
mov ebx, dword [eax + 0x74c]
mov eax, dword [eax + 0x750]
mov dword [ebp - 0x50], eax
mov eax, dword [edi]
mov dword [ebp - 0x68], ebx
call dword [eax + 0x50]
mov ecx, dword [ebp - 0x50]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x14], xmm0
mov edx, dword [ebp - 0x14]
movups xmmword [ebp - 0x80], xmm0
psrldq xmm0, 0xc
movd esi, xmm0
add ecx, esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 8], ecx
test ebx, ebx
jle 0x496eb6
lea eax, [edx + ebx]
mov dword [ebp - 0xc], eax
jmp 0x496eb9
mov eax, dword [ebp - 0xc]
add edi, 0x550
sub eax, edx
sub ecx, esi
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], ecx
xor esi, esi
mov ecx, edi
mov dword [ebp - 0x54], esi
mov eax, dword [edi]
xor ebx, ebx
call dword [eax + 0xc]
test eax, eax
jle 0x496f27
nop dword [eax + eax]
mov eax, dword [edi]
mov ecx, edi
push ebx
call dword [eax]
mov esi, eax
mov ecx, esi
mov edx, dword [esi]
mov edx, dword [edx + 0xf4]
call edx
test al, al
je 0x496f18
push dword [ebp - 0x58]
mov edx, dword [esi]
lea eax, [ebp - 0x70]
push dword [ebp - 0x5c]
mov ecx, esi
push eax
call dword [edx + 0x140]
mov esi, dword [ebp - 0x54]
add esi, dword [ebp - 0x6c]
mov dword [ebp - 0x54], esi
jmp 0x496f1b
mov esi, dword [ebp - 0x54]
mov eax, dword [edi]
mov ecx, edi
inc ebx
call dword [eax + 0xc]
cmp ebx, eax
jl 0x496ee0
mov ecx, dword [ebp - 0x50]
add esi, 4
mov eax, dword [ebp - 0x10]
cmp esi, ecx
push 2
cmovl ecx, esi
mov esi, dword [ebp - 0x60]
add eax, ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 8], eax
mov ecx, esi
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esi]
push 0
call dword [eax + 0x1c]
mov ecx, eax
call fcn.0044e320
mov edi, dword [sym.imp.USER32.dll_MapWindowPoints]
push eax
call edi
mov ebx, dword [ebp - 0x64]
lea eax, [ebp - 0x3c]
xorps xmm0, xmm0
mov ecx, ebx
push eax
movups xmmword [ebp - 0x3c], xmm0
push 1
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x3c], 0x28
movq qword [ebp - 0x1c], xmm0
call fcn.00455c40
push eax
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00449300
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x40]
jle 0x496fe7
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x14], ecx
test eax, eax
jle 0x496fc0
add eax, ecx
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x7c]
mov eax, ecx
sub eax, dword [ebp - 0x50]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push 2
push eax
mov eax, dword [esi]
mov dword [ebp - 8], ecx
mov ecx, esi
push 0
call dword [eax + 0x1c]
mov ecx, eax
call fcn.0044e320
push eax
call edi
movups xmm0, xmmword [ebp - 0x14]
push 0
sub esp, 0x10
mov ecx, esi
mov eax, esp
push 0x80
movups xmmword [eax], xmm0
mov eax, dword [esi]
push closesocket
push 0
call dword [eax + 0x1c]
mov ecx, eax
call fcn.0044e320
push eax
mov ecx, ebx
call fcn.00455ea0
mov esi, dword [ebx + 4]
mov edi, dword [sym.imp.USER32.dll_GetParent]
push esi
call edi
test eax, eax
je 0x497033
push esi
call edi
mov esi, eax
push esi
call edi
test eax, eax
jne 0x497027
push 5
push dword [ebx + 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 [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fdfc5
mov esp, ebp
pop ebp
ret 4