Function at 0x491740
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x525060]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov ecx, edi
mov byte [ebx + 0x6dc], 0
mov dword [ebx + 0x6d0], edi
mov dword [ebp - 0x68], ebx
mov eax, dword [edi]
mov dword [ebp - 0x64], edi
call dword [eax + 0x1c]
push eax
lea ecx, [ebx + 0x14]
call fcn.00456c60
mov ecx, dword [ebx + 0x6d0]
add ecx, 0x620
mov dword [ebx + 0x6d4], 0
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebx + 0x6d0]
mov dword [ebx + 0x6d8], eax
lea eax, [ebp - 0x58]
push eax
call fcn.00491000
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x50]
mov ecx, dword [ebp - 0x54]
movups xmm0, xmmword [eax]
mov eax, dword [ebp - 0x58]
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 eax, eax
jle 0x4917e5
add eax, edx
mov dword [ebp - 0xc], eax
jmp 0x4917e8
mov eax, dword [ebp - 0xc]
add edi, 0x4d0
sub eax, edx
sub ecx, esi
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], ecx
xor esi, esi
mov ecx, edi
mov dword [ebp - 0x50], esi
mov eax, dword [edi]
xor ebx, ebx
call dword [eax + 0xc]
test eax, eax
jle 0x491857
nop word [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 0x491848
push dword [ebp - 0x5c]
mov edx, dword [esi]
lea eax, [ebp - 0x70]
push dword [ebp - 0x60]
mov ecx, esi
push eax
call dword [edx + 0x140]
mov esi, dword [ebp - 0x50]
add esi, dword [ebp - 0x6c]
mov dword [ebp - 0x50], esi
jmp 0x49184b
mov esi, dword [ebp - 0x50]
mov eax, dword [edi]
mov ecx, edi
inc ebx
call dword [eax + 0xc]
cmp ebx, eax
jl 0x491810
mov edi, dword [ebp - 0x54]
add esi, 4
mov eax, dword [ebp - 0x10]
cmp esi, edi
push 2
cmovl edi, esi
mov esi, dword [ebp - 0x64]
add eax, edi
mov ecx, esi
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esi]
push 0
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00451280
push eax
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ebx, dword [ebp - 0x68]
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.00458400
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.00457a50
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x40]
jle 0x491915
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x14], ecx
test eax, eax
jle 0x4918eb
add eax, ecx
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x7c]
mov eax, ecx
sub eax, edi
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], eax
mov ecx, esi
push 2
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esi]
push 0
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00451280
push eax
call dword [sym.imp.USER32.dll_MapWindowPoints]
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.00451280
push eax
mov ecx, ebx
call fcn.00457300
mov esi, dword [ebx + 4]
mov edi, dword [sym.imp.USER32.dll_GetParent]
push esi
call edi
test eax, eax
je 0x491961
push esi
call edi
mov esi, eax
push esi
call edi
test eax, eax
jne 0x491955
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.00412614
mov esp, ebp
pop ebp
ret 4