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

Disassembly:
sub esp, 0x58
push esi
mov esi, dword [esp + 0x64]
push edi
push 2
pop eax
mov dword [esp + 0x58], esi
mov edi, ecx
mov dword [esp + 0x50], edi
mov dword [esp + 0x30], eax
cmp esi, eax
jl 0x10019f15
mov edx, dword [esp + 0x6c]
test edx, 0xff000000
je 0x10019f15
mov eax, dword [edi + 0x2c]
and byte [esp + 0x70], 1
movss xmm2, dword [edi + 0x8c]
movss xmm1, dword [esp + 0x74]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x4c], ecx
lea ecx, [esi - 1]
cmovne ecx, esi
mov dword [esp + 0x54], eax
comiss xmm1, xmm2
mov dword [esp + 0x44], ecx
movss dword [esp + 0x2c], xmm2
seta byte [esp + 0x5f]
test byte [edi + 0x24], 1
je 0x10019d0d
movss xmm3, dword [0x1006d124]
and edx, 0xffffff
maxss xmm1, xmm3
mov dword [esp + 0x38], edx
xor edx, edx
test byte [edi + 0x24], 2
mov dword [esp + 0x3c], edx
cvttss2si eax, xmm1
movss dword [esp + 0x74], xmm1
mov dword [esp + 0x20], eax
je 0x100192bc
cmp eax, 0x3f
jge 0x100192bc
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [0x1006d0d4]
comiss xmm0, xmm1
jb 0x100192bc
ucomiss xmm2, xmm3
lahf
test ah, 0x44
jp 0x100192bc
mov dl, 1
mov dh, byte [esp + 0x5f]
movzx eax, dh
add eax, 3
mov byte [esp + 0x6b], dl
test dl, dl
cmovne eax, dword [esp + 0x30]
imul eax, esi
test dh, dh
mov dword [esp + 0x30], 0x12
push eax
mov dword [esp + 0x1c], eax
push 0xc
pop eax
cmovne eax, dword [esp + 0x34]
test dl, dl
mov dword [esp + 0x34], 6
cmovne eax, dword [esp + 0x34]
imul eax, ecx
mov ecx, edi
push eax
call fcn.1001d1e0
mov ecx, dword [edi + 0x2c]
add ecx, 0x2c
cmp byte [esp + 0x6b], 0
jne 0x1001931d
cmp byte [esp + 0x5f], 0
je 0x1001931d
push 5
jmp 0x1001931f
push 3
pop eax
imul eax, esi
push eax
call fcn.1001ee48
mov eax, dword [edi + 0x2c]
mov ecx, esi
and dword [esp + 0x34], 0
cmp dword [esp + 0x44], 0
mov edx, dword [esp + 0x64]
mov eax, dword [eax + 0x34]
mov dword [esp + 0x48], eax
mov dword [esp + 0x64], edx
lea esi, [eax + ecx*8]
mov dword [esp + 0x40], esi
jle 0x100193e1
mov esi, dword [esp + 0x44]
mov edi, eax
xor eax, eax
and dword [esp + 0x28], 0
inc eax
cmp eax, ecx
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x34]
cmove eax, dword [esp + 0x28]
movss xmm2, dword [edx + eax*8]
movss xmm3, dword [edx + eax*8 + 4]
mov eax, ecx
subss xmm2, dword [edx + ecx*8]
mov ecx, dword [esp + 0x58]
subss xmm3, dword [edx + eax*8 + 4]
movaps xmm0, xmm2
mulss xmm0, xmm2
movaps xmm1, xmm3
mulss xmm1, xmm3
addss xmm1, xmm0
comiss xmm1, dword [0x1006d0d0]
jbe 0x100193b7
rsqrtss xmm1, xmm1
movaps xmm0, xmm1
mulss xmm3, xmm1
mulss xmm2, xmm0
xorps xmm2, xmmword [0x1006d240]
movss dword [edi + eax*8], xmm3
movss dword [edi + eax*8 + 4], xmm2
mov eax, dword [esp + 0x30]
mov dword [esp + 0x34], eax
cmp eax, esi
jl 0x1001935c
mov edi, dword [esp + 0x50]
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x48]
cmp byte [esp + 0x70], 0
jne 0x10019402
mov edi, dword [esp + 0x48]
mov eax, dword [eax + ecx*8 - 0x10]
mov dword [esi - 8], eax
mov ecx, dword [edi + ecx*8 - 0xc]
mov edi, dword [esp + 0x50]
mov dword [esi - 4], ecx
mov ecx, dword [esp + 0x58]
cmp byte [esp + 0x6b], 0
movss xmm6, dword [0x1006d0fc]
jne 0x100198d0
cmp byte [esp + 0x5f], 0
je 0x100198c0
cmp byte [esp + 0x70], 0
movss xmm3, dword [esp + 0x74]
movss xmm0, dword [esp + 0x2c]
subss xmm3, xmm0
mulss xmm3, xmm6
jne 0x100195a8
mov eax, dword [esp + 0x48]
movaps xmm6, xmm3
addss xmm6, xmm0
mov edi, dword [esp + 0x48]
movaps xmm0, xmm6
movaps xmm1, xmm6
mulss xmm0, dword [eax + 4]
mulss xmm1, dword [eax]
addss xmm0, dword [edx + 4]
addss xmm1, dword [edx]
movss dword [esi + 4], xmm0
movaps xmm0, xmm3
movss dword [esi], xmm1
movaps xmm1, xmm3
mulss xmm0, dword [eax + 4]
mulss xmm1, dword [eax]
addss xmm0, dword [edx + 4]
addss xmm1, dword [edx]
movss dword [esi + 0xc], xmm0
movaps xmm0, xmm3
movss dword [esi + 8], xmm1
mulss xmm0, dword [eax]
movss xmm2, dword [edx]
movss xmm1, dword [edx + 4]
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [eax + 4]
subss xmm1, xmm0
movss dword [esi + 0x10], xmm2
movaps xmm0, xmm6
movss dword [esi + 0x14], xmm1
mulss xmm0, dword [eax]
movss xmm2, dword [edx]
movss xmm1, dword [edx + 4]
subss xmm2, xmm0
movaps xmm0, xmm6
mulss xmm0, dword [eax + 4]
subss xmm1, xmm0
movss dword [esi + 0x18], xmm2
movaps xmm0, xmm6
movss dword [esi + 0x1c], xmm1
movaps xmm1, xmm6
mulss xmm0, dword [eax + ecx*8 - 4]
mulss xmm1, dword [eax + ecx*8 - 8]
mov eax, ecx
shl eax, 5
addss xmm0, dword [edx + ecx*8 - 4]
addss xmm1, dword [edx + ecx*8 - 8]
movss dword [eax + esi - 0x1c], xmm0
movaps xmm0, xmm3
movss dword [eax + esi - 0x20], xmm1
movaps xmm1, xmm3
mulss xmm0, dword [edi + ecx*8 - 4]
mulss xmm1, dword [edi + ecx*8 - 8]
addss xmm0, dword [edx + ecx*8 - 4]
addss xmm1, dword [edx + ecx*8 - 8]
movss dword [eax + esi - 0x14], xmm0
movaps xmm0, xmm3
movss dword [eax + esi - 0x18], xmm1
mulss xmm0, dword [edi + ecx*8 - 8]
movss xmm2, dword [edx + ecx*8 - 8]
movss xmm1, dword [edx + ecx*8 - 4]
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [edi + ecx*8 - 4]
subss xmm1, xmm0
movss dword [eax + esi - 0x10], xmm2
movaps xmm0, xmm6
movss dword [eax + esi - 0xc], xmm1
mulss xmm0, dword [edi + ecx*8 - 8]
movss xmm2, dword [edx + ecx*8 - 8]
movss xmm1, dword [edx + ecx*8 - 4]
subss xmm2, xmm0
movaps xmm0, xmm6
mulss xmm0, dword [edi + ecx*8 - 4]
mov edi, dword [esp + 0x50]
subss xmm1, xmm0
movss dword [eax + esi - 8], xmm2
movss dword [eax + esi - 4], xmm1
jmp 0x100195af
movaps xmm6, xmm0
addss xmm6, xmm3
cmp dword [esp + 0x44], 0
mov eax, dword [edi + 0x28]
mov dword [esp + 0x68], eax
jle 0x100197e6
movss xmm7, dword [0x1006d124]
xor eax, eax
and dword [esp + 0x70], 0
inc eax
cmp eax, ecx
mov dword [esp + 0x34], eax
cmove eax, dword [esp + 0x70]
mov dword [esp + 0x28], eax
jne 0x100195e7
mov ecx, dword [edi + 0x28]
jmp 0x100195ee
mov ecx, dword [esp + 0x68]
add ecx, 4
mov dword [esp + 0x74], ecx
mov ecx, eax
mov eax, dword [esp + 0x48]
shl ecx, 3
mov dword [esp + 0x70], ecx
movss xmm0, dword [ecx + eax]
mov ecx, dword [esp + 0x3c]
addss xmm0, dword [eax + ecx*8]
movss xmm2, dword [eax + ecx*8 + 4]
mov ecx, dword [esp + 0x70]
movaps xmm4, xmm0
mulss xmm0, xmm0
addss xmm2, dword [ecx + eax + 4]
mulss xmm4, dword [0x1006d0fc]
movaps xmm5, xmm2
mulss xmm2, xmm2
mulss xmm5, dword [0x1006d0fc]
addss xmm2, xmm0
mulss xmm2, dword [0x1006d0f0]
comiss xmm2, dword [0x1007289c]
jbe 0x1001966a
movaps xmm1, xmm7
divss xmm1, xmm2
minss xmm1, dword [0x1006d174]
movaps xmm0, xmm1
mulss xmm5, xmm1
mulss xmm4, xmm0
mov eax, dword [esp + 0x28]
movaps xmm1, xmm6
shl eax, 5
movaps xmm2, xmm6
add eax, esi
mulss xmm1, xmm4
mulss xmm2, xmm5
movaps xmm0, xmm1
mulss xmm4, xmm3
addss xmm0, dword [ecx + edx]
mulss xmm5, xmm3
movss dword [eax], xmm0
movaps xmm0, xmm2
addss xmm0, dword [ecx + edx + 4]
movss dword [eax + 4], xmm0
movaps xmm0, xmm4
addss xmm0, dword [ecx + edx]
movss dword [eax + 8], xmm0
movaps xmm0, xmm5
addss xmm0, dword [ecx + edx + 4]
movss dword [eax + 0xc], xmm0
movss xmm0, dword [ecx + edx]
subss xmm0, xmm4
movss dword [eax + 0x10], xmm0
movss xmm0, dword [ecx + edx + 4]
subss xmm0, xmm5
movss dword [eax + 0x14], xmm0
movss xmm0, dword [ecx + edx]
subss xmm0, xmm1
movss dword [eax + 0x18], xmm0
movss xmm0, dword [ecx + edx + 4]
subss xmm0, xmm2
movss dword [eax + 0x1c], xmm0
mov eax, dword [esp + 0x74]
movzx eax, ax
mov dword [esp + 0x70], eax
lea esi, [eax + 1]
mov eax, dword [edi + 0x38]
mov word [eax], si
mov eax, dword [esp + 0x68]
movzx edi, ax
mov eax, dword [esp + 0x50]
lea ecx, [edi + 1]
mov eax, dword [eax + 0x38]
lea edx, [edi + 2]
mov word [eax + 2], cx
mov ecx, dword [esp + 0x50]
mov eax, dword [ecx + 0x38]
mov word [eax + 4], dx
mov eax, dword [ecx + 0x38]
mov word [eax + 6], dx
mov eax, dword [ecx + 0x38]
mov edx, dword [esp + 0x70]
add edx, 2
mov word [eax + 8], dx
mov edx, ecx
lea ecx, [edi + 1]
mov eax, dword [edx + 0x38]
mov word [eax + 0xa], si
mov eax, dword [edx + 0x38]
mov word [eax + 0xc], si
mov eax, dword [edx + 0x38]
mov word [eax + 0xe], cx
mov eax, dword [edx + 0x38]
mov ecx, dword [esp + 0x70]
mov word [eax + 0x10], di
mov eax, dword [edx + 0x38]
mov word [eax + 0x12], di
mov eax, dword [edx + 0x38]
mov word [eax + 0x14], cx
mov eax, dword [edx + 0x38]
mov word [eax + 0x16], si
lea esi, [ecx + 2]
mov eax, dword [edx + 0x38]
lea ecx, [edi + 3]
mov word [eax + 0x18], si
mov eax, dword [edx + 0x38]
lea edx, [edi + 2]
mov edi, dword [esp + 0x50]
mov word [eax + 0x1a], dx
mov eax, dword [edi + 0x38]
mov word [eax + 0x1c], cx
mov eax, dword [edi + 0x38]
mov edx, dword [esp + 0x64]
mov word [eax + 0x1e], cx
mov eax, dword [edi + 0x38]
mov ecx, dword [esp + 0x70]
add ecx, 3
mov word [eax + 0x20], cx
mov eax, dword [edi + 0x38]
mov ecx, dword [esp + 0x58]
mov word [eax + 0x22], si
mov eax, dword [esp + 0x74]
add dword [edi + 0x38], 0x24
mov esi, dword [esp + 0x40]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x3c], eax
cmp eax, dword [esp + 0x44]
jl 0x100195cb
lea eax, [esi + 0x10]
mov esi, dword [esp + 0x58]
mov dword [esp + 0x70], eax
mov ecx, dword [eax - 0x10]
mov edx, dword [eax - 0xc]
mov eax, dword [edi + 0x34]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [edi + 0x34]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x70]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x54]
mov dword [eax + 0xc], ecx
mov eax, dword [edi + 0x34]
mov ecx, dword [esp + 0x38]
mov dword [eax + 0x10], ecx
mov ecx, dword [edx - 8]
mov eax, dword [edi + 0x34]
mov edx, dword [edx - 4]
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], edx
mov eax, dword [edi + 0x34]
mov ecx, dword [esp + 0x4c]
mov dword [eax + 0x1c], ecx
mov ecx, dword [esp + 0x54]
mov dword [eax + 0x20], ecx
mov eax, dword [edi + 0x34]
mov ecx, dword [esp + 0x6c]
mov dword [eax + 0x24], ecx
mov eax, dword [esp + 0x70]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [edi + 0x34]
mov dword [eax + 0x28], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 0x2c], edx
mov eax, dword [edi + 0x34]
mov dword [eax + 0x30], ecx
mov ecx, dword [esp + 0x54]
mov dword [eax + 0x34], ecx
mov eax, dword [edi + 0x34]
mov ecx, dword [esp + 0x6c]
mov dword [eax + 0x38], ecx
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov eax, dword [edi + 0x34]
mov dword [eax + 0x3c], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 0x40], edx
mov eax, dword [edi + 0x34]
mov dword [eax + 0x44], ecx
mov ecx, dword [esp + 0x54]
mov dword [eax + 0x48], ecx
mov eax, dword [edi + 0x34]
mov ecx, dword [esp + 0x38]
mov dword [eax + 0x4c], ecx
mov eax, dword [esp + 0x70]
add dword [edi + 0x34], 0x50
add eax, 0x20
mov dword [esp + 0x70], eax
sub esi, 1
jne 0x100197f1
jmp 0x10019cfe
movss xmm3, dword [esp + 0x2c]
movss xmm7, dword [0x1006d124]
jmp 0x100198e6
movss xmm3, dword [esp + 0x74]
movss xmm7, dword [0x1006d124]
mulss xmm3, xmm6
addss xmm3, xmm7
cmp byte [esp + 0x70], 0
jne 0x1001999c
mov eax, dword [esp + 0x48]
movaps xmm0, xmm3
movaps xmm1, xmm3
mulss xmm0, dword [eax + 4]
mulss xmm1, dword [eax]
addss xmm0, dword [edx + 4]
addss xmm1, dword [edx]
movss dword [esi + 4], xmm0
movaps xmm0, xmm3
movss dword [esi], xmm1
mulss xmm0, dword [eax]
movss xmm2, dword [edx]
movss xmm1, dword [edx + 4]
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [eax + 4]
mov eax, ecx
add eax, eax
subss xmm1, xmm0
movss dword [esi + 8], xmm2
movaps xmm0, xmm3
movss dword [esi + 0xc], xmm1
movaps xmm1, xmm3
mulss xmm0, dword [esi - 4]
mulss xmm1, dword [esi - 8]
addss xmm0, dword [edx + ecx*8 - 4]
addss xmm1, dword [edx + ecx*8 - 8]
movss dword [esi + eax*8 - 0xc], xmm0
movaps xmm0, xmm3
movss dword [esi + eax*8 - 0x10], xmm1
mulss xmm0, dword [esi - 8]
movss xmm2, dword [edx + ecx*8 - 8]
movss xmm1, dword [edx + ecx*8 - 4]
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [esi - 4]
subss xmm1, xmm0
movss dword [esi + eax*8 - 8], xmm2
movss dword [esi + eax*8 - 4], xmm1
cmp dword [esp + 0x44], 0
mov eax, dword [edi + 0x28]
mov dword [esp + 0x74], eax
jle 0x10019ba4
movss xmm1, dword [0x1006d0f0]
xor eax, eax
and dword [esp + 0x70], 0
inc eax
cmp eax, ecx
mov dword [esp + 0x34], eax
cmove eax, dword [esp + 0x70]
mov dword [esp + 0x2c], eax
jne 0x100199d8
mov ecx, dword [edi + 0x28]
mov dword [esp + 0x70], ecx
jmp 0x100199f1
movzx eax, byte [esp + 0x6b]
mov ecx, dword [esp + 0x74]
xor eax, 1
add ecx, 2
add eax, ecx
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x2c]
mov ecx, eax
mov eax, dword [esp + 0x48]
shl ecx, 3
mov dword [esp + 0x28], ecx
movss xmm0, dword [ecx + eax]
mov ecx, dword [esp + 0x3c]
addss xmm0, dword [eax + ecx*8]
movss xmm2, dword [eax + ecx*8 + 4]
mov ecx, dword [esp + 0x28]
movaps xmm4, xmm0
mulss xmm0, xmm0
addss xmm2, dword [ecx + eax + 4]
mulss xmm4, xmm6
movaps xmm5, xmm2
mulss xmm2, xmm2
mulss xmm5, xmm6
addss xmm2, xmm0
mulss xmm2, xmm1
comiss xmm2, dword [0x1007289c]
jbe 0x10019a65
movaps xmm1, xmm7
divss xmm1, xmm2
minss xmm1, dword [0x1006d174]
movaps xmm0, xmm1
mulss xmm5, xmm1
movss xmm1, dword [0x1006d0f0]
mulss xmm4, xmm0
mov eax, dword [esp + 0x2c]
shl eax, 4
add eax, esi
mulss xmm4, xmm3
cmp byte [esp + 0x6b], 0
mulss xmm5, xmm3
movaps xmm0, xmm4
addss xmm0, dword [ecx + edx]
movss dword [eax], xmm0
movaps xmm0, xmm5
addss xmm0, dword [ecx + edx + 4]
movss dword [eax + 4], xmm0
movss xmm0, dword [ecx + edx]
subss xmm0, xmm4
movss dword [eax + 8], xmm0
movss xmm0, dword [ecx + edx + 4]
subss xmm0, xmm5
movss dword [eax + 0xc], xmm0
mov eax, dword [esp + 0x70]
movzx ecx, ax
mov eax, dword [esp + 0x74]
movzx edx, ax
mov eax, dword [edi + 0x38]
mov edi, dword [esp + 0x70]
movzx esi, di
mov edi, dword [esp + 0x50]
mov word [eax], si
lea eax, [ecx + 1]
movzx esi, ax
mov dword [esp + 0x2c], esi
mov eax, dword [edi + 0x38]
mov word [eax + 2], dx
lea eax, [edx + 1]
movzx ecx, ax
mov eax, dword [edi + 0x38]
mov dword [esp + 0x28], ecx
je 0x10019b17
mov edx, dword [esp + 0x70]
mov word [eax + 4], cx
mov eax, dword [edi + 0x38]
mov word [eax + 6], si
mov eax, dword [edi + 0x38]
mov word [eax + 8], cx
mov eax, dword [edi + 0x38]
movzx ecx, dx
mov word [eax + 0xa], cx
add dword [edi + 0x38], 0xc
jmp 0x10019b7e
mov ecx, dword [esp + 0x74]
movzx esi, cx
lea ecx, [esi + 2]
mov word [eax + 4], cx
mov eax, dword [edi + 0x38]
mov word [eax + 6], cx
mov eax, dword [esp + 0x70]
movzx edx, ax
mov eax, dword [edi + 0x38]
lea ecx, [edx + 2]
mov word [eax + 8], cx
mov eax, dword [edi + 0x38]
mov ecx, dword [esp + 0x2c]
mov word [eax + 0xa], dx
mov eax, dword [edi + 0x38]
mov word [eax + 0xc], cx
mov eax, dword [edi + 0x38]
mov ecx, dword [esp + 0x28]
mov word [eax + 0xe], cx
mov eax, dword [edi + 0x38]
mov ecx, dword [esp + 0x2c]
mov word [eax + 0x10], si
mov eax, dword [edi + 0x38]
mov word [eax + 0x12], si
mov eax, dword [edi + 0x38]
mov word [eax + 0x14], dx
mov eax, dword [edi + 0x38]
mov word [eax + 0x16], cx
add dword [edi + 0x38], 0x18
mov eax, dword [esp + 0x70]
mov esi, dword [esp + 0x40]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x3c], eax
cmp eax, dword [esp + 0x44]
jl 0x100199b8
cmp byte [esp + 0x6b], 0
je 0x10019c66
mov esi, dword [edi + 0x2c]
lea edi, [esp + 8]
mov eax, dword [esp + 0x20]
shl eax, 4
mov esi, dword [esi + 0x1fc]
add esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movss xmm0, dword [esp + 8]
mov edi, dword [esp + 0x50]
mov esi, dword [esp + 0x40]
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0xc]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x10]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x14]
movss dword [esp + 0x28], xmm0
mov eax, dword [edi + 0x34]
mov ecx, dword [esi]
lea esi, [esi + 0x10]
mov edx, dword [esi - 0xc]
mov dword [eax], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 4], edx
mov eax, dword [edi + 0x34]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 0xc], ecx
mov eax, dword [edi + 0x34]
mov ecx, dword [esp + 0x6c]
mov dword [eax + 0x10], ecx
mov eax, dword [edi + 0x34]
mov ecx, dword [esi - 8]
mov edx, dword [esi - 4]
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 0x18], edx
mov eax, dword [edi + 0x34]
mov dword [eax + 0x1c], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x20], ecx
mov eax, dword [edi + 0x34]
mov ecx, dword [esp + 0x6c]
mov dword [eax + 0x24], ecx
add dword [edi + 0x34], 0x28
sub dword [esp + 0x58], 1
jne 0x10019c01
jmp 0x10019cfe
mov ecx, dword [edx]
mov eax, dword [edi + 0x34]
mov edx, dword [edx + 4]
mov dword [eax], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 4], edx
mov eax, dword [edi + 0x34]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x54]
mov dword [eax + 0xc], ecx
mov eax, dword [edi + 0x34]
mov ecx, dword [esp + 0x6c]
mov dword [eax + 0x10], ecx
mov eax, dword [edi + 0x34]
mov ecx, dword [esi]
lea esi, [esi + 0x10]
mov edx, dword [esi - 0xc]
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 0x18], edx
mov eax, dword [edi + 0x34]
mov dword [eax + 0x1c], ecx
mov ecx, dword [esp + 0x54]
mov dword [eax + 0x20], ecx
mov eax, dword [edi + 0x34]
mov ecx, dword [esp + 0x38]
mov dword [eax + 0x24], ecx
mov eax, dword [edi + 0x34]
mov ecx, dword [esi - 8]
mov edx, dword [esi - 4]
mov dword [eax + 0x28], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 0x2c], edx
mov eax, dword [edi + 0x34]
mov edx, dword [esp + 0x64]
add edx, 8
mov dword [esp + 0x64], edx
mov dword [eax + 0x30], ecx
mov ecx, dword [esp + 0x54]
mov dword [eax + 0x34], ecx
mov eax, dword [edi + 0x34]
mov ecx, dword [esp + 0x38]
mov dword [eax + 0x38], ecx
add dword [edi + 0x34], 0x3c
sub dword [esp + 0x58], 1
jne 0x10019c66
mov eax, dword [esp + 0x18]
movzx eax, ax
add dword [edi + 0x28], eax
jmp 0x10019f15
mov eax, ecx
shl eax, 2
push eax
imul eax, ecx, 6
mov ecx, edi
push eax
call fcn.1001d1e0
mov edx, dword [esp + 0x44]
xor ecx, ecx
test edx, edx
jle 0x10019f15
movss xmm3, dword [esp + 0x74]
mulss xmm3, dword [0x1006d0fc]
mov eax, dword [esp + 0x64]
and dword [esp + 0x70], 0
lea eax, [eax + ecx*8]
inc ecx
mov dword [esp + 0x74], eax
cmp ecx, esi
mov eax, ecx
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x74]
cmove eax, dword [esp + 0x70]
mov dword [esp + 0x70], eax
movss xmm6, dword [ecx]
mov ecx, dword [esp + 0x64]
movss xmm4, dword [ecx + eax*8]
movss xmm5, dword [ecx + eax*8 + 4]
subss xmm4, xmm6
mov ecx, dword [esp + 0x74]
subss xmm5, dword [ecx + 4]
movaps xmm0, xmm4
mulss xmm0, xmm4
movaps xmm1, xmm5
mulss xmm1, xmm5
addss xmm1, xmm0
comiss xmm1, dword [0x1006d0d0]
jbe 0x10019daa
rsqrtss xmm1, xmm1
movaps xmm0, xmm1
mulss xmm5, xmm1
mulss xmm4, xmm0
mov eax, dword [edi + 0x34]
movaps xmm1, xmm3
mov edx, dword [esp + 0x70]
movaps xmm2, xmm3
mov esi, dword [esp + 0x64]
mulss xmm1, xmm5
push 2
mulss xmm2, xmm4
addss xmm6, xmm1
movss dword [eax], xmm6
movss xmm0, dword [ecx + 4]
mov eax, dword [edi + 0x34]
subss xmm0, xmm2
mov ecx, dword [esp + 0x50]
movss dword [eax + 4], xmm0
movaps xmm0, xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x58]
mov dword [eax + 0xc], ecx
mov eax, dword [edi + 0x34]
mov ecx, dword [esp + 0x70]
mov dword [eax + 0x10], ecx
addss xmm0, dword [esi + edx*8]
mov eax, dword [edi + 0x34]
movss dword [eax + 0x14], xmm0
movss xmm0, dword [esi + edx*8 + 4]
mov eax, dword [edi + 0x34]
subss xmm0, xmm2
mov edx, dword [esp + 0x50]
mov esi, dword [esp + 0x58]
movss dword [eax + 0x18], xmm0
mov eax, dword [edi + 0x34]
mov dword [eax + 0x1c], edx
mov dword [eax + 0x20], esi
mov eax, dword [edi + 0x34]
mov dword [eax + 0x24], ecx
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x74]
movss xmm0, dword [ecx + eax*8]
mov eax, dword [edi + 0x34]
subss xmm0, xmm1
movss dword [eax + 0x28], xmm0
movaps xmm0, xmm2
mov eax, dword [esp + 0x74]
addss xmm0, dword [ecx + eax*8 + 4]
mov eax, dword [edi + 0x34]
mov ecx, dword [esp + 0x70]
movss dword [eax + 0x2c], xmm0
mov eax, dword [edi + 0x34]
mov dword [eax + 0x30], edx
mov dword [eax + 0x34], esi
mov eax, dword [edi + 0x34]
mov esi, dword [esp + 0x78]
mov dword [eax + 0x38], ecx
movss xmm0, dword [esi]
mov eax, dword [edi + 0x34]
subss xmm0, xmm1
movss dword [eax + 0x3c], xmm0
addss xmm2, dword [esi + 4]
mov eax, dword [edi + 0x34]
movss dword [eax + 0x40], xmm2
mov eax, dword [edi + 0x34]
mov dword [eax + 0x44], edx
mov edx, dword [esp + 0x58]
mov dword [eax + 0x48], edx
mov eax, dword [edi + 0x34]
pop edx
mov dword [eax + 0x4c], ecx
mov ecx, dword [edi + 0x38]
add dword [edi + 0x34], 0x50
mov ax, word [edi + 0x28]
mov word [ecx], ax
mov eax, dword [edi + 0x38]
mov cx, word [edi + 0x28]
inc cx
mov word [eax + 2], cx
mov cx, word [edi + 0x28]
mov eax, dword [edi + 0x38]
add cx, dx
mov word [eax + 4], cx
mov ecx, dword [edi + 0x38]
mov ax, word [edi + 0x28]
mov esi, dword [esp + 0x58]
push 3
mov word [ecx + 6], ax
mov cx, word [edi + 0x28]
mov eax, dword [edi + 0x38]
add cx, dx
mov word [eax + 8], cx
mov cx, word [edi + 0x28]
pop eax
add cx, ax
mov eax, dword [edi + 0x38]
mov word [eax + 0xa], cx
add dword [edi + 0x38], 0xc
add dword [edi + 0x28], 4
mov ecx, dword [esp + 0x68]
cmp ecx, dword [esp + 0x44]
jl 0x10019d3a
pop edi
pop esi
add esp, 0x58
ret 0x14