Function at 0x4501b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
mov eax, dword [0x4f4008]
xor eax, esp
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x18]
push esi
movups xmm0, xmmword [edx]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x20]
push edi
mov edi, ecx
mov ecx, dword [0x4fbe84]
movups xmmword [esp + 0x10], xmm0
mov esi, dword [eax + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
test eax, eax
jne 0x45020f
push dword [0x509148]
lea eax, [esp + 0x14]
push dword [0x50914c]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov edx, dword [0x4fc014]
movaps xmm0, xmmword [0x4de0d0]
movups xmmword [esp + 0x2c], xmm0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov ecx, dword [edx]
test ecx, ecx
je 0x450241
mov eax, dword [ecx]
mov edx, ecx
mov ecx, eax
test eax, eax
jne 0x450237
mov ecx, dword [edx + 4]
test ecx, ecx
jne 0x45025f
mov ecx, dword [0x4fc028]
cmp dword [ecx + 0x34], 0
je 0x45025c
mov eax, dword [ecx + 0x18]
mov ecx, dword [eax + 8]
jmp 0x45025f
mov ecx, dword [ecx + 0xc]
mov eax, dword [ecx]
lea edx, [esp + 0x2c]
push edx
push ecx
call dword [eax + 0x78]
mov ecx, dword [esp + 8]
lea edx, [esp + 0x2c]
movss xmm1, dword [0x4dda50]
mov eax, ecx
shr eax, 0x10
movzx eax, al
mov dword [esp + 0x38], 0x3f800000
push edx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4de1c0]
mov eax, ecx
shr eax, 8
movzx eax, al
cvtpd2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [esp + 0x30], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4de1c0]
movzx eax, cl
cvtpd2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [esp + 0x34], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4de1c0]
mov eax, dword [edi + 0x10]
push eax
cvtpd2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [esp + 0x3c], xmm0
mov ecx, dword [eax]
call dword [ecx + 0x20]
movd xmm0, dword [ebp + 0x1c]
cvtdq2ps xmm0, xmm0
mov eax, dword [edi + 0x10]
mov ecx, dword [eax]
divss xmm0, dword [0x4dda50]
push ecx
movss dword [esp], xmm0
push eax
call dword [ecx + 0x10]
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x450333
dec ecx
neg ecx
sbb ecx, ecx
add ecx, 2
mov eax, dword [esi]
push ecx
push esi
call dword [eax + 0xc]
mov eax, dword [esi]
push 2
push esi
call dword [eax + 0x10]
movd xmm0, dword [esp + 0x10]
cvtdq2ps xmm0, xmm0
mov edx, dword [0x4fc014]
movss dword [esp + 0x2c], xmm0
movd xmm0, dword [esp + 0x14]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x30], xmm0
movd xmm0, dword [esp + 0x18]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x34], xmm0
movd xmm0, dword [esp + 0x1c]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x38], xmm0
mov ecx, dword [edx]
test ecx, ecx
je 0x45039a
nop word [eax + eax]
mov eax, dword [ecx]
mov edx, ecx
mov ecx, eax
test eax, eax
jne 0x450390
mov ecx, dword [edx + 4]
test ecx, ecx
jne 0x4503b8
mov ecx, dword [0x4fc028]
cmp dword [ecx + 0x34], 0
je 0x4503b5
mov eax, dword [ecx + 0x18]
mov ecx, dword [eax + 8]
jmp 0x4503b8
mov ecx, dword [ecx + 0xc]
mov eax, dword [ecx]
lea edx, [esp + 0x2c]
push 0
push 0
push dword [edi + 0x10]
push edx
push esi
push dword [ebp + 0x14]
push dword [esp + 0x24]
push ecx
call dword [eax + 0x6c]
mov edx, dword [0x4fc014]
movaps xmm0, xmmword [0x4de0d0]
movups xmmword [esp + 0x44], xmm0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov ecx, dword [edx]
test ecx, ecx
je 0x45040a
nop word [eax + eax]
mov eax, dword [ecx]
mov edx, ecx
mov ecx, eax
test eax, eax
jne 0x450400
mov ecx, dword [edx + 4]
test ecx, ecx
jne 0x450428
mov ecx, dword [0x4fc028]
cmp dword [ecx + 0x34], 0
je 0x450425
mov eax, dword [ecx + 0x18]
mov ecx, dword [eax + 8]
jmp 0x450428
mov ecx, dword [ecx + 0xc]
mov eax, dword [ecx]
lea edx, [esp + 0x44]
push edx
push ecx
call dword [eax + 0x78]
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
xor ecx, esp
call fcn.00495852
mov esp, ebp
pop ebp
ret 0x1c