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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x68
movss xmm0, dword [0x100ae2e8]
mov eax, ecx
push esi
push edi
mov dword [esp + 0x14], eax
mov dword [eax + 0x10], 0xffffffff
cmp byte [0x10166220], 0
movss dword [esp + 0x20], xmm0
jne 0x100131ae
cmp byte [0x10166222], 0
jne 0x100131ae
cmp byte [0x10166221], 0
jne 0x100131ae
cmp byte [0x10166223], 0
je 0x1001367b
push 0xffffffffffffffff
mov eax, 0x56e210
call eax
add esp, 4
lea ecx, [esp + 0x4c]
mov edx, 0x5e4280
push 1
push 0x18
push ecx
mov ecx, eax
call edx
movss xmm1, dword [esp + 0x50]
lea eax, [esp + 0x64]
movss xmm2, dword [esp + 0x54]
movss xmm0, dword [esp + 0x4c]
mov edx, dword [0x101668c0]
push eax
lea eax, [esp + 0x5c]
push eax
sub esp, 0xc
mov eax, esp
push ecx
mov ecx, dword [0x101668c4]
movss dword [eax], xmm0
movss dword [eax + 4], xmm1
movss dword [eax + 8], xmm2
mov dword [esp], 0x42c80000
call edx
xor edi, edi
mov esi, 0x5e0170
mov dword [esp + 0x10], edi
mov edx, 0x54ff90
mov dword [esp + 0x48], esi
mov eax, dword [0x1016621c]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x10013666
movzx ecx, di
cmp dword [eax + ecx*4 + 0xfde], 1
jne 0x10013666
mov ecx, dword [eax + ecx*4 + 0x2e]
test ecx, ecx
je 0x10013666
mov ecx, dword [ecx]
test ecx, ecx
je 0x10013666
cmp dword [ecx], 0
je 0x10013666
mov eax, dword [eax + edi*4 + 0x2e]
mov eax, dword [eax]
mov eax, dword [eax]
push dword [eax + 0x44]
call edx
add esp, 4
mov dword [esp + 0x3c], eax
test eax, eax
je 0x10013661
mov ecx, eax
call esi
test al, al
je 0x10013661
cmp byte [0x101663fd], 0
je 0x100132c4
mov edi, dword [0x1016621c]
mov ecx, edi
mov eax, dword [edi + 0x10]
movzx eax, word [eax + 4]
push eax
call fcn.1006b030
push dword [esp + 0x10]
mov ecx, edi
mov esi, eax
call fcn.1006b030
mov edi, dword [esp + 0x10]
cmp eax, esi
je 0x10013661
cmp byte [0x10166401], 0
jne 0x10013387
cmp byte [0x10166400], 0
je 0x100132f5
mov eax, dword [0x1016621c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + edi*4 + 0x2e]
mov eax, dword [eax]
cmp dword [eax + 0x1d1], 2
je 0x10013661
cmp byte [0x101663ff], 0
mov eax, dword [0x1016621c]
mov ecx, dword [eax + 0x10]
mov esi, dword [ecx + 0x22]
mov eax, dword [esi]
mov eax, dword [eax + 0x2a4]
mov edx, dword [eax + 0x14]
mov eax, dword [ecx + edi*4 + 0x2e]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x2a4]
mov eax, dword [eax + 0x14]
movss xmm1, dword [eax + 0x30]
movss xmm0, dword [eax + 0x34]
movss xmm2, dword [eax + 0x38]
subss xmm1, dword [edx + 0x30]
subss xmm0, dword [edx + 0x34]
subss xmm2, dword [edx + 0x38]
jne 0x10013387
mulss xmm0, xmm0
mulss xmm1, xmm1
mulss xmm2, xmm2
addss xmm0, xmm1
xorps xmm1, xmm1
addss xmm0, xmm2
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x10013369
sqrtsd xmm0, xmm0
jmp 0x1001336e
call fcn.1008dfe0
movzx eax, byte [esi + 0x165]
cvtsd2ss xmm0, xmm0
comiss xmm0, dword [eax*4 + 0x100a4160]
ja 0x10013661
mov esi, 0x101651c0
nop dword [eax]
mov eax, dword [esi]
mov ecx, dword [esp + 0x3c]
push 1
push eax
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x2c]
push eax
mov eax, 0x5e4280
call eax
movss xmm2, dword [esp + 0x2c]
mov eax, 0xb6fa2c
movss xmm1, dword [esp + 0x28]
movaps xmm0, xmm2
movss xmm3, dword [esp + 0x24]
movups xmm4, xmmword [eax + 0x10]
movups xmm5, xmmword [eax + 0x20]
movups xmm7, xmmword [eax]
movups xmm6, xmmword [eax + 0x30]
mov eax, 0xc17044
mulss xmm0, xmm5
mulss xmm1, xmm4
addss xmm1, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm7
addss xmm1, xmm0
movaps xmm0, xmm4
shufps xmm0, xmm4, 0x55
shufps xmm4, xmm4, 0xaa
addss xmm1, xmm6
movss dword [esp + 0x30], xmm1
movss dword [esp + 0x40], xmm1
movss xmm1, dword [esp + 0x28]
mulss xmm1, xmm0
movaps xmm0, xmm5
shufps xmm0, xmm5, 0x55
shufps xmm5, xmm5, 0xaa
movss dword [esp + 0x10], xmm1
movaps xmm1, xmm2
mulss xmm1, xmm0
movss xmm0, dword [esp + 0x10]
mulss xmm2, xmm5
addss xmm0, xmm1
movaps xmm1, xmm3
movss dword [esp + 0x10], xmm0
movaps xmm0, xmm7
shufps xmm0, xmm7, 0x55
mulss xmm1, xmm0
movss xmm0, dword [esp + 0x10]
shufps xmm7, xmm7, 0xaa
addss xmm0, xmm1
mulss xmm3, xmm7
movss dword [esp + 0x10], xmm0
movaps xmm0, xmm6
movss xmm1, dword [esp + 0x10]
shufps xmm0, xmm6, 0x55
addss xmm1, xmm0
shufps xmm6, xmm6, 0xaa
movss xmm0, dword [esp + 0x28]
mulss xmm0, xmm4
movss dword [esp + 0x34], xmm1
addss xmm0, xmm2
movss dword [esp + 0x10], xmm1
movsd xmm1, qword [0x100ae1a8]
addss xmm0, xmm3
addss xmm0, xmm6
movss dword [esp + 0x38], xmm0
movss dword [esp + 0x18], xmm0
cvtps2pd xmm0, xmm0
mov eax, dword [eax]
divsd xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100ae680]
mov eax, 0xc17048
mulsd xmm0, xmm1
cvtpd2ps xmm2, xmm0
mulss xmm2, dword [esp + 0x40]
movss dword [esp + 0x30], xmm2
mov eax, dword [eax]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100ae680]
mulsd xmm0, xmm1
movss xmm1, dword [0x100ae174]
comiss xmm1, dword [esp + 0x18]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [esp + 0x10]
movss dword [esp + 0x34], xmm0
ja 0x1001362d
mov eax, dword [esp + 0x14]
sub esp, 0x10
movsd xmm1, qword [0x100ae1c0]
movss xmm0, dword [eax]
subss xmm0, xmm2
movsd qword [esp + 8], xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.1007a7b0
mov eax, dword [esp + 0x24]
movsd xmm1, qword [0x100ae1c0]
movsd qword [esp + 8], xmm1
fstp qword [esp + 0x28]
movss xmm0, dword [eax + 4]
subss xmm0, dword [esp + 0x44]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.1007a7b0
fadd qword [esp + 0x28]
add esp, 0x10
xorps xmm1, xmm1
fstp qword [esp + 0x18]
movsd xmm0, qword [esp + 0x18]
ucomisd xmm1, xmm0
ja 0x1001359b
sqrtsd xmm0, xmm0
jmp 0x100135a0
call fcn.1008dfe0
cmp byte [0x10166220], 0
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss dword [esp + 0x18], xmm1
je 0x100135e4
mov eax, dword [0x1016621c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x22]
movzx eax, byte [eax + 0x165]
lea eax, [eax + eax*2]
movd xmm0, dword [eax*4 + 0x10166228]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x100ae190]
comiss xmm1, xmm0
jae 0x1001362d
cmp byte [0x10166401], 0
jne 0x10013622
cmp byte [0x101663fe], 0
jne 0x10013622
push 0
push 1
push 1
push 1
push 0
push 1
push 1
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x78]
push eax
mov eax, 0x56a490
call eax
add esp, 0x24
test al, al
je 0x1001362d
movss xmm1, dword [esp + 0x18]
movss xmm0, dword [esp + 0x20]
comiss xmm0, xmm1
jae 0x1001363e
add esi, 4
cmp esi, 0x10165208
jne 0x10013390
jmp 0x10013661
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x44]
movss dword [esp + 0x20], xmm1
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x18]
lea eax, [esp + 0x30]
mov dword [esi + 0x10], edi
push eax
mov eax, 0x411b50
call eax
mov edx, 0x54ff90
mov esi, dword [esp + 0x48]
inc edi
mov dword [esp + 0x10], edi
cmp edi, 0x3ec
jl 0x10013225
pop edi
pop esi
mov esp, ebp
pop ebp
ret