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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x78
mov eax, dword [0x1034972c]
push esi
push edi
mov dword [esp + 0x40], ecx
mov eax, dword [eax]
cmp byte [eax + 8], 0
je 0x101887f6
mov eax, dword [0x1034973c]
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 [0x1034972c]
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 [0x1034973c]
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.100d4ca0
movss xmm3, dword [0x102fa260]
add esp, 8
fstp dword [esp + 0x24]
movss xmm2, dword [esp + 0x24]
movaps xmm1, xmm2
movss xmm4, dword [0x102f9fc8]
divss xmm1, xmm3
movaps xmm0, xmm4
subss xmm0, xmm1
movss xmm1, dword [0x102f9f70]
movss dword [esp + 0xc], xmm1
comiss xmm1, xmm0
ja 0x1018844d
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.101a3f40
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 [0x102fa188]
movss dword [esp + 0x68], xmm0
call fcn.101a4980
movss xmm0, dword [0x102fa074]
sub esp, 8
divss xmm0, dword [0x102fa1d4]
mov esi, dword [0x10349734]
movss xmm1, dword [eax + 4]
mulss xmm0, xmm1
movss dword [esp + 0x18], xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100d4da0
movd xmm0, dword [esp + 0x30]
cvtdq2ps xmm0, xmm0
mov eax, dword [esi + 0xc]
mov esi, dword [0x10349734]
fstp dword [esp + 0x2c]
divss xmm0, dword [0x102fa030]
movss xmm1, dword [esp + 0x2c]
mulss xmm1, dword [eax + 4]
addss xmm1, xmm0
movss xmm0, dword [0x102fa074]
divss xmm0, dword [0x102fa1d4]
movss dword [esp + 0x24], xmm1
mulss xmm0, dword [esp + 0x18]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100d4d50
movd xmm0, dword [esp + 0x34]
mov eax, dword [esi + 0xc]
cvtdq2ps xmm0, xmm0
push 0x30
fstp dword [esp + 0x30]
divss xmm0, dword [0x102fa030]
movss xmm1, dword [esp + 0x30]
mulss xmm1, dword [eax + 4]
addss xmm1, xmm0
movss dword [esp + 0x24], xmm1
call fcn.1009882d
movss xmm4, dword [esp + 0x28]
add esp, 0xc
movss xmm3, dword [esp + 0x18]
movaps xmm1, xmm4
movss xmm2, dword [0x102fa0bc]
movss xmm6, dword [esp + 0xc]
lea ecx, [eax + 4]
lea esi, [eax + 0xc]
mov dword [eax + 8], 1
mov dword [eax], 0x102f855c
subss xmm1, xmm2
mov dword [ecx], 1
mov dword [esi], 2
mov dword [esp + 0x24], eax
mov eax, dword [0x10349734]
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 [0x102fa0a8]
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.101416e0
mov ecx, dword [esp + 0x18]
xor edi, edi
movss xmm0, dword [0x102fa074]
divss xmm0, dword [0x102fa1d4]
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 [0x102fa05c]
divss xmm2, dword [0x102fa05c]
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 0x101886aa
mov esi, eax
jmp 0x101886b9
cmp edi, 1
jne 0x101886b3
mov esi, ecx
jmp 0x101886b9
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.100d4da0
movsd xmm0, qword ds:[esp + 0x58]
fstp dword [esp + 0x18]
movsd qword [esp], xmm0
call fcn.100d4d50
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 0x101886a0
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.10056080
mov esi, dword [esp + 0x48]
or edi, 0xffffffff
test esi, esi
je 0x101887cf
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x101887cf
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x101887cf
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 0x101887f6
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 0x101887f6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4