Function at 0x445580
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
mov eax, dword [0x49d4b0]
xor eax, esp
mov dword [esp + 0x94], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [esp + 0x1c], esi
lea ecx, [esi + 0x4d0]
mov dword [esp + 0x20], edi
mov dword [edi + 0x268], esi
mov dword [edi + 0x26c], 0
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov dword [edi + 0x270], eax
mov ecx, esi
mov eax, dword [edi + 0x268]
mov edi, dword [eax + 0x570]
mov eax, dword [eax + 0x574]
mov dword [esp + 0x10], eax
mov eax, dword [esi]
mov dword [esp + 0x28], edi
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [esp + 0x10]
movdqu xmm0, xmmword [eax]
movdqa xmmword [esp + 0x50], xmm0
mov edx, dword [esp + 0x50]
movdqa xmmword [esp + 0x30], xmm0
psrldq xmm0, 0xc
movd esi, xmm0
add ecx, esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x5c], ecx
test edi, edi
jle 0x445627
lea eax, [edx + edi]
mov dword [esp + 0x58], eax
jmp 0x44562b
mov eax, dword [esp + 0x58]
mov edi, dword [esp + 0x1c]
sub eax, edx
add edi, 0x4a0
mov dword [esp + 0x2c], eax
sub ecx, esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x24], ecx
xor esi, esi
mov ecx, edi
mov dword [esp + 0x18], esi
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
call eax
test eax, eax
jle 0x4456b4
lea esp, [esp]
mov eax, dword [edi]
mov ecx, edi
push esi
mov eax, dword [eax]
call eax
mov esi, eax
mov ecx, esi
mov edx, dword [esi]
mov edx, dword [edx + 0xc8]
call edx
test al, al
je 0x44569e
push dword [esp + 0x24]
mov edx, dword [esi]
lea eax, [esp + 0x44]
push dword [esp + 0x30]
mov ecx, esi
push eax
call dword [edx + 0x114]
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x44]
mov dword [esp + 0x14], eax
mov eax, dword [edi]
mov ecx, edi
mov esi, dword [esp + 0x18]
inc esi
mov dword [esp + 0x18], esi
mov eax, dword [eax + 0xc]
call eax
cmp esi, eax
jl 0x445660
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
add eax, 4
mov edi, dword [esp + 0x1c]
cmp eax, ecx
cmovl ecx, eax
mov eax, dword [esp + 0x54]
add eax, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x5c], eax
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0x1c]
call eax
push 2
lea ecx, [esp + 0x54]
push ecx
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x60]
push eax
xorps xmm0, xmm0
push 1
push dword [esi + 4]
movdqa xmmword [esp + 0x6c], xmm0
movdqa xmmword [esp + 0x7c], xmm0
movq qword [esp + 0x8c], xmm0
mov dword [esp + 0x6c], 0x28
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
mov eax, dword [esp + 0x5c]
cmp eax, dword [esp + 0x80]
jle 0x445782
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x50], ecx
test eax, eax
jle 0x445756
add eax, ecx
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x34]
mov eax, ecx
sub eax, dword [esp + 0x10]
mov dword [esp + 0x54], eax
mov eax, dword [edi]
mov dword [esp + 0x5c], ecx
mov ecx, edi
mov eax, dword [eax + 0x1c]
call eax
push 2
lea ecx, [esp + 0x54]
push ecx
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x1c]
call eax
movdqa xmm0, xmmword [esp + 0x50]
mov ecx, esi
movdqa xmmword [esp + 0x40], xmm0
mov edi, dword [eax]
mov eax, dword [esi]
mov eax, dword [eax + 4]
call eax
test eax, eax
je 0x4457b1
mov ecx, esi
call fcn.00424500
test al, al
je 0x445809
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 4]
call eax
test eax, eax
jne 0x4457c9
mov ecx, esi
call fcn.00424450
test al, al
je 0x445809
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x40]
sub eax, edx
push esi
push dword [0x4a0ed4]
push 0
push edi
push eax
mov eax, dword [esp + 0x5c]
sub eax, ecx
push eax
mov eax, dword [esi]
push edx
push ecx
push SysReAllocString
mov eax, dword [eax]
mov ecx, esi
push 0
call eax
push eax
push 0x80
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi + 4], eax
mov esi, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetParent]
push esi
call edi
test eax, eax
je 0x44582c
lea esp, [esp]
push esi
call edi
mov esi, eax
push esi
call edi
test eax, eax
jne 0x445820
mov edi, dword [esp + 0x20]
push 5
push dword [edi + 4]
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 + 0x9c]
pop edi
pop esi
xor ecx, esp
call fcn.0045f8b2
mov esp, ebp
pop ebp
ret 4