Function at 0x44b780
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x542040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x44b7a6
mov eax, edi
mov dword [0x54b044], eax
jmp 0x44b7ab
mov eax, dword [0x54b044]
test ebx, ebx
je 0x44b7b9
mov ecx, ebx
mov dword [0x54b048], ecx
jmp 0x44b7bf
mov ecx, dword [0x54b048]
test edi, edi
cmove edi, eax
test ebx, ebx
cmove ebx, ecx
mov ecx, 0x549370
mov dword [ebp - 0x34], ebx
call fcn.0044a3d0
push 0xffffffffffffffec
push dword [0x549370]
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xffffffdf
push eax
push 0xffffffffffffffec
push dword [0x549370]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [0x549384]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [0x549384]
push 0
mov eax, dword [ecx]
call dword [eax + 0x30]
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x1c]
push eax
push dword [0x5482c0]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
sub eax, 0x28
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x30], eax
mov eax, dword [0x545ee8]
test eax, eax
je 0x44b85c
lea ecx, [ebp - 0x2c]
push ecx
push 0x2b0a
push 0x433
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [0x545ee8]
mov esi, dword [ebp - 0x20]
lea ecx, [ebp - 0x2c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x1c]
mov ecx, edi
add eax, 0x14
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x28]
add eax, esi
mov esi, dword [ebp - 0x30]
mov dword [ebp - 8], eax
mov eax, dword [edi]
movd xmm1, esi
cvtdq2ps xmm1, xmm1
movss dword [ebp - 0x30], xmm1
call dword [eax + 4]
movss xmm1, dword [ebp - 0x30]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x5374a0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x5371e8]
comiss xmm1, xmm0
movss dword [ebp - 0x30], xmm1
jbe 0x44b8d2
mov eax, dword [edi]
mov ecx, edi
movss dword [ebp - 0x30], xmm0
call dword [eax + 4]
mov esi, eax
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
push 0x3e
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x5374a0]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x30]
cvttss2si eax, xmm0
mov dword [ebp - 0x30], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 8]
add edx, 0x32
mov ebx, dword [ebp - 0x34]
add ecx, edx
cmp ecx, eax
jle 0x44b91c
sub eax, edx
mov dword [ebp - 8], eax
movd xmm0, dword [ebp - 0x30]
mov ecx, dword [0x549384]
movd xmm1, esi
push 0xff
sub esp, 0x10
mov eax, dword [ecx]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [esp + 0xc], xmm0
movss dword [esp + 8], xmm1
mov dword [esp + 4], 0
mov dword [esp], 0
push edi
call dword [eax + 0x80]
mov edi, dword [ebp - 0x30]
mov ecx, dword [0x549384]
push 0xff
sub esp, 0x10
movd xmm1, esi
movd xmm0, edi
mov eax, dword [ecx]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [esp + 0xc], xmm0
movaps xmm0, xmm1
addss xmm0, xmm1
movss dword [esp + 8], xmm0
mov dword [esp + 4], 0
movss dword [esp], xmm1
push ebx
call dword [eax + 0x80]
mov ecx, dword [0x549384]
mov eax, dword [ecx]
call dword [eax + 0x28]
push ecx
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [0x549370]
lea edx, [esi + esi]
push eax
lea eax, [edi + 0x32]
push eax
call fcn.0044a070
mov ecx, dword [0x549384]
add esp, 0x10
mov esi, eax
mov edx, dword [ecx]
call dword [edx + 0x2c]
mov ecx, dword [0x549384]
mov edx, dword [ecx]
call dword [edx + 0x1c]
push 8
push dword [0x549370]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
test esi, esi
pop edi
sete al
xor ecx, ebp
pop esi
pop ebx
call fcn.004dadd7
mov esp, ebp
pop ebp
ret 8