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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x38
mov eax, dword [ebp + 8]
movss xmm1, dword [0x1028a2d8]
push esi
mov esi, dword [ebp + 0x10]
mov eax, dword [eax]
push edi
mov edi, ecx
movss xmm4, dword [esi + 0x18]
mov eax, dword [eax + 4]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
cmp byte [esi + 0x68], 0
addsd xmm0, qword [eax*8 + 0x1016a520]
cvtpd2ps xmm0, xmm0
movss dword [esp + 0x10], xmm0
je 0x1012a5a4
movss xmm0, dword [esi + 0x58]
comiss xmm1, xmm0
jbe 0x1012a5a4
cvtps2pd xmm0, xmm0
call fcn.1015a9e0
xorps xmm1, xmm1
movss xmm4, dword [esi + 0x18]
cvtsd2ss xmm1, xmm0
movss xmm0, dword [0x1021cce8]
mulss xmm1, dword [esi + 0x14]
divss xmm1, dword [0x1021a00c]
divss xmm0, xmm1
minss xmm4, xmm0
movss xmm5, dword [esi + 0x14]
mov ecx, 1
movss xmm2, dword [0x10206044]
movaps xmm0, xmm5
mulss xmm0, dword [esi + 0x1c]
movaps xmm3, xmm2
mov dl, byte [edi + 0x40]
maxss xmm3, xmm0
movaps xmm0, xmm5
mulss xmm0, xmm4
maxss xmm2, xmm0
minss xmm3, dword [0x10211208]
minss xmm2, dword [0x10211208]
movss dword [esp + 0x3c], xmm3
movss dword [esp + 0x38], xmm2
test dl, dl
je 0x1012a681
movss xmm0, dword [edi + 0x1c]
ucomiss xmm0, dword [esi]
lahf
test ah, 0x44
jp 0x1012a681
movss xmm0, dword [edi + 0x20]
ucomiss xmm0, dword [esi + 4]
lahf
test ah, 0x44
jp 0x1012a681
movss xmm0, dword [edi + 0x24]
ucomiss xmm0, xmm5
lahf
test ah, 0x44
jp 0x1012a681
movss xmm0, dword [edi + 0x28]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x1012a681
movss xmm0, dword [edi + 0x2c]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x1012a681
movss xmm0, dword [edi + 0x30]
ucomiss xmm0, dword [esi + 0x50]
lahf
test ah, 0x44
jp 0x1012a681
movss xmm0, dword [edi + 0x34]
ucomiss xmm0, dword [esi + 0x54]
lahf
test ah, 0x44
jp 0x1012a681
movss xmm0, dword [edi + 0x38]
ucomiss xmm0, dword [esi + 0x5c]
lahf
test ah, 0x44
jp 0x1012a681
movss xmm0, dword [edi + 0x3c]
ucomiss xmm0, dword [esi + 0x60]
lahf
test ah, 0x44
jp 0x1012a681
mov byte [esp + 0xf], 0
jmp 0x1012a6c8
mov eax, dword [esi]
test dl, dl
mov dword [edi + 0x1c], eax
mov eax, dword [esi + 4]
mov dword [edi + 0x20], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x24], eax
movss dword [edi + 0x28], xmm2
movss dword [edi + 0x2c], xmm3
mov eax, dword [esi + 0x50]
mov dword [edi + 0x30], eax
mov eax, dword [esi + 0x54]
mov dword [edi + 0x34], eax
mov eax, dword [esi + 0x5c]
mov dword [edi + 0x38], eax
mov eax, dword [esi + 0x60]
mov dword [edi + 0x3c], eax
mov eax, 4
cmovne eax, ecx
mov byte [esp + 0xf], cl
xor byte [edi + 0x41], cl
mov byte [edi + 0x40], al
movzx eax, byte [edi + 0x41]
mov edx, dword [ebp + 0x14]
imul eax, eax, 0xb44
push edx
mov ecx, dword [edx + 0x84]
add eax, 0x44
add eax, edi
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 0x80]
mov dword [edi + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0xc], ecx
movss xmm1, dword [eax + 0x90]
mulss xmm1, dword [esi + 8]
movzx eax, byte [edi + 0xa6e0]
mov edi, dword [esp + 0x1c]
mov ecx, edi
push eax
mulss xmm1, dword [0x102a13a4]
lea eax, [esi + 0x3c]
sub esp, 8
movaps xmm0, xmm1
mulss xmm1, dword [esi + 0x20]
mulss xmm0, dword [esi + 0x34]
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
push eax
lea eax, [esi + 0x28]
push eax
call fcn.1012a170
movss xmm0, dword [esi + 0x5c]
divss xmm0, dword [esp + 0x10]
movss xmm1, dword [0x1021ccfc]
movss dword [esp + 0x14], xmm1
minss xmm1, xmm0
movss xmm0, dword [0x1028a2d8]
movss dword [esp + 0x28], xmm1
movss xmm1, dword [0x10207d94]
maxss xmm1, dword [esi + 0xc]
divss xmm0, xmm1
movss dword [esp + 0x24], xmm1
addss xmm0, xmm1
xorps xmm1, xmm1
mulss xmm0, xmm1
addss xmm0, dword [0x1028a308]
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x1012a7a3
sqrtsd xmm0, xmm0
jmp 0x1012a7a8
call fcn.10098ad0
cvtsd2ss xmm0, xmm0
sub esp, 0xc
mov ecx, edi
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0x30]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x34]
movss dword [esp], xmm0
push 0
call fcn.1012fb70
movss xmm0, dword [esi + 0x60]
divss xmm0, dword [esp + 0x10]
movss xmm1, dword [esp + 0x14]
minss xmm1, xmm0
movss xmm0, dword [0x10207d94]
maxss xmm0, dword [esi + 0x10]
movss dword [esp + 0x14], xmm1
movss xmm1, dword [0x1028a2d8]
divss xmm1, xmm0
movss dword [esp + 0x24], xmm0
addss xmm1, xmm0
xorps xmm0, xmm0
mulss xmm1, xmm0
addss xmm1, dword [0x1028a308]
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x1012a834
sqrtsd xmm0, xmm0
jmp 0x1012a839
call fcn.10098ad0
cvtsd2ss xmm0, xmm0
sub esp, 0xc
lea ecx, [edi + 0x1c]
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0x30]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x20]
movss dword [esp], xmm0
push 1
call fcn.1012fb70
movss xmm0, dword [edi + 8]
movss dword [edi + 0x40], xmm0
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [edi + 0xc]
movss dword [edi + 0x44], xmm0
movss xmm7, dword [edi + 0x10]
movss dword [edi + 0x48], xmm7
movss xmm6, dword [edi + 0x14]
movss dword [edi + 0x4c], xmm6
movss xmm5, dword [edi + 0x18]
movss dword [edi + 0x50], xmm5
movss xmm4, dword [edi + 0x24]
movss dword [edi + 0x5c], xmm4
movss xmm3, dword [edi + 0x28]
movss dword [edi + 0x60], xmm3
movss xmm2, dword [edi + 0x2c]
movss dword [edi + 0x64], xmm2
movss xmm1, dword [edi + 0x30]
movss dword [edi + 0x68], xmm1
movss dword [esp + 0x20], xmm0
movss xmm0, dword [edi + 0x34]
movss dword [edi + 0x6c], xmm0
movss dword [esp + 0x24], xmm7
movss xmm7, dword [esp + 0x1c]
movss dword [edi + 0x78], xmm7
movss xmm7, dword [esp + 0x20]
movss dword [edi + 0x7c], xmm7
movss xmm7, dword [esp + 0x24]
movss dword [edi + 0x80], xmm7
movss xmm7, dword [esp + 0x1c]
movss dword [edi + 0x84], xmm6
movss dword [edi + 0x88], xmm5
movss dword [edi + 0x94], xmm4
movss dword [edi + 0x98], xmm3
movss dword [edi + 0x9c], xmm2
movss dword [edi + 0xa0], xmm1
movss dword [edi + 0xa4], xmm0
movss dword [edi + 0xb0], xmm7
movss xmm7, dword [esp + 0x20]
movss dword [edi + 0xb4], xmm7
movss xmm7, dword [esp + 0x24]
movss dword [edi + 0xb8], xmm7
movss dword [edi + 0xbc], xmm6
movss dword [edi + 0xc0], xmm5
movss dword [edi + 0xcc], xmm4
movss dword [edi + 0xd0], xmm3
movss dword [edi + 0xd4], xmm2
movss dword [edi + 0xd8], xmm1
movss dword [edi + 0xdc], xmm0
movss xmm0, dword [esi]
mulss xmm0, dword [0x1021cd10]
push ecx
movss dword [esp], xmm0
call fcn.1015b710
movss xmm2, dword [0x1016c6f8]
lea eax, [edi + 0x110]
movss xmm4, dword [esi + 0x24]
add esp, 4
movss xmm0, dword [esi + 0x38]
movss xmm5, dword [esi + 0x14]
lea esi, [edi + 0x124]
movss xmm3, dword [esp + 0x10]
xor edi, edi
fstp dword [esp + 0x24]
maxss xmm2, dword [esp + 0x24]
movss dword [esp + 0x2c], xmm4
movss dword [esp + 0x20], xmm0
movss dword [esp + 0x30], xmm5
mov dword [esp + 0x24], eax
movss dword [esp + 0x1c], xmm2
nop word [eax + eax]
mulss xmm2, dword [edi + 0x1021cc50]
movsd xmm0, qword [0x10219fa8]
movaps xmm1, xmm2
divss xmm2, xmm5
addss xmm1, xmm4
mulss xmm1, xmm3
cvttss2si eax, xmm1
cvtps2pd xmm1, xmm2
mov dword [esi - 0x30], eax
call fcn.100979b0
mov ecx, dword [esp + 0x24]
movss xmm2, dword [esp + 0x1c]
movss xmm3, dword [esp + 0x10]
cvtsd2ss xmm0, xmm0
movss xmm4, dword [esp + 0x2c]
movss dword [ecx], xmm0
add ecx, 4
movss xmm1, dword [edi + 0x1021cc90]
add edi, 4
subss xmm1, dword [0x1021cce4]
movss xmm5, dword [esp + 0x30]
mov dword [esp + 0x24], ecx
mulss xmm1, dword [0x101ec03c]
mulss xmm1, xmm2
addss xmm1, dword [esp + 0x20]
mulss xmm1, xmm3
cvttss2si eax, xmm1
mov dword [esi], eax
add esi, 8
cmp edi, 0x10
jb 0x1012aa10
cmp byte [esp + 0xf], 0
mov esi, dword [ebp + 0x10]
je 0x1012ac71
movss xmm0, dword [esi + 4]
xor edi, edi
mov eax, dword [esp + 0x18]
movss xmm4, dword [esi + 0x14]
mulss xmm0, xmm0
movss dword [esp + 0x30], xmm4
lea esi, [eax + 0x16c]
mulss xmm0, dword [0x1016c69c]
movss dword [eax + 0x150], xmm0
movaps xmm1, xmm2
movsd xmm0, qword [0x10219fa8]
mulss xmm1, dword [edi + 0x1021cc60]
mulss xmm1, xmm3
cvttss2si eax, xmm1
mov dword [esi - 0x18], eax
mulss xmm2, dword [edi + 0x1021cc70]
movaps xmm1, xmm2
divss xmm2, xmm4
mulss xmm1, xmm3
cvttss2si eax, xmm1
cvtps2pd xmm1, xmm2
mov dword [esi], eax
call fcn.100979b0
movss xmm3, dword [esp + 0x10]
lea esi, [esi + 4]
movss xmm2, dword [esp + 0x1c]
add edi, 4
movss xmm4, dword [esp + 0x30]
cvtsd2ss xmm0, xmm0
movss dword [esi + 0xc], xmm0
cmp edi, 0x10
jb 0x1012aae2
movsd xmm0, qword [0x1021cd00]
call fcn.10098500
mov esi, dword [ebp + 0x10]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esi + 4]
cvtss2sd xmm0, xmm0
movsd qword [esp + 0x30], xmm0
call fcn.10096b80
mov edi, dword [esp + 0x18]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movsd xmm0, qword [esp + 0x30]
movss dword [edi + 0x140], xmm1
call fcn.10096d40
cvtsd2ss xmm0, xmm0
mov ecx, 1
movss xmm2, dword [esp + 0x10]
divss xmm0, dword [0x10219fc4]
movss xmm1, dword [0x1021cd14]
movss dword [edi + 0x144], xmm0
movss xmm3, dword [esi + 0x50]
movaps xmm0, xmm3
movss xmm4, dword [esi + 0x54]
mulss xmm0, xmm2
divss xmm1, xmm0
cvtss2si eax, xmm1
cmp eax, 1
cmova ecx, eax
comiss xmm3, dword [0x101ec03c]
mov dword [edi + 0x49c], ecx
jb 0x1012abec
movss xmm3, dword [0x1021ccec]
jmp 0x1012abf4
mulss xmm3, dword [0x1021ccf4]
movss xmm0, dword [esp + 0x28]
lea ecx, [edi + 0x38c]
sub esp, 0x20
mulss xmm3, xmm4
mulss xmm3, xmm2
movss dword [edi + 0x4a0], xmm3
movss dword [esp + 0x1c], xmm2
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0x34]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esp + 0x58]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esi + 0x14]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esp + 0x5c]
movss dword [esp + 8], xmm0
movss xmm0, dword [esi + 4]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x3c]
movss dword [esp], xmm0
call fcn.1012acb0
movss xmm3, dword [esp + 0x10]
jmp 0x1012ac75
mov edi, dword [esp + 0x18]
movss xmm1, dword [esi + 0x38]
addss xmm1, dword [esi + 0x24]
movss xmm0, dword [0x1016cce0]
addss xmm1, dword [esi + 0x14]
mulss xmm1, xmm3
minss xmm0, xmm1
call fcn.10084ee0
mov dword [edi + 0xb40], eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14