Function at 0x445f20
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
mov eax, dword [0x48700c]
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 + 0x10], 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 + 8], 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 + 0x14]
mov ecx, esi
push eax
call fcn.00409b50
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 0x445fd3
lea eax, [edx + edi]
mov dword [esp + 0x38], eax
jmp 0x445fd7
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 + 0x240]
mov dword [esp + 0x1c], eax
mov dword [esp + 0xc], 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x130]
call eax
test eax, eax
jle 0x446066
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 0x44604d
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 + 0x18]
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 + 0x240]
mov eax, dword [ecx]
mov eax, dword [eax + 0x130]
call eax
cmp edi, eax
jl 0x446003
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
add eax, 2
cmp eax, ecx
cmovl ecx, eax
mov eax, dword [esp + 0x34]
add eax, ecx
mov dword [esp + 8], ecx
mov dword [esp + 0x3c], 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 edi, dword [esp + 0x10]
lea eax, [esp + 0x50]
push eax
xorps xmm0, xmm0
push 1
push dword [edi + 0x10]
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 0x4460ed
mov eax, dword [edi + 0x250]
cmp byte [eax + 0x26c], 0
je 0x446137
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 0x44610b
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
mov eax, dword [esi]
mov dword [esp + 0x3c], ecx
mov ecx, 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 edx, dword [edi]
lea ecx, [esp + 0x30]
push ecx
push 1
push 0x80
push 0x80000000
push 0
push dword [eax + 0x10]
mov ecx, edi
call dword [edx + 0xc]
mov esi, dword [edi + 0x10]
mov edi, dword [sym.imp.USER32.dll_GetParent]
push esi
call edi
test eax, eax
je 0x44617c
nop dword [eax]
push esi
call edi
mov esi, eax
push esi
call edi
test eax, eax
jne 0x446170
mov ecx, dword [esp + 0x10]
push 5
push dword [ecx + 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.00450f3a
mov esp, ebp
pop ebp
ret 4