Function at 0x1006aceb
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x1010fa0c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 2
mov edi, ecx
mov ecx, dword [ebx + 0xc]
pop eax
mov dword [ebp - 8], edi
cmp ecx, eax
jl 0x1006b79c
cmp byte [ebx + 0x14], 0
lea esi, [ecx - 1]
movss xmm0, dword [ebx + 0x18]
mov eax, dword [edi + 0x28]
cmovne esi, ecx
comiss xmm0, dword [0x100fed9c]
mov dword [ebp - 0x2c], esi
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], eax
seta dl
test byte [edi + 0x24], 1
mov byte [ebp - 0x2d], dl
je 0x1006b57d
mov eax, dword [ebx + 0x10]
and eax, 0xffffff
movzx esi, dl
mov dword [ebp - 0x24], eax
lea eax, [esi + 3]
imul eax, ecx
test dl, dl
push eax
push 0xc
pop ecx
push 0x12
mov dword [ebp - 0x38], eax
pop eax
cmovne ecx, eax
imul ecx, dword [ebp - 0x2c]
push ecx
mov ecx, edi
call fcn.1006aa2f
shl esi, 4
lea eax, [esi + 0x18]
imul eax, dword [ebx + 0xc]
call fcn.1009e410
mov esi, dword [ebx + 0xc]
mov edx, esp
xor eax, eax
cmp dword [ebp - 0x2c], eax
mov dword [ebp - 0x40], eax
lea ecx, [edx + esi*8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x28], eax
jle 0x1006ae70
mov ecx, eax
mov eax, dword [ebp - 0xc]
and dword [ebp - 0x10], 0
mov edi, eax
shl edi, 3
inc eax
cmp eax, esi
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], edi
cmove eax, dword [ebp - 0x10]
movss xmm1, dword [ecx + eax*8]
movss xmm2, dword [ecx + eax*8 + 4]
mov eax, edi
subss xmm1, dword [edi + ecx]
subss xmm2, dword [eax + ecx + 4]
movaps xmm0, xmm1
movss dword [ebp - 0x10], xmm1
mulss xmm0, xmm1
movaps xmm3, xmm2
movss dword [ebp - 0x18], xmm2
mulss xmm3, xmm2
addss xmm3, xmm0
comiss xmm3, dword [0x100fecc4]
jbe 0x1006ae3c
cvtps2pd xmm0, xmm3
call sub.apI_mS_wIN_crT_matH_L1_1_0.DlL__libm_sse2_sqrt_precise
movss xmm3, dword [0x100fed9c]
mov edx, esp
movss xmm1, dword [ebp - 0x10]
mov eax, edi
movss xmm2, dword [ebp - 0x18]
mov ecx, dword [ebx + 8]
cvtsd2ss xmm0, xmm0
divss xmm3, xmm0
jmp 0x1006ae44
movss xmm3, dword [0x100fed9c]
mulss xmm1, xmm3
mulss xmm2, xmm3
xorps xmm1, xmmword [0x10100320]
movss dword [eax + edx + 4], xmm1
movss dword [eax + edx], xmm2
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x2c]
jl 0x1006adbe
mov edi, dword [ebp - 8]
mov ecx, dword [ebp - 0x34]
mov al, byte [ebx + 0x14]
test al, al
jne 0x1006ae88
mov eax, dword [edx + esi*8 - 0x10]
mov dword [ecx - 8], eax
mov eax, dword [edx + esi*8 - 0xc]
mov dword [ecx - 4], eax
mov al, byte [ebx + 0x14]
cmp byte [ebp - 0x2d], 0
jne 0x1006b12c
test al, al
jne 0x1006af22
movss xmm1, dword [edx]
mov eax, dword [ebx + 8]
movss xmm0, dword [edx + 4]
mov edi, dword [ebx + 8]
addss xmm1, dword [eax]
addss xmm0, dword [eax + 4]
movss dword [ecx], xmm1
movss dword [ecx + 4], xmm0
movss xmm1, dword [eax]
movss xmm0, dword [eax + 4]
subss xmm1, dword [edx]
subss xmm0, dword [edx + 4]
movss dword [ecx + 8], xmm1
movss dword [ecx + 0xc], xmm0
movss xmm1, dword [eax + esi*8 - 8]
movss xmm0, dword [eax + esi*8 - 4]
mov eax, esi
addss xmm1, dword [ecx - 8]
addss xmm0, dword [ecx - 4]
add eax, eax
movss dword [ecx + eax*8 - 0x10], xmm1
movss dword [ecx + eax*8 - 0xc], xmm0
movss xmm1, dword [edi + esi*8 - 8]
movss xmm0, dword [edi + esi*8 - 4]
subss xmm1, dword [ecx - 8]
subss xmm0, dword [ecx - 4]
mov edi, dword [ebp - 8]
movss dword [ecx + eax*8 - 8], xmm1
movss dword [ecx + eax*8 - 4], xmm0
cmp dword [ebp - 0x2c], 0
mov eax, dword [edi + 0x30]
mov dword [ebp - 0xc], eax
jle 0x1006b093
movss xmm4, dword [0x100fed6c]
xor eax, eax
and dword [ebp - 0x18], 0
inc eax
cmp eax, esi
mov dword [ebp - 0x10], eax
cmove eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
jne 0x1006af54
mov edi, dword [edi + 0x30]
jmp 0x1006af5a
mov edi, dword [ebp - 0xc]
add edi, 3
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x14], edi
movss xmm2, dword [edx + esi*8]
movss xmm3, dword [edx + eax*8 + 4]
addss xmm2, dword [edx + eax*8]
addss xmm3, dword [edx + esi*8 + 4]
mulss xmm2, xmm4
mulss xmm3, xmm4
movaps xmm0, xmm2
mulss xmm0, xmm2
movaps xmm1, xmm3
mulss xmm1, xmm3
addss xmm1, xmm0
comiss xmm1, dword [0x100fece4]
jbe 0x1006afbc
movss xmm0, dword [0x100fed9c]
divss xmm0, xmm1
movss xmm1, dword [0x100fee84]
minss xmm1, xmm0
mulss xmm2, xmm1
mulss xmm3, xmm1
mov eax, dword [ebx + 8]
movaps xmm1, xmm2
mov edx, dword [ebp - 8]
movzx edi, di
lea eax, [eax + esi*8]
add esi, esi
movss xmm0, dword [eax + 4]
addss xmm1, dword [eax]
addss xmm0, xmm3
movss dword [ecx + esi*8], xmm1
movss dword [ecx + esi*8 + 4], xmm0
movss xmm1, dword [eax]
movss xmm0, dword [eax + 4]
subss xmm1, xmm2
subss xmm0, xmm3
movss dword [ecx + esi*8 + 8], xmm1
movss dword [ecx + esi*8 + 0xc], xmm0
mov eax, dword [edx + 0x38]
mov word [eax], di
mov eax, dword [ebp - 0xc]
movzx esi, ax
mov eax, dword [edx + 0x38]
lea ecx, [esi + 2]
mov word [eax + 2], si
mov eax, dword [edx + 0x38]
mov word [eax + 4], cx
mov eax, dword [edx + 0x38]
mov word [eax + 6], cx
lea ecx, [edi + 2]
mov eax, dword [edx + 0x38]
mov word [eax + 8], cx
lea ecx, [esi + 1]
mov eax, dword [edx + 0x38]
lea edx, [edi + 1]
mov word [eax + 0xa], di
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x38]
mov word [eax + 0xc], dx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x38]
mov word [eax + 0xe], cx
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 0x38]
mov word [eax + 0x10], si
mov eax, dword [ecx + 0x38]
mov word [eax + 0x12], si
mov eax, dword [ecx + 0x38]
mov esi, dword [ebx + 0xc]
mov word [eax + 0x14], di
mov edi, ecx
mov ecx, dword [ebp - 0x34]
mov eax, dword [edi + 0x38]
mov word [eax + 0x16], dx
mov edx, esp
mov eax, dword [ebp - 0x14]
add dword [edi + 0x38], 0x18
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x40], eax
cmp eax, dword [ebp - 0x2c]
jl 0x1006af3c
mov edx, dword [ebp - 0x34]
mov eax, dword [ebx + 8]
mov eax, dword [eax]
mov ecx, dword [edi + 0x34]
mov dword [ecx], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
mov eax, dword [edi + 0x34]
mov ecx, dword [ebp - 0x20]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0xc], ecx
mov eax, dword [edi + 0x34]
mov ecx, dword [ebx + 0x10]
mov dword [eax + 0x10], ecx
mov ecx, dword [edi + 0x34]
mov eax, dword [edx]
lea edx, [edx + 0x10]
mov dword [ecx + 0x14], eax
mov eax, dword [edx - 0xc]
mov dword [ecx + 0x18], eax
mov eax, dword [edi + 0x34]
mov ecx, dword [ebp - 0x20]
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0x20], ecx
mov eax, dword [edi + 0x34]
mov ecx, dword [ebp - 0x24]
mov dword [eax + 0x24], ecx
mov ecx, dword [edi + 0x34]
mov eax, dword [edx - 8]
mov dword [ecx + 0x28], eax
mov eax, dword [edx - 4]
mov dword [ecx + 0x2c], eax
mov eax, dword [edi + 0x34]
mov ecx, dword [ebp - 0x20]
mov dword [eax + 0x30], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0x34], ecx
mov eax, dword [edi + 0x34]
mov ecx, dword [ebp - 0x24]
mov dword [eax + 0x38], ecx
mov eax, dword [ebp - 0x28]
add dword [edi + 0x34], 0x3c
add eax, 8
mov dword [ebp - 0x28], eax
sub esi, 1
jne 0x1006b099
jmp 0x1006b56f
movss xmm4, dword [ebx + 0x18]
subss xmm4, dword [0x100fed9c]
mulss xmm4, dword [0x100fed6c]
movaps xmm7, xmm4
addss xmm7, dword [0x100fed9c]
test al, al
jne 0x1006b2b8
movss xmm1, dword [edx]
movss xmm0, dword [edx + 4]
mov eax, dword [ebx + 8]
mulss xmm0, xmm7
mov edi, dword [ebx + 8]
mulss xmm1, xmm7
addss xmm0, dword [eax + 4]
addss xmm1, dword [eax]
movss dword [ecx + 4], xmm0
movss dword [ecx], xmm1
movss xmm1, dword [edx]
movss xmm0, dword [edx + 4]
mulss xmm0, xmm4
mulss xmm1, xmm4
addss xmm0, dword [eax + 4]
addss xmm1, dword [eax]
movss dword [ecx + 0xc], xmm0
movss dword [ecx + 8], xmm1
movss xmm0, dword [edx]
movss xmm2, dword [eax]
movss xmm1, dword [eax + 4]
mulss xmm0, xmm4
subss xmm2, xmm0
movss xmm0, dword [edx + 4]
mulss xmm0, xmm4
subss xmm1, xmm0
movss dword [ecx + 0x10], xmm2
movss dword [ecx + 0x14], xmm1
movss xmm0, dword [edx]
movss xmm2, dword [eax]
movss xmm1, dword [eax + 4]
mulss xmm0, xmm7
subss xmm2, xmm0
movss xmm0, dword [edx + 4]
mulss xmm0, xmm7
subss xmm1, xmm0
movss dword [ecx + 0x18], xmm2
movss dword [ecx + 0x1c], xmm1
movaps xmm1, xmm7
mulss xmm1, dword [ecx - 8]
movss xmm0, dword [ecx - 4]
mulss xmm0, xmm7
addss xmm1, dword [eax + esi*8 - 8]
addss xmm0, dword [eax + esi*8 - 4]
mov eax, esi
shl eax, 5
movss dword [eax + ecx - 0x1c], xmm0
movss dword [eax + ecx - 0x20], xmm1
movss xmm1, dword [ecx - 8]
movss xmm0, dword [ecx - 4]
mulss xmm0, xmm4
mulss xmm1, xmm4
addss xmm0, dword [edi + esi*8 - 4]
addss xmm1, dword [edi + esi*8 - 8]
movss dword [eax + ecx - 0x14], xmm0
movss dword [eax + ecx - 0x18], xmm1
movss xmm0, dword [ecx - 8]
movss xmm2, dword [edi + esi*8 - 8]
movss xmm1, dword [edi + esi*8 - 4]
mulss xmm0, xmm4
subss xmm2, xmm0
movss xmm0, dword [ecx - 4]
mulss xmm0, xmm4
subss xmm1, xmm0
movss dword [eax + ecx - 0x10], xmm2
movss dword [eax + ecx - 0xc], xmm1
movss xmm0, dword [ecx - 8]
movss xmm2, dword [edi + esi*8 - 8]
movss xmm1, dword [edi + esi*8 - 4]
mov edi, dword [ebp - 8]
mulss xmm0, xmm7
subss xmm2, xmm0
movss xmm0, dword [ecx - 4]
mulss xmm0, xmm7
subss xmm1, xmm0
movss dword [eax + ecx - 8], xmm2
movss dword [eax + ecx - 4], xmm1
cmp dword [ebp - 0x2c], 0
mov eax, dword [edi + 0x30]
mov dword [ebp - 0xc], eax
jle 0x1006b4bf
xor eax, eax
and dword [ebp - 0x18], 0
lea edx, [eax + 1]
cmp edx, esi
mov dword [ebp - 0x14], edx
cmove edx, dword [ebp - 0x18]
mov dword [ebp - 0x18], edx
jne 0x1006b2e4
mov edx, dword [edi + 0x30]
jmp 0x1006b2ea
mov edx, dword [ebp - 0xc]
add edx, 4
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x10], edx
mov edx, esp
movss xmm5, dword [edx + eax*8]
movss xmm6, dword [edx + eax*8 + 4]
addss xmm5, dword [edx + esi*8]
addss xmm6, dword [edx + esi*8 + 4]
mulss xmm5, dword [0x100fed6c]
mulss xmm6, dword [0x100fed6c]
movaps xmm0, xmm5
mulss xmm0, xmm5
movaps xmm1, xmm6
mulss xmm1, xmm6
addss xmm1, xmm0
comiss xmm1, dword [0x100fece4]
jbe 0x1006b356
movss xmm0, dword [0x100fed9c]
divss xmm0, xmm1
movss xmm1, dword [0x100fee84]
minss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm6, xmm1
mulss xmm5, xmm0
mov eax, dword [ebx + 8]
movaps xmm2, xmm5
movaps xmm3, xmm6
mulss xmm2, xmm7
mulss xmm3, xmm7
lea eax, [eax + esi*8]
shl esi, 5
mulss xmm5, xmm4
movss xmm1, dword [eax]
movss xmm0, dword [eax + 4]
addss xmm1, xmm2
addss xmm0, xmm3
mulss xmm6, xmm4
movss dword [esi + ecx], xmm1
movss dword [esi + ecx + 4], xmm0
movss xmm1, dword [eax]
movss xmm0, dword [eax + 4]
addss xmm1, xmm5
addss xmm0, xmm6
movss dword [esi + ecx + 8], xmm1
movss dword [esi + ecx + 0xc], xmm0
movss xmm1, dword [eax]
movss xmm0, dword [eax + 4]
subss xmm1, xmm5
subss xmm0, xmm6
movss dword [esi + ecx + 0x10], xmm1
movss dword [esi + ecx + 0x14], xmm0
movss xmm1, dword [eax]
movss xmm0, dword [eax + 4]
subss xmm1, xmm2
mov eax, dword [ebp - 0x10]
subss xmm0, xmm3
movzx eax, ax
mov dword [ebp - 0x28], eax
movss dword [esi + ecx + 0x18], xmm1
movss dword [esi + ecx + 0x1c], xmm0
lea esi, [eax + 1]
mov eax, dword [edi + 0x38]
mov word [eax], si
mov eax, dword [ebp - 0xc]
movzx edi, ax
mov eax, dword [ebp - 8]
lea ecx, [edi + 1]
mov eax, dword [eax + 0x38]
lea edx, [edi + 2]
mov word [eax + 2], cx
mov ecx, dword [ebp - 8]
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 [ebp - 0x28]
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 [ebp - 0x28]
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 [ebp - 8]
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 [ebp - 0x28]
add ecx, 3
mov word [eax + 0x20], cx
mov eax, dword [edi + 0x38]
mov ecx, dword [ebp - 0x34]
mov word [eax + 0x22], si
mov eax, dword [ebp - 0x10]
add dword [edi + 0x38], 0x24
mov esi, dword [ebx + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x2c]
jl 0x1006b2ca
mov edx, dword [ebp - 0x34]
add edx, 0x10
mov ecx, dword [edi + 0x34]
mov eax, dword [edx - 0x10]
mov dword [ecx], eax
mov eax, dword [edx - 0xc]
mov dword [ecx + 4], eax
mov eax, dword [edi + 0x34]
mov ecx, dword [ebp - 0x20]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0xc], ecx
mov eax, dword [edi + 0x34]
mov ecx, dword [ebp - 0x24]
mov dword [eax + 0x10], ecx
mov ecx, dword [edi + 0x34]
mov eax, dword [edx - 8]
mov dword [ecx + 0x14], eax
mov eax, dword [edx - 4]
mov dword [ecx + 0x18], eax
mov eax, dword [edi + 0x34]
mov ecx, dword [ebp - 0x20]
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0x20], ecx
mov eax, dword [edi + 0x34]
mov ecx, dword [ebx + 0x10]
mov dword [eax + 0x24], ecx
mov ecx, dword [edi + 0x34]
mov eax, dword [edx]
lea edx, [edx + 0x20]
mov dword [ecx + 0x28], eax
mov eax, dword [edx - 0x1c]
mov dword [ecx + 0x2c], eax
mov eax, dword [edi + 0x34]
mov ecx, dword [ebp - 0x20]
mov dword [eax + 0x30], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0x34], ecx
mov eax, dword [edi + 0x34]
mov ecx, dword [ebx + 0x10]
mov dword [eax + 0x38], ecx
mov ecx, dword [edi + 0x34]
mov eax, dword [edx - 0x18]
mov dword [ecx + 0x3c], eax
mov eax, dword [edx - 0x14]
mov dword [ecx + 0x40], eax
mov eax, dword [edi + 0x34]
mov ecx, dword [ebp - 0x20]
mov dword [eax + 0x44], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0x48], ecx
mov eax, dword [edi + 0x34]
mov ecx, dword [ebp - 0x24]
mov dword [eax + 0x4c], ecx
add dword [edi + 0x34], 0x50
sub esi, 1
jne 0x1006b4c5
mov eax, dword [ebp - 0x38]
movzx eax, ax
add dword [edi + 0x30], eax
jmp 0x1006b79c
mov eax, esi
mov ecx, edi
shl eax, 2
push eax
imul eax, esi, 6
push eax
call fcn.1006aa2f
xor ecx, ecx
test esi, esi
jle 0x1006b79c
movss xmm2, dword [ebx + 0x18]
mulss xmm2, dword [0x100fed6c]
mov edx, dword [ebp - 0x1c]
movss dword [ebx + 0x18], xmm2
mov eax, dword [ebx + 8]
and dword [ebp - 0x38], 0
lea esi, [eax + ecx*8]
inc ecx
cmp ecx, dword [ebx + 0xc]
mov eax, ecx
movss xmm4, dword [esi]
cmove eax, dword [ebp - 0x38]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x24], eax
movss dword [ebp - 0x38], xmm4
movss xmm0, dword [ecx + eax*8 + 4]
subss xmm0, dword [esi + 4]
movss xmm3, dword [ecx + eax*8]
subss xmm3, xmm4
movaps xmm1, xmm0
movss dword [ebp - 0x40], xmm0
mulss xmm1, xmm0
movaps xmm0, xmm3
movss dword [ebp - 0x18], xmm3
mulss xmm0, xmm3
addss xmm1, xmm0
comiss xmm1, dword [0x100fecc4]
jbe 0x1006b636
cvtps2pd xmm0, xmm1
call sub.apI_mS_wIN_crT_matH_L1_1_0.DlL__libm_sse2_sqrt_precise
movss xmm3, dword [0x100fed9c]
movss xmm2, dword [ebx + 0x18]
movss xmm4, dword [ebp - 0x38]
mov edx, dword [ebp - 0x1c]
cvtsd2ss xmm0, xmm0
divss xmm3, xmm0
jmp 0x1006b63e
movss xmm3, dword [0x100fed9c]
mov eax, dword [edi + 0x34]
movaps xmm1, xmm3
mulss xmm3, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x20]
mulss xmm1, dword [ebp - 0x18]
push 2
mulss xmm3, xmm2
mulss xmm1, xmm2
addss xmm4, xmm3
movss dword [eax], xmm4
movss xmm0, dword [esi + 4]
mov eax, dword [edi + 0x34]
subss xmm0, xmm1
mov esi, dword [ebx + 0x10]
movss dword [eax + 4], xmm0
movaps xmm0, xmm3
mov eax, dword [edi + 0x34]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], esi
mov esi, dword [ebx + 8]
mov eax, dword [ebp - 0x24]
addss xmm0, dword [esi + eax*8]
mov eax, dword [edi + 0x34]
movss dword [eax + 0x14], xmm0
mov eax, dword [ebp - 0x24]
movss xmm0, dword [esi + eax*8 + 4]
mov eax, dword [edi + 0x34]
subss xmm0, xmm1
movss dword [eax + 0x18], xmm0
mov eax, dword [edi + 0x34]
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], edx
mov eax, dword [edi + 0x34]
mov ecx, dword [ebx + 0x10]
mov dword [eax + 0x24], ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
movss xmm0, dword [esi + eax*8]
mov eax, dword [edi + 0x34]
subss xmm0, xmm3
movss dword [eax + 0x28], xmm0
movaps xmm0, xmm1
mov eax, dword [ebp - 0x24]
addss xmm0, dword [esi + eax*8 + 4]
mov eax, dword [edi + 0x34]
mov esi, dword [ebx + 0x10]
movss dword [eax + 0x2c], xmm0
mov eax, dword [edi + 0x34]
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], edx
mov eax, dword [edi + 0x34]
mov dword [eax + 0x38], esi
mov esi, dword [ebp - 0x14]
mov eax, dword [edi + 0x34]
movss xmm0, dword [esi]
subss xmm0, xmm3
movss dword [eax + 0x3c], xmm0
movss xmm0, dword [esi + 4]
mov eax, dword [edi + 0x34]
addss xmm0, xmm1
pop esi
movss dword [eax + 0x40], xmm0
mov eax, dword [edi + 0x34]
mov dword [eax + 0x44], ecx
mov ecx, dword [ebx + 0x10]
mov dword [eax + 0x48], edx
mov eax, dword [edi + 0x34]
mov dword [eax + 0x4c], ecx
mov ecx, dword [edi + 0x38]
add dword [edi + 0x34], 0x50
mov ax, word [edi + 0x30]
mov word [ecx], ax
mov eax, dword [edi + 0x38]
mov cx, word [edi + 0x30]
inc cx
mov word [eax + 2], cx
mov cx, word [edi + 0x30]
mov eax, dword [edi + 0x38]
add cx, si
mov word [eax + 4], cx
mov ecx, dword [edi + 0x38]
mov ax, word [edi + 0x30]
mov word [ecx + 6], ax
mov cx, word [edi + 0x30]
mov eax, dword [edi + 0x38]
add cx, si
mov word [eax + 8], cx
mov cx, word [edi + 0x30]
mov eax, dword [edi + 0x38]
add cx, 3
mov word [eax + 0xa], cx
add dword [edi + 0x38], 0xc
add dword [edi + 0x30], 4
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [ebp - 0x2c]
jl 0x1006b5ad
lea esp, [ebp - 0x48]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009ce88
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x14