Function at 0x494bb0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x54c728]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
lea ecx, [edi + 0x590]
mov dword [ebp - 0x74], esi
mov dword [esi + 0x33c], edi
mov dword [esi + 0x340], 0
mov eax, dword [ecx]
mov dword [ebp - 0x70], edi
call dword [eax + 4]
mov dword [esi + 0x344], eax
mov ecx, edi
mov eax, dword [esi + 0x33c]
mov ebx, dword [eax + 0x630]
mov eax, dword [eax + 0x634]
mov dword [ebp - 0x60], eax
mov eax, dword [edi]
mov dword [ebp - 0x78], ebx
call dword [eax + 0x3c]
mov ecx, dword [ebp - 0x60]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x14], xmm0
mov edx, dword [ebp - 0x14]
movups xmmword [ebp - 0x90], xmm0
psrldq xmm0, 0xc
movd esi, xmm0
add ecx, esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 8], ecx
test ebx, ebx
jle 0x494c42
lea eax, [edx + ebx]
mov dword [ebp - 0xc], eax
jmp 0x494c45
mov eax, dword [ebp - 0xc]
add edi, 0x558
sub eax, edx
sub ecx, esi
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], ecx
xor esi, esi
mov ecx, edi
mov dword [ebp - 0x64], esi
mov eax, dword [edi]
xor ebx, ebx
call dword [eax + 0xc]
test eax, eax
jle 0x494cae
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 + 0x108]
call edx
test al, al
je 0x494c9f
push dword [ebp - 0x68]
mov edx, dword [esi]
lea eax, [ebp - 0x80]
push dword [ebp - 0x6c]
mov ecx, esi
push eax
call dword [edx + 0x15c]
mov esi, dword [ebp - 0x64]
add esi, dword [ebp - 0x7c]
mov dword [ebp - 0x64], esi
jmp 0x494ca2
mov esi, dword [ebp - 0x64]
mov eax, dword [edi]
mov ecx, edi
inc ebx
call dword [eax + 0xc]
cmp ebx, eax
jl 0x494c67
mov ecx, dword [ebp - 0x60]
add esi, 4
mov eax, dword [ebp - 0x10]
cmp esi, ecx
push 2
cmovl ecx, esi
mov esi, dword [ebp - 0x70]
add eax, ecx
mov dword [ebp - 0x60], 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.00450220
mov edi, dword [sym.imp.USER32.dll_MapWindowPoints]
push eax
call edi
mov ebx, dword [ebp - 0x74]
lea eax, [ebp - 0x4c]
xorps xmm0, xmm0
mov ecx, ebx
push eax
movups xmmword [ebp - 0x4c], xmm0
push 1
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x4c], 0x28
movq qword [ebp - 0x2c], xmm0
call fcn.004509d0
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.0044fcc0
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x50]
jle 0x494d77
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x14], ecx
test eax, eax
jle 0x494d4d
add eax, ecx
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x8c]
mov eax, ecx
sub eax, dword [ebp - 0x60]
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.00450220
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 SysReAllocStringLen
push 0
call dword [eax + 0x20]
mov ecx, eax
call fcn.00450220
push eax
mov ecx, ebx
call fcn.00456510
mov esi, dword [ebx + 4]
mov edi, dword [sym.imp.USER32.dll_GetParent]
push esi
call edi
test eax, eax
je 0x494dc3
push esi
call edi
mov esi, eax
push esi
call edi
test eax, eax
jne 0x494db7
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]
lea eax, [ebp - 0x24]
xorps xmm0, xmm0
push eax
push dword [ebx + 4]
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebx + 0x340]
sub esp, 0x10
movups xmm0, xmmword [ebp - 0x24]
mov eax, esp
mov edx, dword [ecx]
movups xmmword [eax], xmm0
call dword [edx + 0x40]
push dword [ebx + 0x344]
mov ecx, ebx
call fcn.00494440
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a995c
mov esp, ebp
pop ebp
ret 4