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

Disassembly:
sub esp, 0xb4
mov eax, dword [0x507b40]
xor eax, esp
mov dword [esp + 0xb0], eax
test byte [0x503e50], 0x40
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov edi, dword [esp + 0xc8]
mov dword [esp + 0x18], ebp
je 0x451847
mov ecx, dword [edi + 0x270]
movss xmm1, dword [edi + 0x304]
movss xmm2, dword [0x4cb2fc]
cmp ecx, 2
je 0x450f0c
cmp ecx, 4
jne 0x450eec
mulss xmm1, dword [0x4cd5d8]
jmp 0x450f10
movaps xmm0, xmm1
cmp ecx, 5
jne 0x450efe
mulss xmm1, dword [0x4cd5e0]
jmp 0x450f10
lea eax, [ecx - 6]
movss dword [esp + 0x10], xmm0
cmp eax, 0x79
ja 0x450f16
mulss xmm1, xmm2
movss dword [esp + 0x10], xmm1
mov edx, dword [edi + 0x28c]
test edx, edx
je 0x451180
cmp ecx, 0x80
jge 0x451180
mov eax, 0x51eb851f
xor ebx, ebx
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
inc eax
add eax, edx
test eax, eax
jle 0x451180
lea ecx, [ebx + 3]
nop
cmp ebx, 5
jge 0x451178
mov eax, dword [edi + 0x190]
cdq
idiv ecx
test edx, edx
je 0x451178
call fcn.004ad3e4
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x4cd5e4]
divss xmm0, dword [0x4cd6d4]
addss xmm0, dword [0x4cd5d4]
mulss xmm0, dword [esp + 0x10]
movss dword [esp + 0x1c], xmm0
call fcn.004ad3e4
cdq
idiv dword [edi + 0x28c]
lea eax, [edi + 0x274]
inc edx
xor esi, esi
nop
mov ecx, dword [eax]
cmp edx, ecx
jle 0x450fc3
inc esi
sub edx, ecx
add eax, 4
cmp esi, 6
jl 0x450fb0
jmp 0x450fc8
cmp esi, 5
jle 0x450fcd
mov esi, 5
movss xmm2, dword [esp + 0x1c]
movss xmm3, dword [0x4cb320]
movaps xmm1, xmm2
mulss xmm1, dword [0x4ca5d0]
mov eax, dword [edi + 0x270]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
movaps xmm0, xmm1
divss xmm0, xmm3
movss dword [esp + 0x38], xmm0
cmp eax, 4
jne 0x45102b
movaps xmm0, xmm2
divss xmm0, xmm3
divss xmm1, dword [0x4cc578]
movss dword [esp + 0x30], xmm0
movss dword [esp + 0x34], xmm0
jmp 0x45107e
add eax, 0xfffffffa
cmp eax, 0x79
ja 0x451084
cvtps2pd xmm1, xmm2
movaps xmm0, xmm1
mulsd xmm1, qword [0x4cd608]
mulsd xmm0, qword [0x4cd630]
subsd xmm1, qword [0x4cd610]
cvtpd2ps xmm0, xmm0
movss dword [esp + 0x30], xmm0
cvtpd2ps xmm0, xmm1
movaps xmm1, xmm2
divss xmm1, dword [0x4cc578]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esp + 0x10]
divss xmm0, xmm3
subss xmm1, xmm0
movss dword [esp + 0x38], xmm1
add ebp, 0x174
lea eax, [esp + 0x30]
push ebp
push eax
lea eax, [esp + 0x44]
push eax
call fcn.0040157b
movq xmm0, qword [esp + 0x3c]
sub esp, 0xc
mov eax, dword [esp + 0x50]
mov ecx, esp
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov ecx, dword [0x509a50]
call fcn.004843b0
mov ecx, dword [0x509a50]
add esi, 0x29
add esi, esi
sub esp, 0x10
mov eax, esp
movups xmm0, xmmword [edi + esi*8]
push 1
movups xmmword [eax], xmm0
call fcn.00483fe0
cmp dword [edi + 0x270], 5
jne 0x451150
movss xmm0, dword [esp + 0x1c]
lea eax, [esp + 0x30]
divss xmm0, dword [0x4cb320]
push ebp
push eax
lea eax, [esp + 0x44]
mov dword [esp + 0x38], 0
push eax
mov dword [esp + 0x40], 0
movss dword [esp + 0x44], xmm0
call fcn.0040157b
movq xmm0, qword [esp + 0x3c]
sub esp, 0xc
mov eax, dword [esp + 0x50]
mov ecx, esp
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov ecx, dword [0x509a50]
call fcn.004843b0
movups xmm0, xmmword [edi + esi*8]
mov ecx, dword [0x509a50]
sub esp, 0x10
mov eax, esp
push 1
movups xmmword [eax], xmm0
call fcn.00483fe0
mov ebp, dword [esp + 0x18]
mov eax, 0x51eb851f
imul dword [edi + 0x28c]
inc ebx
mov ecx, 3
sar edx, 3
mov eax, edx
shr eax, 0x1f
inc eax
add eax, edx
cmp ebx, eax
jl 0x450f50
movss xmm2, dword [0x4cb2fc]
cmp dword [edi + 0x270], 0x80
jl 0x4512ae
cmp dword [edi + 0x19c], 0
je 0x4512ae
movss xmm0, dword [esp + 0x10]
mulss xmm0, xmm2
movss dword [esp + 0x10], xmm0
call fcn.004ad3e4
lea ebx, [ebp + 0x174]
mov esi, 0xa
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x4cd5e4]
divss xmm0, dword [0x4cd6d4]
addss xmm0, dword [0x4cd5d4]
mulss xmm0, dword [esp + 0x10]
mulss xmm0, dword [0x4ca5d0]
divss xmm0, dword [0x4cb320]
movss dword [esp + 0x18], xmm0
call fcn.004ad3e4
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x4cd5cc]
divss xmm0, dword [0x4cd6d4]
subss xmm0, dword [0x4cd5c0]
movss dword [esp + 0x30], xmm0
call fcn.004ad3e4
push ebx
movd xmm0, eax
lea eax, [esp + 0x34]
cvtdq2ps xmm0, xmm0
push eax
lea eax, [esp + 0x44]
push eax
mulss xmm0, dword [0x4cd5cc]
divss xmm0, dword [0x4cd6d4]
subss xmm0, dword [0x4cd5c0]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [esp + 0x44], xmm0
call fcn.0040157b
movq xmm0, qword [esp + 0x3c]
sub esp, 0xc
mov eax, dword [esp + 0x50]
mov ecx, esp
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov ecx, dword [0x509a50]
call fcn.004843b0
movups xmm0, xmmword [edi + 0x290]
mov ecx, dword [0x509a50]
sub esp, 0x10
mov eax, esp
push 1
movups xmmword [eax], xmm0
call fcn.00483fe0
sub esi, 1
jne 0x4511f8
cmp dword [edi + 0x300], 0
je 0x451847
cmp dword [edi + 0x270], 0x80
jge 0x451847
lea esi, [ebp + 0x174]
mov dword [esp + 0x24], 0
push esi
lea eax, [esp + 0x28]
mov dword [esp + 0x2c], 0
push eax
lea eax, [esp + 0x44]
mov dword [esp + 0x34], 0
push eax
call fcn.0040157b
movss xmm3, dword [edi + 0x304]
movss xmm2, dword [0x4ca5d0]
movaps xmm1, xmm3
mulss xmm1, xmm2
mov ecx, dword [edi + 0x270]
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
movaps xmm0, xmm1
divss xmm0, dword [0x4cd688]
movss dword [esp + 0x2c], xmm0
cmp ecx, 1
jne 0x451349
divss xmm1, dword [0x4cd6b8]
jmp 0x451501
cmp ecx, 5
jne 0x45139f
divss xmm1, dword [0x4cc578]
push esi
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x44]
push eax
movss dword [esp + 0x38], xmm1
call fcn.0040157b
movss xmm0, dword [edi + 0x304]
mulss xmm0, dword [0x4ca5d0]
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
divss xmm0, dword [0x4cd68c]
movss dword [esp + 0x2c], xmm0
jmp 0x451507
lea eax, [ecx - 6]
cmp eax, 0x79
ja 0x451480
movss xmm1, dword [esp + 0x10]
lea eax, [esp + 0x24]
cvtps2pd xmm1, xmm1
push esi
push eax
lea eax, [esp + 0x44]
push eax
movaps xmm0, xmm1
mulsd xmm0, qword [0x4cd628]
divsd xmm0, qword [0x4cd658]
cvtpd2ps xmm0, xmm0
movss dword [esp + 0x30], xmm0
movaps xmm0, xmm1
mulsd xmm0, qword [0x4cd6e0]
mulsd xmm0, qword [0x4cd630]
cvtpd2ps xmm0, xmm0
movss dword [esp + 0x34], xmm0
cvtps2pd xmm0, xmm3
mulsd xmm0, qword [0x4cd6f0]
divsd xmm0, qword [0x4cd668]
cvtpd2ps xmm0, xmm0
movss dword [esp + 0x38], xmm0
call fcn.0040157b
movss xmm2, dword [esp + 0x10]
cvtps2pd xmm1, xmm2
movaps xmm0, xmm1
mulsd xmm1, qword [0x4cd5f8]
mulsd xmm0, qword [0x4cd630]
divsd xmm1, qword [0x4cd658]
mulsd xmm0, qword [0x4cd638]
cvtpd2ps xmm0, xmm0
movss dword [esp + 0x24], xmm0
cvtpd2ps xmm0, xmm1
movaps xmm1, xmm2
divss xmm1, dword [0x4cc578]
movss dword [esp + 0x28], xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x4cd5d4]
subss xmm1, xmm0
movss dword [esp + 0x2c], xmm1
jmp 0x451507
cmp ecx, 2
jne 0x4514d3
divss xmm1, dword [0x4cd698]
push esi
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x44]
push eax
movss dword [esp + 0x38], xmm1
call fcn.0040157b
movss xmm0, dword [edi + 0x304]
mulss xmm0, dword [0x4ca5d0]
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
divss xmm0, dword [0x4cd694]
movss dword [esp + 0x2c], xmm0
jmp 0x451507
cmp ecx, 4
jne 0x451507
movss xmm0, dword [esp + 0x10]
movaps xmm1, xmm0
mulss xmm0, xmm2
divss xmm1, dword [0x4cb320]
divss xmm0, dword [0x4cc578]
movss dword [esp + 0x28], xmm1
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x24], xmm1
push esi
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.0040157b
cvttss2si eax, dword [edi + 0x2f0]
mov ecx, dword [0x509a78]
movq xmm0, qword [esp + 0x3c]
imul eax, eax, 0xff
movq qword [esp + 0x84], xmm0
movq xmm0, qword [esp + 0x30]
movq qword [esp + 0x90], xmm0
movq xmm0, qword [edi + 0x308]
mov dword [esp + 0xb4], eax
cvttss2si eax, dword [edi + 0x2f4]
movq qword [esp + 0x9c], xmm0
imul eax, eax, 0xff
movq xmm0, qword [edi + 0x314]
movq qword [esp + 0xa8], xmm0
mov dword [esp + 0xb8], eax
cvttss2si eax, dword [edi + 0x2f8]
imul eax, eax, 0xff
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x98], eax
mov eax, dword [edi + 0x310]
mov dword [esp + 0xa4], eax
mov eax, dword [edi + 0x31c]
mov dword [esp + 0xb0], eax
lea eax, [esp + 0x84]
push eax
call fcn.00468430
movq xmm0, qword [esp + 0x3c]
mov eax, dword [esp + 0x44]
movq qword [edi + 0x308], xmm0
movq xmm0, qword [esp + 0x30]
mov dword [edi + 0x310], eax
mov eax, dword [esp + 0x38]
movq qword [edi + 0x314], xmm0
mov dword [edi + 0x31c], eax
mov eax, dword [edi + 0x270]
cmp eax, 5
jne 0x451675
movss xmm0, dword [edi + 0x304]
lea eax, [ebp + 0x174]
divss xmm0, dword [0x4cc578]
push eax
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0
push eax
lea eax, [esp + 0x44]
mov dword [esp + 0x30], 0
push eax
movss dword [esp + 0x38], xmm0
call fcn.0040157b
movss xmm0, dword [edi + 0x304]
divss xmm0, dword [0x4cd68c]
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
jmp 0x45175a
jle 0x451847
cmp eax, 0x80
jge 0x451847
movss xmm2, dword [esp + 0x10]
lea eax, [ebp + 0x174]
cvtps2pd xmm1, xmm2
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x44]
push eax
movaps xmm0, xmm1
movsd qword [esp + 0x1c], xmm1
mulsd xmm0, qword [0x4cd630]
movsd qword [esp + 0x28], xmm0
mulsd xmm0, qword [0x4cd638]
cvtpd2ps xmm0, xmm0
movss dword [esp + 0x30], xmm0
movaps xmm0, xmm1
mulsd xmm0, qword [0x4cd5f8]
divsd xmm0, qword [0x4cd658]
cvtpd2ps xmm0, xmm0
movss dword [esp + 0x34], xmm0
movaps xmm0, xmm2
divss xmm0, dword [0x4cc578]
mulss xmm2, dword [0x4cd5d4]
movss dword [esp + 0x24], xmm0
subss xmm0, xmm2
movss dword [esp + 0x38], xmm0
call fcn.0040157b
movsd xmm0, qword [esp + 0x1c]
movsd xmm1, qword [esp + 0x10]
cvtpd2ps xmm0, xmm0
movss dword [esp + 0x24], xmm0
movaps xmm0, xmm1
mulsd xmm0, qword [0x4cd620]
divsd xmm1, qword [0x4cd660]
divsd xmm0, qword [0x4cd658]
cvtpd2ps xmm0, xmm0
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x18]
cvtps2pd xmm0, xmm0
subsd xmm0, xmm1
cvtpd2ps xmm0, xmm0
lea eax, [ebp + 0x174]
movss dword [esp + 0x2c], xmm0
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.0040157b
cvttss2si eax, dword [edi + 0x2f0]
mov ecx, dword [0x509a78]
movq xmm0, qword [esp + 0x3c]
imul eax, eax, 0xff
movq qword [esp + 0x48], xmm0
movq xmm0, qword [esp + 0x30]
movq qword [esp + 0x54], xmm0
movq xmm0, qword [edi + 0x320]
mov dword [esp + 0x78], eax
cvttss2si eax, dword [edi + 0x2f4]
movq qword [esp + 0x60], xmm0
imul eax, eax, 0xff
movq xmm0, qword [edi + 0x32c]
movq qword [esp + 0x6c], xmm0
mov dword [esp + 0x7c], eax
cvttss2si eax, dword [edi + 0x2f8]
imul eax, eax, 0xff
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x5c], eax
mov eax, dword [edi + 0x328]
mov dword [esp + 0x68], eax
mov eax, dword [edi + 0x334]
mov dword [esp + 0x74], eax
lea eax, [esp + 0x48]
push eax
call fcn.00468430
movq xmm0, qword [esp + 0x3c]
mov eax, dword [esp + 0x44]
movq qword [edi + 0x320], xmm0
movq xmm0, qword [esp + 0x30]
mov dword [edi + 0x328], eax
mov eax, dword [esp + 0x38]
movq qword [edi + 0x32c], xmm0
mov dword [edi + 0x334], eax
mov ecx, dword [esp + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00498846
add esp, 0xb4
ret 4