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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x78
mov eax, dword [0x1034a72c]
push esi
push edi
mov dword [esp + 0x40], ecx
mov eax, dword [eax]
cmp byte [eax + 8], 0
je 0x10189396
mov eax, dword [0x1034a73c]
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 [0x1034a72c]
mov eax, dword [eax]
mov ecx, dword [eax]
mov eax, dword [ecx + 4]
add ecx, 4
mov eax, dword [eax + 4]
call eax
mov ecx, dword [ebp + 8]
mov edi, eax
mov ecx, dword [ecx]
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
call edx
mov ecx, dword [0x1034a73c]
mov esi, eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x2c]
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.100d5bd0
movss xmm3, dword [0x102fb278]
add esp, 8
fstp dword [esp + 0x24]
movss xmm2, dword [esp + 0x24]
movaps xmm1, xmm2
movss xmm4, dword [0x102fafe8]
divss xmm1, xmm3
movaps xmm0, xmm4
subss xmm0, xmm1
movss xmm1, dword [0x102faf90]
movss dword [esp + 0xc], xmm1
comiss xmm1, xmm0
ja 0x10188fed
divss xmm2, xmm3
movaps xmm0, xmm4
subss xmm0, xmm2
movss dword [esp + 0xc], xmm0
push ecx
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x68]
call fcn.101a4c40
movss xmm0, dword [esp + 0x78]
lea ecx, [esp + 0x60]
mov dword [esp + 0x60], 0
mov dword [esp + 0x68], 0
subss xmm0, dword [eax + 4]
lea eax, [esp + 0x44]
push eax
subss xmm0, dword [0x102fb1a8]
movss dword [esp + 0x68], xmm0
call fcn.101a5640
movss xmm0, dword [0x102fb094]
sub esp, 8
divss xmm0, dword [0x102fb1f0]
mov esi, dword [0x1034a734]
movss xmm1, dword [eax + 4]
mulss xmm0, xmm1
movss dword [esp + 0x18], xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100d5cd0
movd xmm0, dword [esp + 0x30]
cvtdq2ps xmm0, xmm0
mov eax, dword [esi + 0xc]
mov esi, dword [0x1034a734]
fstp dword [esp + 0x2c]
divss xmm0, dword [0x102fb050]
movss xmm1, dword [esp + 0x2c]
mulss xmm1, dword [eax + 4]
addss xmm1, xmm0
movss xmm0, dword [0x102fb094]
divss xmm0, dword [0x102fb1f0]
movss dword [esp + 0x24], xmm1
mulss xmm0, dword [esp + 0x18]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100d5c80
movd xmm0, dword [esp + 0x34]
mov eax, dword [esi + 0xc]
cvtdq2ps xmm0, xmm0
push 0x30
fstp dword [esp + 0x30]
divss xmm0, dword [0x102fb050]
movss xmm1, dword [esp + 0x30]
mulss xmm1, dword [eax + 4]
addss xmm1, xmm0
movss dword [esp + 0x24], xmm1
call fcn.10099780
movss xmm4, dword [esp + 0x28]
add esp, 0xc
movss xmm3, dword [esp + 0x18]
movaps xmm1, xmm4
movss xmm2, dword [0x102fb0dc]
movss xmm6, dword [esp + 0xc]
lea ecx, [eax + 4]
lea esi, [eax + 0xc]
mov dword [eax + 8], 1
mov dword [eax], 0x102f9560
subss xmm1, xmm2
mov dword [ecx], 1
mov dword [esi], 2
mov dword [esp + 0x24], eax
mov eax, dword [0x1034a734]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x44], esi
movss dword [esp + 0x6c], xmm6
mov eax, dword [eax + 0xc]
movss xmm0, dword [eax + 8]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [eax + 0xc]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [eax + 0x10]
lea eax, [esi + 0xc]
movss dword [esp + 0x68], xmm0
movaps xmm0, xmm3
subss xmm0, xmm2
mov dword [esp + 0x14], eax
movss dword [esi + 0xc], xmm1
lea eax, [esi + 0x1c]
movss dword [esi + 0x10], xmm0
lea ecx, [esp + 0x60]
movaps xmm0, xmm4
mov dword [esp + 0x18], eax
addss xmm0, dword [0x102fb0c8]
subss xmm4, xmm2
lea eax, [esi + 0x14]
mov dword [esp + 0x1c], eax
movss dword [esi + 0x1c], xmm0
movss dword [esi + 0x20], xmm3
addss xmm3, xmm2
movss dword [esi + 0x14], xmm4
movss dword [esi + 0x18], xmm3
call fcn.101422a0
mov ecx, dword [esp + 0x18]
xor edi, edi
movss xmm0, dword [0x102fb094]
divss xmm0, dword [0x102fb1f0]
mov edx, dword [esp + 0x1c]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x14]
movss dword [esi + 8], xmm6
movss xmm1, dword [eax]
movss xmm2, dword [eax + 4]
addss xmm1, dword [ecx]
addss xmm2, dword [ecx + 4]
mulss xmm0, dword [esp + 0x10]
addss xmm1, dword [edx]
addss xmm2, dword [edx + 4]
cvtps2pd xmm3, xmm0
divss xmm1, dword [0x102fb07c]
divss xmm2, dword [0x102fb07c]
cvtps2pd xmm0, xmm0
movss dword [esp + 0xc], xmm1
movss dword [esp + 0x3c], xmm2
movsd qword [esp + 0x60], xmm3
movsd qword [esp + 0x50], xmm0
nop dword [eax + eax]
xor esi, esi
test edi, edi
jne 0x1018924a
mov esi, eax
jmp 0x10189259
cmp edi, 1
jne 0x10189253
mov esi, ecx
jmp 0x10189259
cmp edi, 2
cmove esi, edx
movss xmm0, dword [esi]
sub esp, 8
subss xmm0, xmm1
movsd qword [esp], xmm3
movss dword [esp + 0x38], xmm0
movss dword [esi], xmm0
movss xmm0, dword [esi + 4]
subss xmm0, xmm2
movss dword [esp + 0x40], xmm0
movss dword [esi + 4], xmm0
call fcn.100d5cd0
movsd xmm0, qword ds:[esp + 0x58]
fstp dword [esp + 0x18]
movsd qword [esp], xmm0
call fcn.100d5c80
movss xmm3, dword [esp + 0x18]
inc edi
mov eax, dword [esp + 0x1c]
movaps xmm1, xmm3
mulss xmm1, dword [esp + 0x38]
add esp, 8
mov ecx, dword [esp + 0x18]
mulss xmm3, dword [esp + 0x38]
mov edx, dword [esp + 0x1c]
fstp dword [esp + 0x34]
movss xmm2, dword [esp + 0x34]
movaps xmm0, xmm2
mulss xmm2, dword [esp + 0x30]
mulss xmm0, dword [esp + 0x38]
addss xmm3, xmm2
movss xmm2, dword [esp + 0x3c]
subss xmm1, xmm0
addss xmm3, xmm2
addss xmm1, dword [esp + 0xc]
movss dword [esi + 4], xmm3
movsd xmm3, qword [esp + 0x60]
movss dword [esi], xmm1
movss xmm1, dword [esp + 0xc]
cmp edi, 3
jl 0x10189240
mov ecx, dword ds:[esp + 0x40]
mov eax, dword [esp + 0x20]
add ecx, 0x70
lock inc dword [eax]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x44]
push eax
call fcn.10056ee0
mov esi, dword [esp + 0x48]
or edi, 0xffffffff
test esi, esi
je 0x1018936f
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1018936f
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1018936f
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 0x10189396
mov esi, dword [esp + 0x24]
mov ecx, esi
mov eax, dword [esi]
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], edi
dec edi
jne 0x10189396
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4