Function at 0x46c3b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
mov eax, dword [0x53ac84]
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 0x51d840
mov dword [esp + 0x18], edi
lea ecx, [edi + 0x22c]
call fcn.00407020
mov dword [edi + 0x25c], esi
lea ecx, [esi + 4]
mov eax, dword [esi + 0x33c]
mov dword [edi + 0x260], eax
mov eax, dword [esi + 0x348]
movups xmm0, xmmword [ecx + 0x2e4]
mov edi, dword [esi + 0x344]
mov dword [esp + 8], eax
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x28], edi
movups xmmword [esp + 0x44], xmm0
call fcn.0045f5b0
mov eax, dword [esp + 0x18]
neg eax
push eax
mov eax, dword [esp + 0x18]
neg eax
push eax
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
movaps xmm0, xmmword [esp + 0x40]
mov ecx, dword [esp + 8]
movaps xmmword [esp + 0x30], xmm0
mov edx, dword [esp + 0x30]
psrldq xmm0, 0xc
movd eax, xmm0
inc eax
add ecx, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], ecx
test edi, edi
jle 0x46c476
lea eax, [edi + edx]
mov dword [esp + 0x38], eax
jmp 0x46c47a
mov eax, dword [esp + 0x38]
sub ecx, dword [esp + 0x34]
sub eax, edx
mov dword [esp + 0x14], ecx
xor edi, edi
mov ecx, dword [esi + 0x338]
add ecx, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0xc], 0
mov eax, dword [ecx]
mov eax, dword [eax + 0xd8]
call eax
test eax, eax
jle 0x46c519
nop dword [eax]
mov ecx, dword [esi + 0x338]
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 0x46c4fd
mov eax, dword [esp + 0x1c]
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 + 0xc]
add eax, dword [esp + 0x2c]
mov dword [esp + 0xc], eax
mov esi, dword [esp + 0x20]
inc edi
mov ecx, dword [esi + 0x338]
add ecx, 4
mov eax, dword [ecx]
mov eax, dword [eax + 0xd8]
call eax
cmp edi, eax
jl 0x46c4b0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
add eax, 2
cmp eax, ecx
push 2
cmovl ecx, eax
mov eax, dword [esp + 0x38]
add eax, ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x40], eax
lea eax, [esp + 0x34]
push eax
mov eax, dword [esi + 0x2b4]
push 0
push dword [eax + 0xc]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x50]
push eax
xorps xmm0, xmm0
push 1
push dword [edi + 0xc]
movaps xmmword [esp + 0x5c], xmm0
movaps xmmword [esp + 0x6c], xmm0
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 0x46c59e
mov eax, dword [edi + 0x25c]
cmp byte [eax + 0x364], 0
je 0x46c5e6
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 0x46c5bc
add eax, ecx
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x44]
mov eax, ecx
sub eax, dword [esp + 8]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x30]
push 2
push eax
mov eax, dword [esi + 0x2b4]
push 0
mov dword [esp + 0x48], ecx
push dword [eax + 0xc]
call dword [sym.imp.USER32.dll_MapWindowPoints]
lea eax, [esp + 0x30]
mov ecx, edi
push eax
mov eax, dword [esi + 0x2b4]
push 0x80080
push SysReAllocString
push 0
push dword [eax + 0xc]
call fcn.0043d390
mov esi, dword [edi + 0xc]
mov edi, dword [sym.imp.USER32.dll_GetParent]
push esi
call edi
test eax, eax
je 0x46c623
push esi
call edi
mov esi, eax
push esi
call edi
test eax, eax
jne 0x46c617
mov eax, dword [esp + 0x10]
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.004c1fe9
mov esp, ebp
pop ebp
ret 4