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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x78
mov eax, dword [0x103280c8]
push esi
push edi
or edi, 0xffffffff
mov dword [esp + 0x50], ecx
mov eax, dword [eax]
cmp byte [eax], 0
je 0x10199563
mov eax, dword [0x103280d8]
lea edx, [esp + 0x74]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov ecx, dword [eax + 0x1c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x4c]
mov eax, dword [0x103280d8]
mov edi, dword [eax + 0x10]
mov ecx, dword [eax + 0x1c]
mov edx, dword [edi]
mov eax, dword [ecx]
mov esi, dword [edx + 0xc]
mov eax, dword [eax + 0x30]
call eax
push eax
mov ecx, edi
call esi
lea ecx, [eax + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov ecx, dword [ebp + 8]
mov edi, eax
mov ecx, dword [ecx + 4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
call edx
mov ecx, dword [0x103280d8]
mov esi, eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x3c]
mov ecx, dword [ecx + 0x1c]
push eax
mov edx, dword [ecx]
call dword [edx + 0x14]
movss xmm0, dword [esi + 4]
sub esp, 8
movss xmm2, dword [esi]
subss xmm2, dword [edi]
subss xmm0, dword [edi + 4]
movss xmm1, dword [esi + 8]
subss xmm1, dword [edi + 8]
movss dword [esp + 0x68], xmm2
movss dword [esp + 0x6c], xmm0
mulss xmm2, xmm2
mulss xmm0, xmm0
movss dword [esp + 0x70], xmm1
mulss xmm1, xmm1
addss xmm2, xmm0
addss xmm2, xmm1
cvtps2pd xmm0, xmm2
movsd qword [esp], xmm0
call fcn.100e5cd0
fstp dword [esp + 0x2c]
movss xmm0, dword [esp + 0x2c]
lea eax, [esp + 0x20]
divss xmm0, dword [0x102cd5dc]
lea esi, [esp + 0x24]
mov dword [esp + 0x20], 0x3e99999a
lea ecx, [esp + 0x68]
movss xmm1, dword [0x102cd2e0]
subss xmm1, xmm0
comiss xmm1, dword [0x102cd284]
movss dword [esp + 0x24], xmm1
cmovbe esi, eax
add esp, 4
lea eax, [esp + 0x58]
push eax
call fcn.101ba3e0
movss xmm0, dword [esp + 0x78]
movss xmm2, dword [0x102cd540]
movss xmm3, dword [0x102cd65c]
subss xmm0, dword [eax + 4]
movss xmm1, dword [0x102cd5a0]
subss xmm0, xmm2
movss dword [esp + 8], xmm0
comiss xmm3, xmm0
jbe 0x101990ff
nop
addss xmm0, xmm1
comiss xmm3, xmm0
ja 0x101990f0
movss dword [esp + 8], xmm0
comiss xmm0, xmm2
jbe 0x10199113
subss xmm0, xmm1
comiss xmm0, xmm2
ja 0x10199104
movss dword [esp + 8], xmm0
movss xmm0, dword [0x102cd3ac]
sub esp, 8
divss xmm0, xmm2
mulss xmm0, dword [0x102cd4e0]
movss dword [esp + 0x2c], xmm0
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100e5d80
movss xmm0, dword [esp + 0x2c]
cvtps2pd xmm0, xmm0
fstp dword [esp + 0x3c]
movsd qword [esp], xmm0
call fcn.100e5dd0
movss xmm0, dword [0x102cd3ac]
divss xmm0, dword [0x102cd540]
fstp dword [esp + 0x34]
mulss xmm0, dword [esp + 0x10]
movss dword [esp + 0x2c], xmm0
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100e5d80
movss xmm0, dword [esp + 0x2c]
cvtps2pd xmm0, xmm0
fstp dword [esp + 0x38]
movsd qword [esp], xmm0
call fcn.100e5dd0
movss xmm0, dword [0x102cd3ac]
xorps xmm1, xmm1
divss xmm0, dword [0x102cd540]
fstp dword [esp + 0x30]
mulss xmm0, xmm1
movss dword [esp + 0x2c], xmm0
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100e5d80
movss xmm0, dword [esp + 0x2c]
fstp st(0)
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100e5dd0
movss xmm3, dword [esp + 0x30]
fstp st(0)
movss xmm4, dword [esp + 0x38]
mulss xmm3, dword [esp + 0x34]
mulss xmm4, dword [esp + 0x34]
movss xmm1, dword [esp + 0x3c]
movaps xmm0, xmm3
xorps xmm1, xmmword [0x102cd9f0]
movaps xmm2, xmm4
mulss xmm0, xmm3
mulss xmm2, xmm4
mulss xmm1, xmm1
addss xmm2, xmm0
movss dword [esp + 0x28], xmm3
movss dword [esp + 0x1c], xmm4
addss xmm2, xmm1
cvtps2pd xmm0, xmm2
movsd qword [esp], xmm0
call fcn.100e5cd0
fstp dword [esp + 0x2c]
movss xmm1, dword [esp + 0x2c]
add esp, 8
xorps xmm0, xmm0
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jnp 0x10199264
movss xmm4, dword [esp + 0x20]
movss xmm0, dword [esp + 0x14]
divss xmm4, xmm1
divss xmm0, xmm1
jmp 0x10199267
xorps xmm4, xmm4
mov eax, dword [0x103280cc]
push 0x30
mov eax, dword [eax + 0xc]
movss xmm2, dword [eax + 8]
mulss xmm2, dword [0x102cd600]
movaps xmm3, xmm2
mulss xmm2, xmm4
mulss xmm3, xmm0
movd xmm0, dword [esp + 0x3c]
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x102cd360]
addss xmm3, xmm0
movd xmm0, dword [esp + 0x40]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x18], xmm3
divss xmm0, dword [0x102cd360]
subss xmm0, xmm2
movss dword [esp + 0x14], xmm0
call fcn.100bbd3c
movss xmm5, dword [esp + 0x18]
add esp, 4
movss xmm4, dword [esp + 0x10]
mov dword [eax + 4], 1
movaps xmm1, xmm4
mov dword [eax + 8], 1
lea edi, [eax + 0xc]
mov dword [eax], 0x102cb570
lea ecx, [eax + 4]
mov dword [edi], 2
mov dword [esp + 0x24], eax
mov eax, dword [0x103280cc]
movss xmm6, dword [esi]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x60]
mov dword [esp + 0x54], edi
mov eax, dword [eax + 0xc]
movss dword [esp + 0x6c], xmm6
movss xmm0, dword [eax + 0x10]
movss xmm3, dword [eax + 0xc]
movss dword [esp + 0x60], xmm0
movaps xmm2, xmm3
movss xmm0, dword [eax + 0x14]
mulss xmm2, dword [0x102cd3fc]
mulss xmm3, dword [0x102cd3fc]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [eax + 0x18]
lea eax, [edi + 0xc]
movss dword [esp + 0x68], xmm0
subss xmm1, xmm3
movaps xmm0, xmm2
mov dword [esp + 0x14], eax
addss xmm0, xmm5
lea eax, [edi + 0x1c]
mov dword [esp + 0x18], eax
lea eax, [edi + 0x14]
mov dword [esp + 0x1c], eax
movss dword [edi + 0xc], xmm0
movss dword [edi + 0x10], xmm1
movss dword [edi + 0x1c], xmm5
subss xmm5, xmm2
movss dword [edi + 0x20], xmm4
subss xmm4, xmm3
movss dword [edi + 0x14], xmm5
movss dword [edi + 0x18], xmm4
call fcn.1015c630
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x14]
movss dword [edi + 8], xmm6
xor edi, edi
movss xmm1, dword [ecx]
movss xmm2, dword [eax + 4]
addss xmm1, dword [eax]
addss xmm2, dword [ecx + 4]
addss xmm1, dword [edx]
addss xmm2, dword [edx + 4]
divss xmm1, dword [0x102cd394]
divss xmm2, dword [0x102cd394]
movss dword [esp + 0xc], xmm1
movss dword [esp + 0x10], xmm2
movss xmm0, dword [0x102cd3ac]
divss xmm0, dword [0x102cd540]
mulss xmm0, dword [esp + 8]
cvtps2pd xmm3, xmm0
movss dword [esp + 8], xmm0
movsd qword [esp + 0x60], xmm3
nop
xor esi, esi
test edi, edi
jne 0x1019941a
mov esi, eax
jmp 0x10199429
cmp edi, 1
jne 0x10199423
mov esi, ecx
jmp 0x10199429
cmp edi, 2
cmove esi, edx
movss xmm0, dword [esi]
sub esp, 8
subss xmm0, xmm1
movsd qword [esp], xmm3
movss dword [esp + 0x4c], xmm0
movss dword [esi], xmm0
movss xmm0, dword [esi + 4]
subss xmm0, xmm2
movss dword [esp + 0x54], xmm0
movss dword [esi + 4], xmm0
call fcn.100e5dd0
movss xmm1, dword [esp + 0x10]
cvtps2pd xmm0, xmm1
fstp dword [esp + 0x48]
movsd qword [esp], xmm0
call fcn.100e5d80
movss xmm3, dword [esp + 0x48]
inc edi
mov eax, dword [esp + 0x1c]
movaps xmm1, xmm3
mulss xmm1, dword [esp + 0x4c]
add esp, 8
mov ecx, dword [esp + 0x18]
mulss xmm3, dword [esp + 0x4c]
mov edx, dword [esp + 0x1c]
fstp dword [esp + 0x48]
movss xmm2, dword [esp + 0x48]
movaps xmm0, xmm2
mulss xmm2, dword [esp + 0x44]
mulss xmm0, dword [esp + 0x4c]
addss xmm2, xmm3
movsd xmm3, qword [esp + 0x60]
subss xmm1, xmm0
addss xmm2, dword [esp + 0x10]
addss xmm1, dword [esp + 0xc]
movss dword [esi + 4], xmm2
movss xmm2, dword [esp + 0x10]
movss dword [esi], xmm1
movss xmm1, dword [esp + 0xc]
cmp edi, 3
jl 0x10199410
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x20]
add ecx, 0x70
lock inc dword [eax]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x54]
push eax
call fcn.100523a0
mov esi, dword [esp + 0x58]
or edi, 0xffffffff
test esi, esi
je 0x1019953b
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1019953b
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1019953b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [esp + 0x20]
mov eax, edi
lock xadd dword [ecx], eax
jne 0x10199563
mov esi, dword [esp + 0x24]
mov ecx, esi
mov eax, dword [esi]
call dword [eax]
mov eax, edi
lea ecx, [esi + 8]
lock xadd dword [ecx], eax
jne 0x10199563
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x10199588
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10199588
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x10199588
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8