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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov eax, dword [0x4f3008]
xor eax, esp
mov dword [esp + 0xa4], eax
push esi
push edi
mov edi, ecx
mov edx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ecx, dword [0x4faee4]
mov dword [esp + 0x50], 0
movzx eax, byte [edi + 0x3c]
mov dword [esp + 0x54], 0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, dword [edi + 0x44]
mov dword [esp + 0x10], eax
mov eax, dword [ecx]
divss xmm0, dword [0x4dcd70]
mov eax, dword [eax + 0x24]
movss dword [esp + 0x14], xmm0
movups xmm0, xmmword [edx]
movups xmmword [esp + 0x30], xmm0
movups xmm0, xmmword [esi]
movups xmmword [esp + 0x60], xmm0
movaps xmm0, xmmword [0x4dd3e0]
movaps xmmword [esp + 0x40], xmm0
call eax
mov esi, dword [sym.imp.USER32.dll_OffsetRect]
test eax, eax
jne 0x45103a
push dword [0x508168]
lea eax, [esp + 0x34]
push dword [0x50816c]
push eax
call esi
cmp dword [edi + 0x24], 0
je 0x45104b
push 0
push 0
lea eax, [esp + 0x38]
push eax
call esi
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x18]
sub eax, dword [esp + 0x30]
push dword [edi + 0x28]
cdq
push dword [edi + 0x2c]
sub eax, edx
mov esi, eax
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x3c]
cdq
sub eax, edx
sar esi, 1
add esi, dword [esp + 0x38]
lea edx, [esp + 0x38]
sar eax, 1
add eax, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
call fcn.00450990
add esp, 8
cmp dword [edi + 0x24], 0
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x40], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esp + 0x50], xmm0
je 0x45117d
movss xmm7, dword [esp + 0x50]
xorps xmm3, xmm3
movss xmm2, dword [esp + 0x40]
movaps xmm0, xmm7
movss xmm5, dword [esp + 0x48]
movaps xmm4, xmm2
mov eax, dword [esp + 0xc]
movaps xmm6, xmm5
mulss xmm0, xmm3
mulss xmm4, xmm3
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esp + 0x44]
addss xmm4, dword [esp + 0x44]
mulss xmm0, xmm3
mulss xmm6, xmm3
movss xmm3, dword [0x4dcc88]
mulss xmm2, xmm3
movss dword [esp + 0x44], xmm4
xorps xmm4, xmm4
mulss xmm5, xmm3
subss xmm0, xmm2
mulss xmm7, xmm3
movss xmm2, dword [esp + 0x54]
addss xmm6, dword [esp + 0x4c]
movd xmm3, esi
movaps xmm1, xmm2
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x4c]
mulss xmm0, xmm4
addss xmm2, dword [esp + 0xc]
cvtdq2ps xmm3, xmm3
subss xmm0, xmm5
mulss xmm1, xmm4
movss dword [esp + 0x4c], xmm6
subss xmm1, xmm7
movss dword [esp + 0x48], xmm0
movaps xmm0, xmm3
mulss xmm0, dword [0x4dcd84]
subss xmm3, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm1, xmm3
subss xmm0, xmm0
movss dword [esp + 0x50], xmm1
addss xmm0, xmm2
movss dword [esp + 0x54], xmm0
movd xmm0, dword [esp + 0x30]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x9c], xmm0
movd xmm0, dword [esp + 0x34]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xa0], xmm0
movd xmm0, dword [esp + 0x38]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xa4], xmm0
movd xmm0, dword [esp + 0x3c]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xa8], xmm0
movd xmm0, dword [esp + 0x60]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x8c], xmm0
movd xmm0, dword [esp + 0x64]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x90], xmm0
movd xmm0, dword [esp + 0x68]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x94], xmm0
movd xmm0, dword [esp + 0x6c]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x98], xmm0
call fcn.0044ee60
lea edx, [esp + 0x40]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x451251
push ecx
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.0044db40
mov dword [edi + 0xc], 0
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.004954a2
mov esp, ebp
pop ebp
ret 8
cmp byte [edi + 0x3c], 0
je 0x451288
call fcn.0044ee60
mov esi, dword [esp + 0x10]
lea edx, [esp + 0x8c]
movss xmm0, dword [esp + 0x14]
push edx
mov ecx, dword [eax]
lea edx, [esp + 0xa0]
push esi
push ecx
movss dword [esp], xmm0
push edx
push dword [edi + 4]
push eax
call dword [ecx + 0x68]
jmp 0x45128c
mov esi, dword [esp + 0x10]
mov eax, dword [edi + 0x38]
test eax, eax
je 0x4512bc
movss xmm0, dword [esp + 0x14]
push eax
push dword [edi + 0x34]
lea eax, [esp + 0x94]
push esi
push ecx
movss dword [esp], xmm0
push eax
lea eax, [esp + 0xb0]
push eax
push dword [edi + 4]
call fcn.00450050
mov edx, dword [0x4fb030]
movaps xmm0, xmmword [0x4dd3e0]
mov dword [edi + 0x3c], 0x808080ff
mov dword [edi + 0x28], 0x64
mov dword [edi + 0x2c], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
movups xmmword [esp + 0x60], xmm0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov ecx, dword [edx]
test ecx, ecx
je 0x45131a
nop
mov eax, dword [ecx]
mov edx, ecx
mov ecx, eax
test eax, eax
jne 0x451310
mov ecx, dword [edx + 4]
test ecx, ecx
jne 0x451338
mov ecx, dword [0x4fb044]
cmp dword [ecx + 0x34], 0
je 0x451335
mov eax, dword [ecx + 0x18]
mov ecx, dword [eax + 8]
jmp 0x451338
mov ecx, dword [ecx + 0xc]
mov eax, dword [ecx]
lea edx, [esp + 0x60]
push edx
push ecx
call dword [eax + 0x78]
mov ecx, dword [esp + 0xac]
pop edi
pop esi
xor ecx, esp
call fcn.004954a2
mov esp, ebp
pop ebp
ret 8