Function at 0x491440
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x562494]
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 + 0x590]
mov dword [ebp - 0x64], ebx
mov dword [ebx + 0x2f8], edi
mov dword [ebx + 0x2fc], 0
mov eax, dword [ecx]
mov dword [ebp - 0x60], edi
call dword [eax + 4]
mov dword [ebx + 0x300], eax
mov ecx, edi
mov eax, dword [ebx + 0x2f8]
mov ebx, dword [eax + 0x630]
mov eax, dword [eax + 0x634]
mov dword [ebp - 0x50], eax
mov eax, dword [edi]
mov dword [ebp - 0x68], ebx
call dword [eax + 0x34]
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 0x4914cf
lea eax, [edx + ebx]
mov dword [ebp - 0xc], eax
jmp 0x4914d2
mov eax, dword [ebp - 0xc]
add edi, 0x558
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 0x49153b
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 + 0x110]
call edx
test al, al
je 0x49152c
push dword [ebp - 0x58]
mov edx, dword [esi]
lea eax, [ebp - 0x70]
push dword [ebp - 0x5c]
mov ecx, esi
push eax
call dword [edx + 0x164]
mov esi, dword [ebp - 0x54]
add esi, dword [ebp - 0x6c]
mov dword [ebp - 0x54], esi
jmp 0x49152f
mov esi, dword [ebp - 0x54]
mov eax, dword [edi]
mov ecx, edi
inc ebx
call dword [eax + 0xc]
cmp ebx, eax
jl 0x4914f4
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 + 0x20]
mov ecx, eax
call fcn.00408bc0
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.00438fa0
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.00439b00
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x40]
jle 0x4915fb
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 0x4915d4
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 + 0x20]
mov ecx, eax
call fcn.00408bc0
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 SysReAllocString
push 0
call dword [eax + 0x20]
mov ecx, eax
call fcn.00408bc0
push eax
mov ecx, ebx
call fcn.004392c0
mov esi, dword [ebx + 4]
mov edi, dword [sym.imp.USER32.dll_GetParent]
push esi
call edi
test eax, eax
je 0x49164c
nop dword [eax + eax]
push esi
call edi
mov esi, eax
push esi
call edi
test eax, eax
jne 0x491640
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.004affa8
mov esp, ebp
pop ebp
ret 4