Function at 0x489d40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x54e758]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov eax, ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov ecx, edi
mov dword [eax + 0x2f8], edi
mov dword [eax + 0x2fc], 0
mov dword [ebp - 0x64], eax
mov eax, dword [edi + 0x634]
mov ebx, dword [edi + 0x630]
mov dword [ebp - 0x54], eax
mov eax, dword [edi]
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x68], ebx
call dword [eax + 0x34]
mov ecx, dword [ebp - 0x54]
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 0x489db8
lea eax, [edx + ebx]
mov dword [ebp - 0xc], eax
jmp 0x489dbb
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 - 0x50], esi
mov eax, dword [edi]
xor ebx, ebx
call dword [eax + 0xc]
test eax, eax
jle 0x489e27
nop dword [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 + 0x110]
call edx
test al, al
je 0x489e18
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 - 0x50]
add esi, dword [ebp - 0x6c]
mov dword [ebp - 0x50], esi
jmp 0x489e1b
mov esi, dword [ebp - 0x50]
mov eax, dword [edi]
mov ecx, edi
inc ebx
call dword [eax + 0xc]
cmp ebx, eax
jl 0x489de0
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 - 0x60]
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 + 0x20]
mov ecx, eax
call fcn.004153b0
push eax
call dword [sym.imp.USER32.dll_MapWindowPoints]
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.0042be80
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.0042b180
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x40]
jle 0x489ee5
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 0x489ebb
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 + 0x20]
mov ecx, eax
call fcn.004153b0
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 SysReAllocString
push 0
call dword [eax + 0x20]
mov ecx, eax
call fcn.004153b0
push eax
mov ecx, ebx
call fcn.004339d0
mov esi, dword [ebx + 4]
mov edi, dword [sym.imp.USER32.dll_GetParent]
push esi
call edi
test eax, eax
je 0x489f31
push esi
call edi
mov esi, eax
push esi
call edi
test eax, eax
jne 0x489f25
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.0049b994
mov esp, ebp
pop ebp
ret 4