Function at 0x446660
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
mov eax, dword [0x5f88c0]
xor eax, esp
mov dword [esp + 0x84], eax
push esi
mov esi, dword [ebp + 8]
mov dword [ecx + 0x250], esi
push edi
mov dword [esp + 0xc], ecx
mov eax, dword [esi + 0x244]
mov dword [ecx + 0x254], eax
lea ecx, [esp + 0x40]
mov eax, dword [esi + 0x250]
mov edi, dword [esi + 0x24c]
mov dword [esp + 0x14], eax
mov eax, dword [esi]
push 1
push ecx
mov ecx, esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edi
call dword [eax + 0x1c]
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call fcn.0042ac70
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 0x446709
lea eax, [edi + ecx]
mov dword [esp + 0x38], eax
jmp 0x44670d
mov eax, dword [esp + 0x38]
sub eax, ecx
mov dword [esp + 0x10], 0
mov ecx, dword [esi + 0x240]
xor edi, edi
mov dword [esp + 0x18], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x130]
call eax
test eax, eax
jle 0x446794
mov ecx, dword [esi + 0x240]
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x124]
call eax
mov esi, eax
mov ecx, esi
mov edx, dword [esi]
mov edx, dword [edx + 0x14]
call edx
test al, al
je 0x44677b
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 + 0x18]
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 + 0x240]
mov eax, dword [ecx]
mov eax, dword [eax + 0x130]
call eax
cmp edi, eax
jl 0x446731
mov eax, dword [esp + 0x10]
mov ecx, esi
mov edi, dword [esp + 0x14]
add eax, 2
cmp eax, edi
cmovl edi, eax
mov eax, dword [esp + 0x34]
add eax, edi
mov dword [esp + 0x3c], eax
mov eax, dword [esi]
mov eax, dword [eax]
call eax
push 2
lea ecx, [esp + 0x34]
push ecx
push 0
push dword [eax + 0x10]
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 + 0x10]
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 0x44681b
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x250]
cmp byte [eax + 0x26c], 0
je 0x446863
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 0x446839
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
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax]
call eax
push 2
lea ecx, [esp + 0x34]
push ecx
push 0
push dword [eax + 0x10]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax]
call eax
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x30]
push ecx
push 1
push 0x80
mov edx, dword [esi]
mov ecx, esi
push connect
push 0
push dword [eax + 0x10]
call dword [edx + 0xc]
mov esi, dword [esi + 0x10]
mov edi, dword [sym.imp.USER32.dll_GetParent]
push esi
call edi
test eax, eax
je 0x4468ac
nop dword [eax]
push esi
call edi
mov esi, eax
push esi
call edi
test eax, eax
jne 0x4468a0
mov eax, dword [esp + 0xc]
push 5
push dword [eax + 0x10]
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.0054b289
mov esp, ebp
pop ebp
ret 4