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

Disassembly:
sub esp, 0x5c
push esi
mov esi, dword [esp + 0x68]
push edi
push 2
pop eax
mov dword [esp + 0x30], eax
mov edi, ecx
mov dword [esp + 0x4c], edi
cmp esi, eax
jl 0x1003f1a5
mov edx, dword [esp + 0x70]
test edx, 0xff000000
je 0x1003f1a5
mov eax, dword [edi + 0x2c]
and byte [esp + 0x74], 1
movss xmm2, dword [edi + 0x8c]
movss xmm1, dword [esp + 0x78]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x58], eax
lea eax, [esi - 1]
mov dword [esp + 0x50], ecx
mov ecx, eax
cmovne ecx, esi
mov dword [esp + 0x40], eax
comiss xmm1, xmm2
mov dword [esp + 0x44], ecx
movss dword [esp + 0x2c], xmm2
seta byte [esp + 0x62]
test byte [edi + 0x24], 1
je 0x1003efb6
movss xmm3, dword [0x100c24a4]
and edx, 0xffffff
maxss xmm1, xmm3
mov dword [esp + 0x3c], edx
xor edx, edx
mov dword [esp + 0x34], 1
test byte [edi + 0x24], 2
mov dword [esp + 0x54], edx
cvttss2si eax, xmm1
movss dword [esp + 0x78], xmm1
mov dword [esp + 0x20], eax
je 0x1003e51e
cmp eax, 0x3f
jge 0x1003e51e
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [0x100cb9d4]
comiss xmm0, xmm1
jb 0x1003e51e
ucomiss xmm2, xmm3
lahf
test ah, 0x44
jp 0x1003e51e
mov dl, 1
mov dh, byte [esp + 0x62]
movzx eax, dh
add eax, 3
mov byte [esp + 0x63], 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.100401c8
mov ecx, dword [edi + 0x2c]
add ecx, 0x2c
cmp byte [esp + 0x63], 0
jne 0x1003e57f
cmp byte [esp + 0x62], 0
je 0x1003e57f
push 5
jmp 0x1003e581
push 3
pop eax
imul eax, esi
push eax
call fcn.100467fb
cmp dword [esp + 0x44], 0
mov eax, dword [edi + 0x2c]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x68]
mov eax, dword [eax + 0x34]
mov dword [esp + 0x48], eax
lea ecx, [eax + esi*8]
mov dword [esp + 0x5c], ecx
jle 0x1003e642
mov ecx, dword [esp + 0x44]
mov edi, eax
mov eax, dword [esp + 0x54]
and dword [esp + 0x28], 0
inc eax
cmp eax, esi
mov dword [esp + 0x30], eax
mov esi, dword [esp + 0x38]
cmove eax, dword [esp + 0x28]
movss xmm2, dword [edx + eax*8]
movss xmm3, dword [edx + eax*8 + 4]
mov eax, esi
subss xmm2, dword [edx + esi*8]
mov esi, dword [esp + 0x6c]
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 [0x100c2498]
jbe 0x1003e618
rsqrtss xmm1, xmm1
movaps xmm0, xmm1
mulss xmm3, xmm1
mulss xmm2, xmm0
xorps xmm2, xmmword [0x100cbb50]
movss dword [edi + eax*8], xmm3
movss dword [edi + eax*8 + 4], xmm2
mov eax, dword [esp + 0x30]
mov dword [esp + 0x38], eax
cmp eax, ecx
jl 0x1003e5bd
mov edi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x48]
cmp byte [esp + 0x74], 0
jne 0x1003e667
mov edi, dword [esp + 0x5c]
mov eax, dword [eax + esi*8 - 0x10]
mov ecx, dword [esp + 0x48]
mov dword [edi - 8], eax
mov eax, edi
mov edi, dword [esp + 0x4c]
mov ecx, dword [ecx + esi*8 - 0xc]
mov dword [eax - 4], ecx
mov ecx, eax
cmp byte [esp + 0x63], 0
movss xmm6, dword [0x100c24a0]
jne 0x1003eb3e
cmp byte [esp + 0x62], 0
je 0x1003eb2e
cmp byte [esp + 0x74], 0
movss xmm4, dword [esp + 0x78]
movss xmm5, dword [esp + 0x2c]
subss xmm4, xmm5
mulss xmm4, xmm6
jne 0x1003e807
mov eax, dword [esp + 0x48]
movaps xmm3, xmm4
addss xmm3, xmm5
mov esi, dword [esp + 0x40]
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 [ecx + 4], xmm0
movaps xmm0, xmm4
movss dword [ecx], xmm1
movaps xmm1, xmm4
mulss xmm0, dword [eax + 4]
mulss xmm1, dword [eax]
addss xmm0, dword [edx + 4]
addss xmm1, dword [edx]
movss dword [ecx + 0xc], xmm0
movaps xmm0, xmm4
movss dword [ecx + 8], xmm1
mulss xmm0, dword [eax]
movss xmm2, dword [edx]
movss xmm1, dword [edx + 4]
subss xmm2, xmm0
movaps xmm0, xmm4
mulss xmm0, dword [eax + 4]
subss xmm1, xmm0
movss dword [ecx + 0x10], xmm2
movaps xmm0, xmm3
movss dword [ecx + 0x14], 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 [ecx + 0x18], xmm2
movaps xmm0, xmm3
movss dword [ecx + 0x1c], xmm1
lea ecx, [eax + esi*8]
mulss xmm0, dword [ecx + 4]
lea eax, [edx + esi*8]
shl esi, 5
movaps xmm1, xmm3
mov dword [esp + 0x40], esi
mulss xmm1, dword [ecx]
mov esi, dword [esp + 0x5c]
addss xmm0, dword [eax + 4]
mov edi, dword [esp + 0x40]
addss xmm1, dword [eax]
movss dword [edi + esi + 4], xmm0
movaps xmm0, xmm4
movss dword [edi + esi], xmm1
movaps xmm1, xmm4
mulss xmm0, dword [ecx + 4]
mulss xmm1, dword [ecx]
addss xmm0, dword [eax + 4]
addss xmm1, dword [eax]
movss dword [edi + esi + 0xc], xmm0
movaps xmm0, xmm4
movss dword [edi + esi + 8], xmm1
mulss xmm0, dword [ecx]
movss xmm2, dword [eax]
movss xmm1, dword [eax + 4]
subss xmm2, xmm0
movaps xmm0, xmm4
mulss xmm0, dword [ecx + 4]
subss xmm1, xmm0
movss dword [edi + esi + 0x10], xmm2
movaps xmm0, xmm3
movss dword [edi + esi + 0x14], xmm1
mulss xmm0, dword [ecx]
movss xmm1, dword [eax]
mulss xmm3, dword [ecx + 4]
mov ecx, esi
subss xmm1, xmm0
movss xmm0, dword [eax + 4]
mov eax, edi
subss xmm0, xmm3
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x6c]
movss dword [eax + ecx + 0x18], xmm1
movss dword [eax + ecx + 0x1c], xmm0
cmp dword [esp + 0x44], 0
mov eax, dword [edi + 0x28]
mov dword [esp + 0x38], eax
jle 0x1003ea58
movss xmm7, dword [0x100c24a4]
movaps xmm6, xmm4
mov eax, dword [esp + 0x54]
addss xmm6, xmm5
mov dword [esp + 0x28], eax
xor ecx, ecx
mov eax, dword [esp + 0x34]
cmp eax, esi
cmove eax, ecx
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x54]
inc eax
mov dword [esp + 0x54], eax
cmp eax, esi
jne 0x1003e851
mov eax, dword [edi + 0x28]
jmp 0x1003e858
mov eax, dword [esp + 0x38]
add eax, 4
mov esi, dword [esp + 0x74]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x78], eax
mov eax, esi
shl eax, 3
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x74]
movss xmm2, dword [eax + ecx*8 + 4]
movss xmm0, dword [edx + eax]
addss xmm2, dword [edx + eax + 4]
addss xmm0, dword [eax + ecx*8]
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x5c]
movaps xmm5, xmm2
mulss xmm2, xmm2
mulss xmm5, dword [0x100c24a0]
movaps xmm3, xmm0
mulss xmm3, dword [0x100c24a0]
mulss xmm0, xmm0
addss xmm2, xmm0
mulss xmm2, dword [0x100cb9f8]
comiss xmm2, dword [0x100e1898]
jbe 0x1003e8e0
movaps xmm1, xmm7
divss xmm1, xmm2
minss xmm1, dword [0x100cba54]
movaps xmm0, xmm1
mulss xmm5, xmm1
mulss xmm3, xmm0
mov eax, dword [esp + 0x74]
movaps xmm1, xmm3
mulss xmm1, xmm6
movaps xmm2, xmm5
shl esi, 5
add esi, ecx
mulss xmm2, xmm6
movaps xmm0, xmm1
mulss xmm3, xmm4
addss xmm0, dword [eax + edx]
mulss xmm5, xmm4
movss dword [esi], xmm0
movaps xmm0, xmm2
addss xmm0, dword [eax + edx + 4]
movss dword [esi + 4], xmm0
movaps xmm0, xmm3
addss xmm0, dword [eax + edx]
movss dword [esi + 8], xmm0
movaps xmm0, xmm5
addss xmm0, dword [eax + edx + 4]
movss dword [esi + 0xc], xmm0
movss xmm0, dword [eax + edx]
subss xmm0, xmm3
movss dword [esi + 0x10], xmm0
movss xmm0, dword [eax + edx + 4]
subss xmm0, xmm5
movss dword [esi + 0x14], xmm0
movss xmm0, dword [eax + edx]
subss xmm0, xmm1
movss dword [esi + 0x18], xmm0
movss xmm0, dword [eax + edx + 4]
mov eax, dword [esp + 0x78]
subss xmm0, xmm2
movzx eax, ax
mov dword [esp + 0x74], eax
movss dword [esi + 0x1c], xmm0
lea esi, [eax + 1]
mov eax, dword [edi + 0x38]
mov word [eax], si
mov eax, dword [esp + 0x38]
movzx edi, ax
mov eax, dword [esp + 0x4c]
lea ecx, [edi + 1]
mov eax, dword [eax + 0x38]
lea edx, [edi + 2]
mov word [eax + 2], cx
mov ecx, dword [esp + 0x4c]
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 + 0x74]
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 + 0x74]
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 + 0x4c]
mov word [eax + 0x1a], dx
mov eax, dword [edi + 0x38]
mov word [eax + 0x1c], cx
mov eax, dword [edi + 0x38]
mov word [eax + 0x1e], cx
mov eax, dword [edi + 0x38]
mov ecx, dword [esp + 0x74]
add ecx, 3
mov word [eax + 0x20], cx
mov eax, dword [edi + 0x38]
mov word [eax + 0x22], si
mov eax, dword [esp + 0x78]
add dword [edi + 0x38], 0x24
inc dword [esp + 0x34]
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x54]
cmp eax, dword [esp + 0x44]
jl 0x1003e82c
mov ecx, dword [esp + 0x5c]
lea eax, [ecx + 0x10]
mov dword [esp + 0x68], 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 + 0x50]
mov edx, dword [esp + 0x68]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x58]
mov dword [eax + 0xc], ecx
mov eax, dword [edi + 0x34]
mov ecx, dword [esp + 0x3c]
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 + 0x50]
mov dword [eax + 0x1c], ecx
mov ecx, dword [esp + 0x58]
mov dword [eax + 0x20], ecx
mov eax, dword [edi + 0x34]
mov ecx, dword [esp + 0x70]
mov dword [eax + 0x24], ecx
mov eax, dword [esp + 0x68]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [edi + 0x34]
mov dword [eax + 0x28], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 0x2c], edx
mov eax, dword [edi + 0x34]
mov dword [eax + 0x30], ecx
mov ecx, dword [esp + 0x58]
mov dword [eax + 0x34], ecx
mov eax, dword [edi + 0x34]
mov ecx, dword [esp + 0x70]
mov dword [eax + 0x38], ecx
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov eax, dword [edi + 0x34]
mov dword [eax + 0x3c], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 0x40], edx
mov eax, dword [edi + 0x34]
mov dword [eax + 0x44], ecx
mov ecx, dword [esp + 0x58]
mov dword [eax + 0x48], ecx
mov eax, dword [edi + 0x34]
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0x4c], ecx
mov eax, dword [esp + 0x68]
add dword [edi + 0x34], 0x50
add eax, 0x20
mov dword [esp + 0x68], eax
sub esi, 1
jne 0x1003ea5f
jmp 0x1003efa7
movss xmm3, dword [esp + 0x2c]
movss xmm7, dword [0x100c24a4]
jmp 0x1003eb54
movss xmm3, dword [esp + 0x78]
movss xmm7, dword [0x100c24a4]
mulss xmm3, xmm6
addss xmm3, xmm7
cmp byte [esp + 0x74], 0
jne 0x1003ec16
mov eax, dword [esp + 0x48]
movaps xmm0, xmm3
movaps xmm1, xmm3
mov edi, dword [esp + 0x48]
mulss xmm0, dword [eax + 4]
mulss xmm1, dword [eax]
addss xmm0, dword [edx + 4]
addss xmm1, dword [edx]
movss dword [ecx + 4], xmm0
movaps xmm0, xmm3
movss dword [ecx], 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 [ecx + 8], xmm2
movaps xmm0, xmm3
movss dword [ecx + 0xc], xmm1
movaps xmm1, xmm3
mulss xmm0, dword [eax + esi*8 - 4]
mulss xmm1, dword [eax + esi*8 - 8]
mov eax, esi
add eax, eax
addss xmm0, dword [edx + esi*8 - 4]
addss xmm1, dword [edx + esi*8 - 8]
movss dword [ecx + eax*8 - 0xc], xmm0
movaps xmm0, xmm3
movss dword [ecx + eax*8 - 0x10], xmm1
mulss xmm0, dword [edi + esi*8 - 8]
movss xmm2, dword [edx + esi*8 - 8]
movss xmm1, dword [edx + esi*8 - 4]
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [edi + esi*8 - 4]
mov edi, dword [esp + 0x4c]
subss xmm1, xmm0
movss dword [ecx + eax*8 - 8], xmm2
movss dword [ecx + eax*8 - 4], xmm1
cmp dword [esp + 0x44], 0
mov eax, dword [edi + 0x28]
mov dword [esp + 0x34], eax
jle 0x1003ee37
movss xmm1, dword [0x100cb9f8]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x78], 1
mov dword [esp + 0x28], eax
xor edx, edx
mov eax, dword [esp + 0x78]
cmp eax, esi
cmove eax, edx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x54]
inc eax
mov dword [esp + 0x54], eax
cmp eax, esi
jne 0x1003ec61
mov eax, dword [edi + 0x28]
jmp 0x1003ec72
movzx eax, byte [esp + 0x63]
mov esi, dword [esp + 0x34]
xor eax, 1
add esi, 2
add eax, esi
mov edx, dword [esp + 0x28]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x2c]
shl eax, 3
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x30]
movss xmm2, dword [eax + edx*8 + 4]
movss xmm0, dword [esi + eax]
addss xmm2, dword [esi + eax + 4]
addss xmm0, dword [eax + edx*8]
mov edx, dword [esp + 0x68]
movaps xmm5, xmm2
mulss xmm2, xmm2
movaps xmm4, xmm0
mulss xmm5, xmm6
mulss xmm0, xmm0
mulss xmm4, xmm6
addss xmm2, xmm0
mulss xmm2, xmm1
comiss xmm2, dword [0x100e1898]
jbe 0x1003ecf0
movaps xmm1, xmm7
divss xmm1, xmm2
minss xmm1, dword [0x100cba54]
movaps xmm0, xmm1
mulss xmm5, xmm1
movss xmm1, dword [0x100cb9f8]
mulss xmm4, xmm0
mov eax, dword [esp + 0x2c]
shl eax, 4
add eax, ecx
mulss xmm4, xmm3
mov ecx, dword [esp + 0x30]
mulss xmm5, xmm3
mov esi, dword [esp + 0x34]
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 + 0x74]
movzx ecx, ax
lea eax, [ecx + 1]
movzx eax, ax
mov dword [esp + 0x2c], eax
movzx eax, si
inc eax
cmp byte [esp + 0x63], 0
movzx eax, ax
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0x38]
mov word [eax], cx
mov eax, dword [edi + 0x38]
movzx ecx, si
mov word [eax + 2], cx
mov eax, dword [edi + 0x38]
je 0x1003eda4
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
mov word [eax + 4], cx
mov eax, dword [edi + 0x38]
mov word [eax + 6], si
mov eax, dword [edi + 0x38]
mov esi, dword [esp + 0x74]
mov word [eax + 8], cx
mov eax, dword [edi + 0x38]
movzx ecx, si
mov word [eax + 0xa], cx
add dword [edi + 0x38], 0xc
jmp 0x1003ee15
mov edx, dword [esp + 0x74]
add ecx, 2
mov word [eax + 4], cx
mov eax, dword [edi + 0x38]
mov word [eax + 6], cx
mov eax, dword [edi + 0x38]
mov ecx, dword [esp + 0x74]
movzx ecx, cx
add ecx, 2
mov word [eax + 8], cx
mov eax, dword [edi + 0x38]
movzx ecx, dx
mov edx, dword [esp + 0x2c]
mov word [eax + 0xa], cx
mov eax, dword [edi + 0x38]
mov ecx, dword [esp + 0x30]
mov word [eax + 0xc], dx
mov eax, dword [edi + 0x38]
mov word [eax + 0xe], cx
mov eax, dword [edi + 0x38]
movzx ecx, si
mov esi, dword [esp + 0x74]
mov word [eax + 0x10], cx
mov eax, dword [edi + 0x38]
mov word [eax + 0x12], cx
mov eax, dword [edi + 0x38]
movzx ecx, si
mov word [eax + 0x14], cx
mov eax, dword [edi + 0x38]
mov word [eax + 0x16], dx
add dword [edi + 0x38], 0x18
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x74]
inc dword [esp + 0x78]
mov esi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x54]
cmp eax, dword [esp + 0x44]
jl 0x1003ec3c
cmp byte [esp + 0x63], 0
je 0x1003ef07
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
mov eax, dword [esp + 0x5c]
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 + 0x4c]
mov esi, dword [esp + 0x6c]
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 ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [edi + 0x34]
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 + 0x70]
mov dword [eax + 0x10], ecx
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov eax, dword [edi + 0x34]
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 + 0x70]
mov dword [eax + 0x24], ecx
mov eax, dword [esp + 0x5c]
add dword [edi + 0x34], 0x28
add eax, 0x10
mov dword [esp + 0x5c], eax
sub esi, 1
jne 0x1003ee98
jmp 0x1003efa7
mov ecx, dword [edx]
mov eax, dword [edi + 0x34]
mov edx, dword [edx + 4]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [edi + 0x34]
mov ecx, dword [esp + 0x50]
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
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [edi + 0x34]
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 0x18], edx
mov eax, dword [edi + 0x34]
mov dword [eax + 0x1c], ecx
mov ecx, dword [esp + 0x58]
mov dword [eax + 0x20], ecx
mov eax, dword [edi + 0x34]
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0x24], ecx
mov eax, dword [esp + 0x5c]
add dword [esp + 0x5c], 0x10
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov eax, dword [edi + 0x34]
mov dword [eax + 0x28], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 0x2c], edx
mov eax, dword [edi + 0x34]
mov edx, dword [esp + 0x68]
add edx, 8
mov dword [esp + 0x68], edx
mov dword [eax + 0x30], ecx
mov ecx, dword [esp + 0x58]
mov dword [eax + 0x34], ecx
mov eax, dword [edi + 0x34]
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0x38], ecx
add dword [edi + 0x34], 0x3c
sub esi, 1
jne 0x1003ef07
mov eax, dword [esp + 0x18]
movzx eax, ax
add dword [edi + 0x28], eax
jmp 0x1003f1a5
mov eax, ecx
shl eax, 2
push eax
imul eax, ecx, 6
mov ecx, edi
push eax
call fcn.100401c8
xor eax, eax
cmp dword [esp + 0x44], eax
jle 0x1003f1a5
movss xmm1, dword [esp + 0x78]
mulss xmm1, dword [0x100c24a0]
mov edx, dword [esp + 0x68]
lea ecx, [edx + eax*8]
mov dword [esp + 0x68], ecx
lea ecx, [eax + 1]
xor eax, eax
mov dword [esp + 0x74], ecx
cmp ecx, esi
cmove ecx, eax
mov eax, dword [esp + 0x68]
movss xmm3, dword [edx + ecx*8]
movss xmm4, dword [edx + ecx*8 + 4]
movss xmm5, dword [eax]
subss xmm4, dword [eax + 4]
subss xmm3, xmm5
movaps xmm2, xmm4
movaps xmm0, xmm3
mulss xmm2, xmm4
mulss xmm0, xmm3
addss xmm2, xmm0
comiss xmm2, dword [0x100c2498]
jbe 0x1003f040
rsqrtss xmm2, xmm2
movaps xmm0, xmm2
mulss xmm4, xmm2
mulss xmm3, xmm0
mov eax, dword [edi + 0x34]
mulss xmm4, xmm1
mov esi, dword [esp + 0x50]
mulss xmm3, xmm1
push 2
addss xmm5, xmm4
movss dword [eax], xmm5
mov eax, dword [esp + 0x6c]
movss xmm0, dword [eax + 4]
mov eax, dword [edi + 0x34]
subss xmm0, xmm3
movss dword [eax + 4], xmm0
movaps xmm0, xmm4
mov eax, dword [edi + 0x34]
mov dword [eax + 8], esi
mov esi, dword [esp + 0x5c]
mov dword [eax + 0xc], esi
mov eax, dword [edi + 0x34]
mov esi, dword [esp + 0x74]
mov dword [eax + 0x10], esi
addss xmm0, dword [edx + ecx*8]
mov eax, dword [edi + 0x34]
mov esi, dword [esp + 0x54]
movss dword [eax + 0x14], xmm0
movss xmm0, dword [edx + ecx*8 + 4]
mov eax, dword [edi + 0x34]
subss xmm0, xmm3
movss dword [eax + 0x18], xmm0
mov eax, dword [edi + 0x34]
mov dword [eax + 0x1c], esi
mov esi, dword [esp + 0x5c]
mov dword [eax + 0x20], esi
mov eax, dword [edi + 0x34]
mov esi, dword [esp + 0x74]
mov dword [eax + 0x24], esi
movss xmm0, dword [edx + ecx*8]
mov eax, dword [edi + 0x34]
subss xmm0, xmm4
mov esi, dword [esp + 0x54]
movss dword [eax + 0x28], xmm0
movaps xmm0, xmm3
addss xmm0, dword [edx + ecx*8 + 4]
mov eax, dword [edi + 0x34]
mov ecx, dword [esp + 0x5c]
movss dword [eax + 0x2c], xmm0
mov eax, dword [edi + 0x34]
mov dword [eax + 0x30], esi
mov dword [eax + 0x34], ecx
mov eax, dword [edi + 0x34]
mov ecx, dword [esp + 0x74]
mov dword [eax + 0x38], ecx
mov eax, dword [esp + 0x6c]
movss xmm0, dword [eax]
mov eax, dword [edi + 0x34]
subss xmm0, xmm4
movss dword [eax + 0x3c], xmm0
mov eax, dword [esp + 0x6c]
addss xmm3, dword [eax + 4]
mov eax, dword [edi + 0x34]
movss dword [eax + 0x40], xmm3
mov eax, dword [edi + 0x34]
mov dword [eax + 0x44], esi
mov esi, dword [esp + 0x5c]
mov dword [eax + 0x48], esi
mov eax, dword [edi + 0x34]
pop esi
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 cx, word [edi + 0x28]
mov eax, dword [edi + 0x38]
inc cx
mov word [eax + 2], cx
mov cx, word [edi + 0x28]
mov eax, dword [edi + 0x38]
add cx, si
mov word [eax + 4], cx
mov ecx, dword [edi + 0x38]
mov ax, word [edi + 0x28]
mov word [ecx + 6], ax
mov eax, dword [edi + 0x38]
mov cx, word [edi + 0x28]
add cx, si
mov esi, dword [esp + 0x6c]
push 3
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 eax, dword [esp + 0x74]
cmp eax, dword [esp + 0x44]
jl 0x1003efe5
pop edi
pop esi
add esp, 0x5c
ret 0x14