Function at 0x1002bbf0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x40
movss xmm0, dword [ebx + 0x14]
comiss xmm0, dword [0x1026bac0]
push esi
mov esi, dword [ebx + 0xc]
push edi
mov edi, ecx
mov dword [ebp - 8], edi
lea ecx, [esi - 1]
mov dword [ebp - 0x14], ecx
seta al
cmp byte [ebx + 0x18], 0
mov byte [ebp - 1], al
je 0x1002c60c
test al, al
je 0x1002bc45
lea eax, [ecx + ecx*8]
mov edx, 4
add eax, eax
jmp 0x1002bc50
lea eax, [ecx + ecx*2]
mov edx, 3
shl eax, 2
mov ecx, esi
imul ecx, edx
push ecx
mov dword [ebp - 0x3c], ecx
mov ecx, edi
push eax
call fcn.1002cc10
movzx eax, byte [ebp - 1]
shl eax, 4
add eax, 0x18
imul eax, esi
call fcn.101e2dc0
mov ecx, esp
lea eax, [esi - 1]
mov dword [ebp - 0xc], ecx
lea edx, [ecx + esi*8]
mov esi, dword [ebx + 8]
mov dword [ebp - 0x10], edx
test eax, eax
je 0x1002bd45
mov edi, esi
mov dword [ebp - 0x2c], 1
sub edi, ecx
mov dword [ebp - 0x20], esi
lea edx, [ecx + 4]
mov dword [ebp - 0x30], edi
mov edi, dword [ebx + 0xc]
mov ecx, 1
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
nop
xor eax, eax
cmp ecx, edi
cmovne eax, ecx
movss xmm1, dword [esi + eax*8]
movss xmm2, dword [esi + eax*8 + 4]
mov eax, dword [ebp - 0x20]
subss xmm1, dword [eax]
mov eax, dword [ebp - 0x30]
subss xmm2, dword [eax + edx]
movaps xmm0, xmm1
movss dword [ebp - 0x1c], xmm1
mulss xmm0, xmm1
movaps xmm1, xmm2
movss dword [ebp - 0x18], xmm2
mulss xmm1, xmm2
addss xmm0, xmm1
call fcn.10006eb0
movss xmm4, dword [0x1026bac0]
movaps xmm1, xmm4
mov edx, dword [ebp - 0x28]
divss xmm1, xmm0
mov ecx, dword [ebp - 0x2c]
inc ecx
add dword [ebp - 0x20], 8
mov dword [ebp - 0x2c], ecx
movss xmm2, dword [ebp - 0x18]
movaps xmm0, xmm1
mulss xmm2, xmm1
mulss xmm0, dword [ebp - 0x1c]
movss dword [edx - 4], xmm2
xorps xmm0, xmmword [0x1026c420]
movss dword [edx], xmm0
add edx, 8
sub dword [ebp - 0x24], 1
mov dword [ebp - 0x28], edx
jne 0x1002bcb0
mov edx, dword [ebp - 0x10]
jmp 0x1002bd4d
movss xmm4, dword [0x1026bac0]
cmp byte [ebp - 1], 0
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebp - 0xc]
mov edi, dword [ebp - 0xc]
mov eax, dword [eax + ecx*8 - 0x10]
mov ecx, dword [edi + ecx*8 - 0xc]
mov edi, dword [ebp - 8]
mov dword [edx - 8], eax
mov dword [edx - 4], ecx
jne 0x1002c0b6
movss xmm0, dword [esi]
movss xmm1, dword [esi + 4]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebx + 0xc]
addss xmm0, dword [eax]
addss xmm1, dword [eax + 4]
movss dword [edx], xmm0
movss dword [edx + 4], xmm1
movss xmm0, dword [esi]
subss xmm0, dword [eax]
movss xmm1, dword [esi + 4]
subss xmm1, dword [eax + 4]
mov eax, ecx
add eax, eax
movss dword [edx + 8], xmm0
movss dword [edx + 0xc], xmm1
movss xmm0, dword [edx - 8]
movss xmm1, dword [edx - 4]
addss xmm0, dword [esi + ecx*8 - 8]
addss xmm1, dword [esi + ecx*8 - 4]
movss dword [edx + eax*8 - 0x10], xmm0
movss dword [edx + eax*8 - 0xc], xmm1
movss xmm0, dword [esi + ecx*8 - 8]
movss xmm1, dword [esi + ecx*8 - 4]
subss xmm0, dword [edx - 8]
subss xmm1, dword [edx - 4]
movss dword [edx + eax*8 - 8], xmm0
movss dword [edx + eax*8 - 4], xmm1
mov eax, dword [edi + 0x64]
mov dword [ebp - 8], eax
lea eax, [ecx - 1]
test eax, eax
je 0x1002bf68
mov eax, dword [ebp - 0xc]
movss xmm5, dword [0x1026ba54]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], 1
nop
mov esi, dword [ebp - 0x1c]
cmp esi, ecx
jne 0x1002be31
mov ecx, dword [edi + 0x64]
mov dword [ebp - 0x20], ecx
xor ecx, ecx
jmp 0x1002be39
lea ecx, [eax + 3]
mov dword [ebp - 0x20], ecx
mov ecx, esi
mov esi, dword [ebp - 0x18]
lea eax, [ecx*8]
shl ecx, 4
add ecx, edx
mov edx, dword [ebp - 0x20]
movss xmm2, dword [esi]
movss xmm3, dword [esi + 4]
mov esi, dword [ebp - 0xc]
addss xmm2, dword [eax + esi]
addss xmm3, dword [eax + esi + 4]
mov esi, dword [ebx + 8]
mulss xmm2, xmm5
mulss xmm3, xmm5
movaps xmm1, xmm2
mulss xmm1, xmm2
movaps xmm0, xmm3
mulss xmm0, xmm3
addss xmm1, xmm0
movaps xmm0, xmm5
maxss xmm0, xmm1
movaps xmm1, xmm4
divss xmm1, xmm0
mulss xmm2, xmm1
mulss xmm3, xmm1
movaps xmm1, xmm2
addss xmm1, dword [eax + esi]
movaps xmm0, xmm3
addss xmm0, dword [eax + esi + 4]
movss dword [ecx], xmm1
movss dword [ecx + 4], xmm0
movss xmm0, dword [eax + esi]
movss xmm1, dword [eax + esi + 4]
subss xmm0, xmm2
subss xmm1, xmm3
movss dword [ecx + 8], xmm0
movss dword [ecx + 0xc], xmm1
mov eax, dword [edi + 0x60]
mov ecx, dword [ebp - 8]
mov dword [eax], edx
add dword [edi + 0x60], 4
mov eax, dword [edi + 0x60]
mov dword [eax], ecx
add ecx, 2
add dword [edi + 0x60], 4
mov eax, dword [edi + 0x60]
mov dword [eax], ecx
add dword [edi + 0x60], 4
mov eax, dword [edi + 0x60]
mov dword [eax], ecx
lea eax, [edx + 2]
add dword [edi + 0x60], 4
mov ecx, dword [edi + 0x60]
mov dword [ecx], eax
add dword [edi + 0x60], 4
mov eax, dword [edi + 0x60]
mov dword [eax], edx
inc edx
add dword [edi + 0x60], 4
mov eax, dword [edi + 0x60]
mov dword [eax], edx
add dword [edi + 0x60], 4
mov ecx, dword [edi + 0x60]
mov eax, dword [ebp - 8]
inc eax
mov dword [ecx], eax
add dword [edi + 0x60], 4
mov eax, dword [edi + 0x60]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
add dword [edi + 0x60], 4
mov eax, dword [edi + 0x60]
mov dword [eax], ecx
add dword [edi + 0x60], 4
mov eax, dword [edi + 0x60]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
add dword [edi + 0x60], 4
mov eax, dword [edi + 0x60]
mov dword [eax], edx
mov eax, ecx
add dword [edi + 0x60], 4
inc dword [ebp - 0x1c]
add dword [ebp - 0x18], 8
sub dword [ebp - 0x14], 1
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 8], eax
jne 0x1002be20
xor eax, eax
mov dword [ebp - 0x24], eax
test ecx, ecx
je 0x1002c5f8
mov ecx, dword [ebx + 0x10]
mov ecx, dword [ecx + eax*4]
mov eax, ecx
shr eax, 8
movzx edx, al
movzx eax, cl
shl eax, 8
or edx, eax
mov eax, ecx
shr eax, 0x10
movzx eax, al
shl edx, 8
or edx, eax
shr ecx, 0x18
mov eax, edx
mov dword [ebp - 0x2c], edx
mov edx, dword [esi + 4]
shl eax, 8
or ecx, eax
mov dword [ebp - 0x28], eax
mov eax, dword [edi + 0x5c]
mov dword [ebp - 0x30], ecx
mov ecx, dword [esi]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [edi + 0x5c]
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 0x15], cl
mov dword [eax + 8], 0x3f800000
mov dword [eax + 0xc], 0x3f800000
mov eax, ecx
shr eax, 0x18
mov byte [ebp - 0x18], al
mov eax, ecx
shr eax, 0x10
mov byte [ebp - 0x17], al
mov eax, ecx
mov ecx, dword [edi + 0x5c]
shr eax, 8
mov byte [ebp - 0x16], al
mov eax, dword [ebp - 0x18]
mov dword [ecx + 0x10], eax
add dword [edi + 0x5c], 0x14
mov edx, dword [edi + 0x5c]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edx], eax
mov dword [edx + 4], ecx
mov eax, dword [edi + 0x5c]
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 0x11], cl
mov dword [eax + 8], 0x3f800000
mov dword [eax + 0xc], 0x3f800000
mov eax, ecx
shr eax, 0x18
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x14], al
mov eax, ecx
mov ecx, dword [edi + 0x5c]
shr eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x13], al
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 0x12], al
mov eax, dword [ebp - 0x14]
mov dword [ecx + 0x10], eax
add dword [edi + 0x5c], 0x14
mov edx, dword [edi + 0x5c]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [edx], eax
mov dword [edx + 4], ecx
mov eax, dword [edi + 0x5c]
mov dword [eax + 8], 0x3f800000
mov dword [eax + 0xc], 0x3f800000
mov eax, dword [ebp - 0x30]
mov byte [ebp - 0xc], al
mov eax, dword [ebp - 0x20]
mov byte [ebp - 0xb], al
mov eax, dword [ebp - 0x2c]
lea esi, [esi + 8]
mov ecx, dword [edi + 0x5c]
add dword [ebp - 0x10], 0x10
mov byte [ebp - 0xa], al
mov eax, dword [ebp - 0x28]
mov byte [ebp - 9], al
mov eax, dword [ebp - 0xc]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x24]
add dword [edi + 0x5c], 0x14
inc eax
mov dword [ebp - 0x24], eax
cmp eax, dword [ebx + 0xc]
jb 0x1002bf75
mov eax, dword [ebp - 0x3c]
add dword [edi + 0x64], eax
lea esp, [ebp - 0x48]
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x14
movss xmm6, dword [ebx + 0x14]
lea eax, [edx + 0x10]
movss xmm5, dword [0x1026ba54]
subss xmm6, xmm4
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x38], eax
movss xmm1, dword [ecx]
movss xmm0, dword [ecx + 4]
mulss xmm6, xmm5
movaps xmm7, xmm6
movss dword [ebx + 0x14], xmm6
addss xmm7, xmm4
mulss xmm1, xmm7
mulss xmm0, xmm7
addss xmm1, dword [esi]
movss dword [ebp - 0x34], xmm7
addss xmm0, dword [esi + 4]
movss dword [edx], xmm1
movss dword [edx + 4], xmm0
movss xmm0, dword [ecx]
movss xmm1, dword [ecx + 4]
mulss xmm0, xmm6
mulss xmm1, xmm6
addss xmm0, dword [esi]
addss xmm1, dword [esi + 4]
movss dword [edx + 8], xmm0
movss dword [edx + 0xc], xmm1
movss xmm2, dword [ecx]
movss xmm3, dword [ecx + 4]
movss xmm0, dword [esi]
movss xmm1, dword [esi + 4]
mulss xmm2, xmm6
mulss xmm3, xmm6
subss xmm0, xmm2
subss xmm1, xmm3
movss dword [eax], xmm0
movss dword [eax + 4], xmm1
movss xmm2, dword [ecx]
movss xmm3, dword [ecx + 4]
movss xmm0, dword [esi]
movss xmm1, dword [esi + 4]
mov ecx, dword [ebx + 0xc]
mov eax, ecx
mulss xmm2, xmm7
shl eax, 5
mulss xmm3, xmm7
subss xmm0, xmm2
subss xmm1, xmm3
movss dword [edx + 0x18], xmm0
movaps xmm0, xmm7
movss dword [edx + 0x1c], xmm1
movaps xmm1, xmm7
mulss xmm1, dword [edx - 8]
mulss xmm0, dword [edx - 4]
addss xmm1, dword [esi + ecx*8 - 8]
addss xmm0, dword [esi + ecx*8 - 4]
movss dword [eax + edx - 0x20], xmm1
movss dword [eax + edx - 0x1c], xmm0
movss xmm0, dword [edx - 8]
movss xmm1, dword [edx - 4]
mulss xmm0, xmm6
mulss xmm1, xmm6
addss xmm0, dword [esi + ecx*8 - 8]
addss xmm1, dword [esi + ecx*8 - 4]
movss dword [eax + edx - 0x18], xmm0
movss dword [eax + edx - 0x14], xmm1
movss xmm2, dword [edx - 8]
movss xmm3, dword [edx - 4]
movss xmm0, dword [esi + ecx*8 - 8]
movss xmm1, dword [esi + ecx*8 - 4]
mulss xmm2, xmm6
mulss xmm3, xmm6
subss xmm0, xmm2
subss xmm1, xmm3
movss dword [eax + edx - 0x10], xmm0
movaps xmm0, xmm7
movss dword [eax + edx - 0xc], xmm1
movaps xmm1, xmm7
mulss xmm0, dword [edx - 8]
mulss xmm1, dword [edx - 4]
movss xmm2, dword [esi + ecx*8 - 8]
movss xmm3, dword [esi + ecx*8 - 4]
subss xmm2, xmm0
subss xmm3, xmm1
movss dword [eax + edx - 8], xmm2
movss dword [eax + edx - 4], xmm3
lea eax, [ecx - 1]
mov edx, dword [edi + 0x64]
mov dword [ebp - 0x1c], edx
test eax, eax
je 0x1002c46d
mov eax, dword [ebp - 0xc]
mov esi, 1
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], eax
nop
cmp esi, ecx
jne 0x1002c26b
mov ecx, dword [edi + 0x64]
xor esi, esi
jmp 0x1002c26e
lea ecx, [edx + 4]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x2c], esi
movss xmm1, dword [ecx]
addss xmm1, dword [eax + esi*8]
movss xmm2, dword [ecx + 4]
addss xmm2, dword [eax + esi*8 + 4]
mulss xmm1, xmm5
mulss xmm2, xmm5
movaps xmm0, xmm1
movss dword [ebp - 0x30], xmm1
mulss xmm0, xmm1
movaps xmm1, xmm2
movss dword [ebp - 0x24], xmm2
mulss xmm1, xmm2
addss xmm0, xmm1
call fcn.10006eb0
movss xmm2, dword [0x1026bac0]
mov ecx, esi
divss xmm2, xmm0
mov eax, dword [ebx + 8]
shl ecx, 5
add ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
movss xmm5, dword [ebp - 0x30]
movss xmm3, dword [ebp - 0x34]
movss xmm4, dword [ebp - 0x34]
mulss xmm5, xmm2
mulss xmm2, dword [ebp - 0x24]
mulss xmm3, xmm5
mulss xmm5, dword [ebx + 0x14]
mulss xmm4, xmm2
movaps xmm1, xmm3
addss xmm1, dword [eax + esi*8]
mulss xmm2, dword [ebx + 0x14]
movaps xmm0, xmm4
addss xmm0, dword [eax + esi*8 + 4]
movss dword [ecx], xmm1
movaps xmm1, xmm5
movss dword [ecx + 4], xmm0
movaps xmm0, xmm2
addss xmm1, dword [eax + esi*8]
addss xmm0, dword [eax + esi*8 + 4]
movss dword [ecx + 8], xmm1
movss dword [ecx + 0xc], xmm0
movss xmm0, dword [eax + esi*8]
movss xmm1, dword [eax + esi*8 + 4]
subss xmm0, xmm5
subss xmm1, xmm2
movss dword [ecx + 0x10], xmm0
movss dword [ecx + 0x14], xmm1
movss xmm0, dword [eax + esi*8]
movss xmm1, dword [eax + esi*8 + 4]
subss xmm0, xmm3
mov esi, dword [ebp - 0x18]
subss xmm1, xmm4
inc esi
movss dword [ecx + 0x18], xmm0
movss dword [ecx + 0x1c], xmm1
lea ecx, [edx + 1]
mov eax, dword [edi + 0x60]
add edx, 2
mov dword [ebp - 0x30], edx
mov dword [eax], esi
add dword [edi + 0x60], 4
mov eax, dword [edi + 0x60]
mov dword [eax], ecx
add dword [edi + 0x60], 4
mov eax, dword [edi + 0x60]
mov dword [eax], edx
add dword [edi + 0x60], 4
mov eax, dword [edi + 0x60]
mov dword [eax], edx
add dword [edi + 0x60], 4
mov eax, dword [edi + 0x60]
mov edi, dword [ebp - 0x18]
add edi, 2
mov dword [eax], edi
mov eax, dword [ebp - 8]
add dword [eax + 0x60], 4
mov eax, dword [eax + 0x60]
mov dword [eax], esi
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
add dword [ebp - 0x20], 8
movss xmm5, dword [0x1026ba54]
add dword [eax + 0x60], 4
mov eax, dword [eax + 0x60]
mov dword [eax], esi
mov eax, dword [ebp - 8]
add dword [eax + 0x60], 4
mov eax, dword [eax + 0x60]
mov dword [eax], ecx
mov ecx, dword [ebp - 8]
add dword [ecx + 0x60], 4
mov eax, dword [ecx + 0x60]
mov dword [eax], edx
add dword [ecx + 0x60], 4
mov eax, dword [ecx + 0x60]
mov dword [eax], edx
add dword [ecx + 0x60], 4
mov eax, dword [ecx + 0x60]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x30]
mov dword [eax], ecx
mov ecx, dword [ebp - 8]
add dword [ecx + 0x60], 4
mov eax, dword [ecx + 0x60]
mov dword [eax], esi
add dword [ecx + 0x60], 4
mov eax, dword [ecx + 0x60]
mov esi, dword [ebp - 0x18]
mov dword [eax], edi
add dword [ecx + 0x60], 4
mov eax, dword [ecx + 0x60]
mov dword [eax], edx
add dword [ecx + 0x60], 4
mov eax, dword [ecx + 0x60]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
add ecx, 3
mov dword [eax], ecx
add dword [edx + 0x60], 4
mov eax, dword [edx + 0x60]
mov dword [eax], ecx
lea eax, [esi + 3]
add dword [edx + 0x60], 4
mov ecx, dword [edx + 0x60]
mov dword [ecx], eax
add dword [edx + 0x60], 4
mov eax, dword [edx + 0x60]
mov ecx, dword [ebx + 0xc]
mov dword [eax], edi
mov edi, edx
mov eax, dword [ebp - 0xc]
mov edx, esi
mov esi, dword [ebp - 0x28]
inc esi
mov dword [ebp - 0x1c], edx
add dword [edi + 0x60], 4
sub dword [ebp - 0x14], 1
mov dword [ebp - 0x28], esi
jne 0x1002c260
xor eax, eax
mov dword [ebp - 0x28], eax
test ecx, ecx
je 0x1002c5f8
mov esi, dword [ebp - 0x38]
nop dword [eax]
mov ecx, dword [ebx + 0x10]
mov edx, dword [ecx + eax*4]
mov eax, edx
shr eax, 8
mov ecx, edx
movzx eax, al
mov dword [ebp - 0x14], edx
movzx edx, dl
shr ecx, 0x10
shl edx, 8
or edx, eax
movzx eax, cl
mov ecx, dword [esi - 0x10]
shl edx, 8
or edx, eax
mov eax, edx
mov dword [ebp - 0x2c], edx
mov edx, dword [esi - 0xc]
shl eax, 8
mov dword [ebp - 0x20], eax
mov eax, dword [edi + 0x5c]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [edi + 0x5c]
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 0x19], cl
mov dword [eax + 8], 0x3f800000
mov dword [eax + 0xc], 0x3f800000
mov eax, ecx
shr eax, 0x18
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x1c], al
mov eax, ecx
mov ecx, dword [edi + 0x5c]
shr eax, 0x10
mov dword [ebp - 8], eax
mov byte [ebp - 0x1b], al
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 0x1a], al
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 0x10], eax
add dword [edi + 0x5c], 0x14
mov edx, dword [edi + 0x5c]
mov ecx, dword [esi - 4]
mov eax, dword [ebp - 0x14]
shr eax, 0x18
or eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
mov eax, dword [esi - 8]
mov dword [edx], eax
mov dword [edx + 4], ecx
mov eax, dword [edi + 0x5c]
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 0x15], cl
mov dword [eax + 8], 0x3f800000
mov dword [eax + 0xc], 0x3f800000
mov eax, ecx
shr eax, 0x18
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x18], al
mov eax, ecx
shr eax, 0x10
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x17], al
mov eax, ecx
mov ecx, dword [edi + 0x5c]
shr eax, 8
mov byte [ebp - 0x16], al
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x18]
mov dword [ecx + 0x10], eax
add dword [edi + 0x5c], 0x14
mov edx, dword [edi + 0x5c]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [edx], eax
mov dword [edx + 4], ecx
mov eax, dword [edi + 0x5c]
mov dword [eax + 8], 0x3f800000
mov dword [eax + 0xc], 0x3f800000
mov eax, dword [ebp - 0x38]
mov ecx, dword [edi + 0x5c]
lea esi, [esi + 0x20]
mov byte [ebp - 0x10], al
mov eax, dword [ebp - 0x34]
mov byte [ebp - 0xf], al
mov eax, dword [ebp - 0x30]
mov byte [ebp - 0xe], al
mov eax, dword [ebp - 0x14]
mov byte [ebp - 0xd], al
mov eax, dword [ebp - 0x10]
mov dword [ecx + 0x10], eax
add dword [edi + 0x5c], 0x14
mov edx, dword [edi + 0x5c]
mov eax, dword [esi - 0x18]
mov ecx, dword [esi - 0x14]
mov dword [edx], eax
mov dword [edx + 4], ecx
mov eax, dword [edi + 0x5c]
mov dword [eax + 8], 0x3f800000
mov dword [eax + 0xc], 0x3f800000
mov eax, dword [ebp - 0x24]
mov ecx, dword [edi + 0x5c]
mov byte [ebp - 0xc], al
mov eax, dword [ebp - 8]
mov byte [ebp - 0xb], al
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 0xa], al
mov eax, dword [ebp - 0x20]
mov byte [ebp - 9], al
mov eax, dword [ebp - 0xc]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x28]
add dword [edi + 0x5c], 0x14
inc eax
mov dword [ebp - 0x28], eax
cmp eax, dword [ebx + 0xc]
jb 0x1002c480
mov eax, dword [ebp - 0x3c]
add dword [edi + 0x64], eax
lea esp, [ebp - 0x48]
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x14
lea eax, [ecx*4]
push eax
lea eax, [ecx + ecx*2]
mov ecx, edi
add eax, eax
push eax
call fcn.1002cc10
cmp dword [ebp - 0x14], 0
je 0x1002c8be
movss xmm0, dword [ebx + 0x14]
mov edx, 1
mulss xmm0, dword [0x1026ba54]
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 8]
mov ecx, eax
movss dword [ebx + 0x14], xmm0
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x20], eax
xor esi, esi
cmp edx, dword [ebx + 0xc]
cmovne esi, edx
movss xmm1, dword [eax + esi*8]
subss xmm1, dword [ecx]
movss xmm2, dword [eax + esi*8 + 4]
subss xmm2, dword [ecx + 4]
movaps xmm0, xmm1
movss dword [ebp - 0x3c], xmm1
mulss xmm0, xmm1
movaps xmm1, xmm2
movss dword [ebp - 0x38], xmm2
mulss xmm1, xmm2
addss xmm0, xmm1
call fcn.10006eb0
movss xmm1, dword [0x1026bac0]
divss xmm1, xmm0
mov ecx, dword [ebp - 0x2c]
mov ecx, dword [ecx]
mov eax, ecx
shr eax, 8
movzx edx, al
movzx eax, cl
shl eax, 8
or edx, eax
mov eax, ecx
shr eax, 0x10
movzx eax, al
shl edx, 8
or edx, eax
mov eax, dword [ebp - 0x20]
shr ecx, 0x18
shl edx, 8
or edx, ecx
mov dword [ebp - 0xc], edx
movss xmm0, dword [ebp - 0x3c]
movss xmm2, dword [ebx + 0x14]
mulss xmm0, xmm1
movaps xmm3, xmm2
mulss xmm1, dword [ebp - 0x38]
mulss xmm3, xmm0
mulss xmm2, xmm1
movaps xmm0, xmm3
addss xmm0, dword [eax + 4]
xorps xmm2, xmmword [0x1026c420]
movaps xmm1, xmm2
addss xmm1, dword [eax]
mov eax, dword [edi + 0x5c]
movss dword [eax], xmm1
movaps xmm1, xmm2
movss dword [eax + 4], xmm0
movaps xmm0, xmm3
mov eax, dword [edi + 0x5c]
mov dword [eax + 8], 0x3f800000
mov dword [eax + 0xc], 0x3f800000
mov eax, edx
mov ecx, dword [edi + 0x5c]
shr eax, 0x18
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x1c], al
mov eax, edx
shr eax, 0x10
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x1b], al
mov eax, dword [ebp - 0xc]
shr edx, 8
mov byte [ebp - 0x19], al
mov byte [ebp - 0x1a], dl
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 0x10], eax
add dword [edi + 0x5c], 0x14
mov ecx, dword [ebx + 8]
mov eax, dword [edi + 0x5c]
addss xmm1, dword [ecx + esi*8]
addss xmm0, dword [ecx + esi*8 + 4]
movss dword [eax], xmm1
movss dword [eax + 4], xmm0
mov eax, dword [edi + 0x5c]
mov dword [eax + 8], 0x3f800000
mov dword [eax + 0xc], 0x3f800000
mov eax, dword [ebp - 0x24]
mov ecx, dword [edi + 0x5c]
mov byte [ebp - 0x18], al
mov eax, dword [ebp - 0x28]
mov byte [ebp - 0x17], al
mov eax, dword [ebp - 0xc]
mov byte [ebp - 0x15], al
mov byte [ebp - 0x16], dl
mov eax, dword [ebp - 0x18]
mov dword [ecx + 0x10], eax
add dword [edi + 0x5c], 0x14
mov eax, dword [edi + 0x5c]
mov ecx, dword [ebx + 8]
mov byte [ebp - 0xe], dl
mov byte [ebp - 6], dl
movss xmm0, dword [ecx + esi*8]
movss xmm1, dword [ecx + esi*8 + 4]
subss xmm0, xmm2
subss xmm1, xmm3
movss dword [eax], xmm0
movss dword [eax + 4], xmm1
mov eax, dword [edi + 0x5c]
mov dword [eax + 8], 0x3f800000
mov dword [eax + 0xc], 0x3f800000
mov ecx, dword [edi + 0x5c]
mov eax, dword [ebp - 0x24]
mov byte [ebp - 0x10], al
mov eax, dword [ebp - 0x28]
mov byte [ebp - 0xf], al
mov eax, dword [ebp - 0xc]
mov byte [ebp - 0xd], al
mov eax, dword [ebp - 0x10]
mov dword [ecx + 0x10], eax
add dword [edi + 0x5c], 0x14
mov eax, dword [edi + 0x5c]
mov ecx, dword [ebp - 0x20]
movss xmm0, dword [ecx]
movss xmm1, dword [ecx + 4]
subss xmm0, xmm2
subss xmm1, xmm3
movss dword [eax], xmm0
movss dword [eax + 4], xmm1
mov eax, dword [edi + 0x5c]
mov dword [eax + 8], 0x3f800000
mov dword [eax + 0xc], 0x3f800000
mov ecx, dword [edi + 0x5c]
mov eax, dword [ebp - 0x24]
mov byte [ebp - 8], al
mov eax, dword [ebp - 0x28]
mov byte [ebp - 7], al
mov eax, dword [ebp - 0xc]
mov byte [ebp - 5], al
mov eax, dword [ebp - 8]
mov dword [ecx + 0x10], eax
mov ecx, dword [edi + 0x60]
add dword [edi + 0x5c], 0x14
mov eax, dword [edi + 0x64]
mov dword [ecx], eax
add dword [edi + 0x60], 4
mov ecx, dword [edi + 0x60]
mov eax, dword [edi + 0x64]
inc eax
mov dword [ecx], eax
add dword [edi + 0x60], 4
mov ecx, dword [edi + 0x60]
mov eax, dword [edi + 0x64]
add eax, 2
mov dword [ecx], eax
add dword [edi + 0x60], 4
mov ecx, dword [edi + 0x60]
mov eax, dword [edi + 0x64]
mov dword [ecx], eax
add dword [edi + 0x60], 4
mov ecx, dword [edi + 0x60]
mov eax, dword [edi + 0x64]
add eax, 2
mov dword [ecx], eax
add dword [edi + 0x60], 4
mov ecx, dword [edi + 0x60]
mov eax, dword [edi + 0x64]
add eax, 3
mov dword [ecx], eax
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x20]
inc edx
add dword [edi + 0x60], 4
add ecx, 8
add dword [edi + 0x64], 4
add dword [ebp - 0x2c], 4
sub dword [ebp - 0x14], 1
mov eax, dword [ebx + 8]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x20], ecx
jne 0x1002c653
lea esp, [ebp - 0x48]
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x14