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

Disassembly:
sub esp, 0x74
mov edx, ecx
mov dword [esp + 0x60], 0
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x68], edx
push esi
mov eax, dword [edx + 0x38c]
movss xmm0, dword [edx + 0x140]
mov dword [esp + 0x68], eax
mov eax, dword [edx + 0x390]
mov dword [esp + 0x20], eax
mov eax, dword [edx + 0xe8]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [edx + 0x144]
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0xec]
mov dword [esp + 0x10], eax
movss dword [esp + 0x28], xmm0
push edi
test ecx, ecx
je 0x1012a15c
lea eax, [edx + 0x120]
mov esi, 0x100
mov dword [esp + 0x20], eax
lea eax, [edx + 0x3c8]
mov dword [esp + 0x1c], eax
lea eax, [edx + 0x8a4]
mov dword [esp + 8], eax
nop word [eax + eax]
mov eax, dword [edx + 0x394]
cmp eax, 0x100
movss xmm0, dword [edx + 0x4a0]
cmova eax, esi
movss dword [esp + 0x30], xmm0
sub ecx, dword [esp + 0x68]
mov esi, dword [edx + 0x498]
cmp ecx, eax
cmova ecx, eax
mov eax, dword [edx + 0x49c]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x34], eax
test ecx, ecx
je 0x10129d8a
lea edi, [edx + 0x4a4]
mov dword [esp + 0x5c], ecx
add esi, eax
mov eax, esi
and eax, 0xffffff
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1016a520]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x1021cccc]
cvtps2pd xmm0, xmm0
call fcn.10096d40
movss xmm1, dword [0x1028a2d8]
mov eax, dword [esp + 0x34]
cvtsd2ss xmm0, xmm0
addss xmm0, xmm1
mulss xmm0, dword [esp + 0x30]
movss dword [edi], xmm0
add edi, 4
sub dword [esp + 0x5c], 1
jne 0x10129d27
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x70]
jmp 0x10129d92
movss xmm1, dword [0x1028a2d8]
movd xmm0, ecx
mov eax, ecx
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
mov edi, dword [esp + 0x20]
mov dword [edx + 0x498], esi
lea edx, [ecx*4]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x30], edi
addsd xmm0, qword [eax*8 + 0x1016a520]
xor eax, eax
mov dword [esp + 0x5c], edx
mov dword [esp + 0x74], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movss dword [esp + 0xc], xmm1
mov ecx, dword [esp + 0x80]
mov edx, ecx
sub edx, dword [edi]
mov esi, ecx
sub esi, dword [edi + 4]
mov edi, ecx
mov ecx, dword [esp + 0x70]
sub edi, dword [ecx + eax*4 + 0x394]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x58], edi
movss xmm7, dword [eax - 0x20]
mov eax, ecx
movaps xmm6, xmm7
mulss xmm6, dword [eax + 0x3a4]
cmp edx, esi
je 0x10129e29
movaps xmm5, xmm6
mulss xmm5, xmm1
jmp 0x10129e2c
xorps xmm5, xmm5
xor edi, edi
xorps xmm4, xmm4
mov dword [esp + 0x40], edi
cmp dword [esp + 0x78], edi
je 0x10129fed
nop
mov ecx, dword [esp + 0x18]
and edx, ecx
and esi, ecx
mov dword [esp + 0x50], edx
cmp edx, esi
mov dword [esp + 0x48], esi
mov eax, esi
cmova eax, edx
sub ecx, eax
mov eax, dword [esp + 0x78]
sub eax, edi
inc ecx
cmp eax, ecx
cmova eax, ecx
shl esi, 4
add esi, dword [esp + 0x14]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x64]
add eax, edi
shl edx, 4
add edx, dword [esp + 0x14]
shl eax, 2
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x44], esi
mov dword [esp + 0x4c], edx
lea eax, [eax + edi*4]
add eax, 0x4a4
mov dword [esp + 0x3c], eax
nop dword [eax]
movss xmm1, dword [eax]
mulss xmm1, dword [0x1021cd08]
mov edx, dword [esp + 0x58]
mov edi, edx
mov esi, dword [esp + 0x74]
inc edx
mov dword [esp + 0x58], edx
cvttss2si ecx, xmm1
mov eax, ecx
shr eax, 8
sub edi, eax
movzx eax, cl
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x6c]
and eax, edi
lea ecx, [esi + eax*4]
lea eax, [edi - 1]
and eax, dword [esp + 0x6c]
lea edx, [esi + eax*4]
lea eax, [edi - 2]
and eax, dword [esp + 0x6c]
lea esi, [esi + eax*4]
lea eax, [edi - 3]
mov edi, dword [esp + 0x74]
and eax, dword [esp + 0x6c]
lea edi, [edi + eax*4]
mov eax, dword [esp + 0x54]
shl eax, 2
mov dword [esp + 0x54], eax
movss xmm2, dword [eax + 0x1021c780]
movss xmm3, dword [eax + 0x1021c380]
mov eax, 0x1021c780
sub eax, dword [esp + 0x54]
movss xmm1, dword [eax]
mov eax, 0x1021cb80
sub eax, dword [esp + 0x54]
movss xmm0, dword [eax]
mov eax, dword [esp + 0x24]
mulss xmm3, dword [eax + edx*4]
mov edx, dword [esp + 0x50]
mulss xmm2, dword [eax + ecx*4]
inc edx
mov ecx, dword [esp + 0x4c]
mulss xmm1, dword [eax + esi*4]
mov esi, dword [esp + 0x48]
mulss xmm0, dword [eax + edi*4]
addss xmm3, xmm2
mov edi, dword [esp + 0x44]
mov eax, ecx
add ecx, 0x10
mov dword [esp + 0x50], edx
mov dword [esp + 0x4c], ecx
inc esi
mov ecx, edi
mov dword [esp + 0x48], esi
addss xmm3, xmm1
add edi, 0x10
movaps xmm1, xmm4
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x74]
mulss xmm1, xmm5
addss xmm3, xmm0
movaps xmm0, xmm6
addss xmm4, dword [0x1028a2d8]
subss xmm0, xmm1
mulss xmm1, dword [ecx + edi*4]
mov ecx, dword [esp + 0x38]
mulss xmm3, xmm7
mulss xmm0, dword [eax + edi*4]
mov eax, dword [esp + 0x88]
mov edi, dword [esp + 0x40]
inc edi
addss xmm0, xmm3
mov dword [esp + 0x40], edi
addss xmm0, xmm1
movss dword [ecx + eax], xmm0
mov eax, dword [esp + 0x3c]
add eax, 4
add ecx, 4
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ecx
sub dword [esp + 0x34], 1
jne 0x10129ea0
cmp edi, dword [esp + 0x78]
jb 0x10129e40
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x60]
add ecx, dword [esp + 0x88]
mov esi, dword [esp + 0x5c]
mov eax, dword [edi + 4]
mov dword [edi], eax
mov eax, dword [esp + 0x10]
sar eax, 2
push ecx
lea eax, [ecx + eax*4]
push eax
push ecx
push esi
lea ecx, [esi - 0x1c]
call fcn.1012f970
mov eax, dword [esp + 0x74]
add edi, 8
add dword [esp + 0x64], 0x100
inc eax
add dword [esp + 0x60], 0x400
add esi, 0x3c
movss xmm1, dword [esp + 0xc]
mov dword [esp + 0x74], eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x5c], esi
cmp eax, 4
jb 0x10129de5
mov esi, dword [esp + 0x78]
movss xmm0, dword [esp + 0x2c]
mov ecx, dword [esp + 8]
push esi
sub esp, 8
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x34]
movss dword [esp], xmm0
push dword [esp + 0x8c]
push dword [esp + 0x98]
call fcn.10129540
mov ecx, dword [esp + 0x88]
xor edx, edx
mov dword [esp + 0x30], edx
xor edi, edi
nop word [eax + eax]
mov eax, dword [esp + 0x8c]
add edx, ecx
mov esi, dword [esp + 0x68]
add eax, edi
lea eax, [eax + esi*4]
mov esi, dword [esp + 0x78]
test esi, esi
je 0x1012a0d3
lea ecx, [esi*4]
push ecx
push edx
push eax
call fcn.10086560
mov ecx, dword [esp + 0x94]
add esp, 0xc
mov edx, dword [esp + 0x30]
add edi, 0x1000
add edx, 0x400
mov dword [esp + 0x30], edx
cmp edi, 0x4000
jb 0x1012a0a0
movss xmm0, dword [esp + 0x2c]
mov edi, dword [esp + 0x80]
push esi
push ecx
mov eax, esp
sub esp, 8
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x38]
movss dword [esp], xmm0
mov dword [eax], ecx
mov eax, dword [esp + 0x34]
push edi
push eax
push dword [esp + 0x84]
call fcn.101279e0
mov eax, dword [esp + 0x84]
add edi, esi
mov ecx, dword [esp + 0xa0]
add eax, esi
mov edx, dword [esp + 0x8c]
add esp, 0x1c
mov dword [esp + 0x68], eax
mov esi, 0x100
mov dword [esp + 0x80], edi
cmp eax, ecx
jb 0x10129ce0
pop edi
pop esi
add esp, 0x74
ret 0x10