Function at 0x465040
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
mov eax, dword [0x5203c4]
xor eax, esp
mov dword [esp + 0x84], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [esp + 0x20], esi
push 8
push 0x506ca4
mov dword [esp + 0x14], edi
lea ecx, [edi + 0x22c]
call fcn.00408d10
mov dword [edi + 0x25c], esi
lea ecx, [esi + 4]
mov eax, dword [esi + 0x314]
mov dword [edi + 0x260], eax
mov eax, dword [esi + 0x320]
movups xmm0, xmmword [ecx + 0x2bc]
mov edi, dword [esi + 0x31c]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x28], edi
movups xmmword [esp + 0x44], xmm0
call fcn.004370d0
mov eax, dword [esp + 0x1c]
neg eax
push eax
mov eax, dword [esp + 0x1c]
neg eax
push eax
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
movaps xmm0, xmmword [esp + 0x40]
movaps xmmword [esp + 0x30], xmm0
mov ecx, dword [esp + 0x30]
psrldq xmm0, 0xc
movd eax, xmm0
inc eax
mov dword [esp + 0x34], eax
test edi, edi
jle 0x4650fc
lea eax, [edi + ecx]
mov dword [esp + 0x38], eax
jmp 0x465100
mov eax, dword [esp + 0x38]
sub eax, ecx
mov dword [esp + 0x10], 0
mov ecx, dword [esi + 0x310]
xor edi, edi
add ecx, 4
mov dword [esp + 0x18], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0xd8]
call eax
test eax, eax
jle 0x465199
nop word [eax + eax]
mov ecx, dword [esi + 0x310]
add ecx, 4
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0xd0]
call eax
mov esi, eax
mov ecx, esi
mov edx, dword [esi]
mov edx, dword [edx + 0x10]
call edx
test al, al
je 0x46517d
mov eax, dword [esp + 0x18]
sub esp, 8
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [esp + 0x1c]
mov dword [ecx + 4], eax
lea ecx, [esp + 0x30]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x68]
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x20]
inc edi
mov ecx, dword [esi + 0x310]
add ecx, 4
mov eax, dword [ecx]
mov eax, dword [eax + 0xd8]
call eax
cmp edi, eax
jl 0x465130
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
add eax, 2
cmp eax, edi
push 2
cmovl edi, eax
mov eax, dword [esp + 0x38]
add eax, edi
mov dword [esp + 0x40], eax
lea eax, [esp + 0x34]
push eax
mov eax, dword [esi + 0x28c]
push 0
push dword [eax + 0xc]
call dword [sym.imp.USER32.dll_MapWindowPoints]
lea eax, [esp + 0x50]
xorps xmm0, xmm0
push eax
mov eax, dword [esp + 0x10]
push 1
movaps xmmword [esp + 0x58], xmm0
movaps xmmword [esp + 0x68], xmm0
push dword [eax + 0xc]
movq qword [esp + 0x7c], xmm0
mov dword [esp + 0x5c], 0x28
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
mov eax, dword [esp + 0x3c]
cmp eax, dword [esp + 0x70]
jg 0x46521e
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x25c]
cmp byte [eax + 0x33c], 0
je 0x465264
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x30], ecx
test eax, eax
jle 0x46523c
add eax, ecx
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x44]
mov eax, ecx
sub eax, edi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x34], eax
lea eax, [esp + 0x30]
push 2
push eax
mov eax, dword [esi + 0x28c]
push 0
push dword [eax + 0xc]
call dword [sym.imp.USER32.dll_MapWindowPoints]
lea eax, [esp + 0x30]
push eax
mov eax, dword [esi + 0x28c]
mov esi, dword [esp + 0x10]
mov ecx, esi
push 0x80080
push 0x80000000
push 0
push dword [eax + 0xc]
call fcn.0040cf80
mov esi, dword [esi + 0xc]
mov edi, dword [sym.imp.USER32.dll_GetParent]
push esi
call edi
test eax, eax
je 0x4652ac
nop dword [eax]
push esi
call edi
mov esi, eax
push esi
call edi
test eax, eax
jne 0x4652a0
mov eax, dword [esp + 0xc]
push 5
push dword [eax + 0xc]
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 [esp + 0x8c]
pop edi
pop esi
xor ecx, esp
call fcn.004a8e4e
mov esp, ebp
pop ebp
ret 4