Function at 0x496f00
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x568910]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [ebp - 0x68], ebx
lea ecx, [ebx + 0x798]
mov dword [ebp - 0x74], esi
push edi
mov dword [esi + 0x510], ebx
mov dword [esi + 0x514], 0
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esi + 0x518], eax
mov ecx, ebx
mov byte [esi + 0x51c], 0
mov eax, dword [ebx]
call dword [eax + 0x24]
mov ecx, eax
call fcn.00459a30
mov edi, dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
push esi
call edi
test eax, eax
je 0x496f72
push esi
call edi
mov esi, eax
push esi
call edi
test eax, eax
jne 0x496f66
lea eax, [ebp - 0x24]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [ebp - 0x74]
lea eax, [ebp - 0x80]
push eax
mov ecx, dword [esi + 0x510]
call fcn.00496750
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x40]
mov ecx, dword [ebp - 0x80]
movdqu xmm0, xmmword [eax]
movdqu xmmword [ebp - 0x14], xmm0
movdqu xmmword [ebp - 0x94], xmm0
psrldq xmm0, 0xc
movd eax, xmm0
mov dword [ebp - 0x10], eax
add eax, dword [ebp - 0x7c]
mov dword [ebp - 8], eax
test ecx, ecx
jle 0x496fc8
mov eax, dword [ebp - 0x14]
add eax, ecx
mov dword [ebp - 0xc], eax
mov ecx, dword [esi + 0x510]
add ecx, 0x798
mov dword [ebp - 0x64], 0
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x70], eax
mov esi, 4
call fcn.004605c0
test al, al
mov ecx, 6
mov eax, dword [ebp - 0xc]
cmovne esi, ecx
sub eax, dword [ebp - 0x14]
mov dword [ebp - 0x6c], eax
add ebx, 0x760
mov eax, dword [ebp - 8]
xor edi, edi
sub eax, dword [ebp - 0x10]
mov ecx, ebx
mov dword [ebp - 0x84], eax
mov eax, dword [ebx]
mov dword [ebp - 0x78], esi
xor esi, esi
mov dword [ebp - 0x60], edi
call dword [eax + 0x10]
test eax, eax
jle 0x497084
mov eax, dword [ebx]
mov ecx, ebx
push esi
call dword [eax]
mov edi, eax
mov ecx, edi
mov edx, dword [edi]
mov edx, dword [edx + 0xdc]
call edx
test al, al
je 0x497075
push dword [ebp - 0x84]
mov edx, dword [edi]
lea eax, [ebp - 0x9c]
push dword [ebp - 0x6c]
mov ecx, edi
push eax
call dword [edx + 0x138]
mov eax, dword [ebp - 0x98]
add eax, dword [ebp - 0x78]
mov edi, dword [ebp - 0x60]
add edi, eax
mov dword [ebp - 0x60], edi
cmp dword [ebp - 0x70], esi
jne 0x497078
add dword [ebp - 0x64], edi
jmp 0x497078
mov edi, dword [ebp - 0x60]
mov eax, dword [ebx]
mov ecx, ebx
inc esi
call dword [eax + 0x10]
cmp esi, eax
jl 0x497027
mov eax, dword [ebp - 0x78]
mov edx, dword [ebp - 0x7c]
cmp dword [ebp - 0x64], edx
mov ecx, dword [ebp - 0x10]
lea edi, [edi + eax*2]
lea esi, [eax + eax]
mov eax, edx
cmovl eax, dword [ebp - 0x64]
sub ecx, eax
mov eax, edx
cmp edi, edx
mov dword [ebp - 0x10], ecx
push 2
cmovl eax, edi
mov edi, dword [ebp - 0x68]
mov dword [ebp - 0x6c], eax
add eax, ecx
mov dword [ebp - 8], eax
mov ecx, edi
lea eax, [ebp - 0x14]
push eax
mov eax, dword [edi]
push 0
call dword [eax + 0x24]
mov ecx, eax
call fcn.00459a30
push eax
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x10]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
add eax, 0x1e
mov dword [ebp - 0x60], 0
cmp ecx, eax
jge 0x497138
call fcn.004605c0
cmp dword [ebp - 0x70], 5
jne 0x497107
test al, al
mov ecx, 0x18
mov edx, 0x24
cmovne ecx, edx
jmp 0x497115
xor ecx, ecx
test al, al
sete cl
lea ecx, [ecx*4 - 0xc]
sub ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x20]
add ecx, 0x1e
mov ebx, dword [ebp - 8]
add ecx, edx
sub ebx, dword [ebp - 0x10]
mov dword [ebp - 0x60], ecx
lea eax, [edx + 0x1e]
add ebx, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], ebx
mov ecx, eax
jmp 0x49713b
mov ebx, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x1e]
cmp eax, edx
jle 0x49716b
mov eax, ebx
sub eax, ecx
mov ecx, edx
sub ecx, dword [ebp - 0x20]
mov dword [ebp - 0x68], eax
add eax, 0x3c
cmp eax, ecx
jge 0x49716b
mov eax, edx
sub eax, ebx
mov dword [ebp - 0x60], eax
lea eax, [edx - 0x1e]
sub edx, dword [ebp - 0x68]
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], edx
mov ebx, dword [ebp - 0x74]
lea eax, [ebp - 0x4c]
xorps xmm0, xmm0
mov ecx, ebx
push eax
movdqu xmmword [ebp - 0x4c], xmm0
push 1
movdqu xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x4c], 0x28
movq qword [ebp - 0x2c], xmm0
call fcn.00418580
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 - 0x5c]
call fcn.004607e0
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x50]
jle 0x497202
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x14], ecx
test eax, eax
jle 0x4971d4
add eax, ecx
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x90]
mov eax, ecx
sub eax, dword [ebp - 0x6c]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push 2
push eax
mov eax, dword [edi]
mov dword [ebp - 8], ecx
mov ecx, edi
push 0
call dword [eax + 0x24]
mov ecx, eax
call fcn.00459a30
push eax
call dword [sym.imp.USER32.dll_MapWindowPoints]
movdqu xmm0, xmmword [ebp - 0x14]
push 0
sub esp, 0x10
mov ecx, edi
mov eax, esp
push 0x80
movdqu xmmword [eax], xmm0
mov eax, dword [edi]
push closesocket
push 0
call dword [eax + 0x24]
mov ecx, eax
call fcn.00459a30
push eax
mov ecx, ebx
call fcn.00462990
push 5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x64]
mov edi, dword [ebp - 0x7c]
lea eax, [esi + edx]
add eax, ecx
cmp eax, edi
jle 0x497263
sub esi, edi
add esi, edx
add esi, ecx
mov ecx, dword [ebx + 0x514]
push esi
call fcn.0048bf30
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e0876
mov esp, ebp
pop ebp
ret 4