Function at 0x10020c40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x10266a40]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
mov dword [ebp - 8], edi
cmp esi, 2
jl 0x10021721
mov eax, dword [edi + 0x28]
lea ecx, [esi - 1]
cmp byte [ebp + 0x14], 0
cmovne ecx, esi
movss xmm0, dword [eax]
movss dword [ebp - 0x48], xmm0
movss xmm0, dword [eax + 4]
movss dword [ebp - 0x38], xmm0
movss xmm0, dword [ebp + 0x18]
comiss xmm0, dword [0x101716c4]
mov dword [ebp - 0x14], ecx
seta dl
test byte [edi + 0x24], 1
mov byte [ebp - 0x19], dl
je 0x10021522
mov eax, dword [ebp + 0x10]
and eax, 0xffffff
mov dword [ebp - 0x44], eax
test dl, dl
je 0x10020cb8
lea eax, [ecx + ecx*8]
add eax, eax
jmp 0x10020cbe
lea eax, [ecx + ecx*2]
shl eax, 2
movzx esi, dl
lea ecx, [esi + 3]
imul ecx, dword [ebp + 0xc]
push ecx
mov dword [ebp - 0x4c], ecx
mov ecx, edi
push eax
call fcn.100250f0
shl esi, 4
lea eax, [esi + 0x18]
imul eax, dword [ebp + 0xc]
call fcn.1010c410
cmp dword [ebp - 0x14], 0
mov eax, esp
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x40], edx
lea esi, [eax + ecx*8]
mov dword [ebp - 0x20], esi
jle 0x10020d8c
movss xmm5, dword [0x101717e0]
xorps xmm6, xmm6
movss xmm4, dword [0x101716c4]
xor edi, edi
mov esi, esp
lea eax, [edi + 1]
mov dword [ebp - 0xc], eax
xor eax, eax
cmp dword [ebp - 0xc], ecx
cmovne eax, dword [ebp - 0xc]
movss xmm2, dword [edx + eax*8]
movss xmm3, dword [edx + eax*8 + 4]
subss xmm2, dword [edx + edi*8]
subss xmm3, dword [edx + edi*8 + 4]
movaps xmm0, xmm2
movaps xmm1, xmm3
mulss xmm0, xmm2
mulss xmm1, xmm3
addss xmm1, xmm0
comiss xmm1, xmm6
jbe 0x10020d6d
xorps xmm0, xmm0
sqrtss xmm0, xmm1
movaps xmm1, xmm4
divss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm3, xmm1
mulss xmm2, xmm0
xorps xmm2, xmm5
movss dword [esi + edi*8], xmm3
movss dword [esi + edi*8 + 4], xmm2
mov edi, dword [ebp - 0xc]
cmp edi, dword [ebp - 0x14]
jl 0x10020d18
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
cmp byte [ebp + 0x14], 0
jne 0x10020da9
mov edi, dword [ebp - 0x18]
mov eax, dword [eax + ecx*8 - 0x10]
mov dword [esi - 8], eax
mov ecx, dword [edi + ecx*8 - 0xc]
mov edi, dword [ebp - 8]
mov dword [esi - 4], ecx
mov ecx, dword [ebp + 0xc]
cmp byte [ebp - 0x19], 0
jne 0x10021095
cmp byte [ebp + 0x14], 0
jne 0x10020e3f
mov eax, dword [ebp - 0x18]
movss xmm1, dword [eax]
addss xmm1, dword [edx]
movss xmm0, dword [eax + 4]
addss xmm0, dword [edx + 4]
movss dword [esi], xmm1
movss dword [esi + 4], xmm0
movss xmm1, dword [edx]
subss xmm1, dword [eax]
movss xmm0, dword [edx + 4]
subss xmm0, dword [eax + 4]
mov eax, ecx
add eax, eax
movss dword [esi + 8], xmm1
movss dword [esi + 0xc], xmm0
movss xmm1, dword [edx + ecx*8 - 8]
movss xmm0, dword [edx + ecx*8 - 4]
addss xmm1, dword [esi - 8]
addss xmm0, dword [esi - 4]
movss dword [esi + eax*8 - 0x10], xmm1
movss dword [esi + eax*8 - 0xc], xmm0
movss xmm1, dword [edx + ecx*8 - 8]
movss xmm0, dword [edx + ecx*8 - 4]
subss xmm1, dword [esi - 8]
subss xmm0, dword [esi - 4]
movss dword [esi + eax*8 - 8], xmm1
movss dword [esi + eax*8 - 4], xmm0
cmp dword [ebp - 0x14], 0
mov eax, dword [edi + 0x34]
mov dword [ebp - 0x28], eax
jle 0x10020fef
movss xmm6, dword [0x10171688]
lea ecx, [edx + 8]
movss xmm5, dword [0x10171698]
mov eax, 8
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x34], eax
nop
cmp dword [ebp - 0x30], ecx
jne 0x10020e98
mov eax, dword [edi + 0x34]
mov ecx, edx
mov dword [ebp - 0x3c], edx
xor edx, edx
mov dword [ebp - 0xc], 0
jmp 0x10020eaa
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x28]
add eax, 3
mov dword [ebp - 0x3c], ecx
mov edi, dword [ebp - 0x34]
mov esi, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
movss xmm4, dword [0x101716c4]
add dword [ebp - 0x2c], 0x10
inc dword [ebp - 0x30]
movss xmm2, dword [eax + edi - 8]
movss xmm3, dword [eax + edi - 4]
mov edi, esi
addss xmm2, dword [esi + eax]
mov esi, dword [ebp - 0x20]
addss xmm3, dword [edi + eax + 4]
mov eax, dword [ebp - 0x3c]
movaps xmm0, xmm2
mulss xmm0, xmm2
movaps xmm1, xmm3
mulss xmm1, xmm3
addss xmm1, xmm0
mulss xmm1, xmm6
maxss xmm1, xmm5
divss xmm4, xmm1
movaps xmm1, xmm4
mulss xmm4, xmm3
mulss xmm1, xmm2
mulss xmm4, xmm5
mulss xmm1, xmm5
movaps xmm0, xmm1
addss xmm0, dword [eax]
mov eax, dword [ebp - 0x24]
movzx edi, ax
movss dword [edx + esi], xmm0
movaps xmm0, xmm4
addss xmm0, dword [ecx + 4]
movss dword [edx + esi + 4], xmm0
movss xmm0, dword [ecx]
subss xmm0, xmm1
movss dword [edx + esi + 8], xmm0
movss xmm0, dword [ecx + 4]
subss xmm0, xmm4
movss dword [edx + esi + 0xc], xmm0
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x3c]
mov word [eax], di
mov eax, dword [ebp - 0x28]
movzx esi, ax
mov eax, dword [edx + 0x3c]
lea ecx, [esi + 2]
mov word [eax + 2], si
mov eax, dword [edx + 0x3c]
mov word [eax + 4], cx
mov eax, dword [edx + 0x3c]
mov word [eax + 6], cx
lea ecx, [edi + 2]
mov eax, dword [edx + 0x3c]
mov word [eax + 8], cx
lea ecx, [esi + 1]
mov eax, dword [edx + 0x3c]
lea edx, [edi + 1]
mov word [eax + 0xa], di
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
mov word [eax + 0xc], dx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
mov word [eax + 0xe], cx
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 0x3c]
mov word [eax + 0x10], si
mov eax, dword [ecx + 0x3c]
mov word [eax + 0x12], si
mov eax, dword [ecx + 0x3c]
mov word [eax + 0x14], di
mov edi, ecx
mov eax, dword [edi + 0x3c]
mov word [eax + 0x16], dx
mov eax, dword [ebp - 0x24]
add dword [edi + 0x3c], 0x18
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x34]
add eax, 8
add dword [ebp - 0x10], 8
sub dword [ebp - 0x14], 1
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
jne 0x10020e80
mov esi, dword [ebp - 0x20]
movss xmm0, dword [ebp - 0x48]
movss xmm1, dword [ebp - 0x38]
nop dword [eax]
mov ecx, dword [edx]
lea esi, [esi + 0x10]
mov eax, dword [edi + 0x38]
mov edx, dword [edx + 4]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [edi + 0x38]
mov ecx, dword [ebp + 0x10]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x38]
mov dword [eax + 0x10], ecx
mov eax, dword [edi + 0x38]
mov ecx, dword [esi - 0x10]
mov edx, dword [esi - 0xc]
mov dword [eax + 0x14], ecx
mov ecx, dword [ebp - 0x44]
mov dword [eax + 0x18], edx
mov eax, dword [edi + 0x38]
movss dword [eax + 0x1c], xmm0
movss dword [eax + 0x20], xmm1
mov eax, dword [edi + 0x38]
mov dword [eax + 0x24], ecx
mov eax, dword [edi + 0x38]
mov ecx, dword [esi - 8]
mov edx, dword [esi - 4]
mov dword [eax + 0x28], ecx
mov ecx, dword [ebp - 0x44]
mov dword [eax + 0x2c], edx
mov eax, dword [edi + 0x38]
mov edx, dword [ebp - 0x40]
add edx, 8
mov dword [ebp - 0x40], edx
movss dword [eax + 0x30], xmm0
movss dword [eax + 0x34], xmm1
mov eax, dword [edi + 0x38]
mov dword [eax + 0x38], ecx
add dword [edi + 0x38], 0x3c
sub dword [ebp + 0xc], 1
jne 0x10021000
mov eax, dword [ebp - 0x4c]
movzx eax, ax
add dword [edi + 0x34], eax
jmp 0x10021721
cmp byte [ebp + 0x14], 0
movss xmm6, dword [ebp + 0x18]
movss xmm4, dword [0x101716c4]
subss xmm6, xmm4
mulss xmm6, dword [0x10171698]
movaps xmm7, xmm6
addss xmm7, xmm4
jne 0x1002121c
mov eax, dword [ebp - 0x18]
movaps xmm0, xmm7
movaps xmm1, xmm7
mov edi, dword [ebp - 0x18]
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, xmm6
movss dword [esi], xmm1
movaps xmm1, xmm6
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, xmm6
movss dword [esi + 8], 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 + 0x10], xmm2
movaps xmm0, xmm7
movss dword [esi + 0x14], xmm1
mulss xmm0, dword [eax]
movss xmm2, dword [edx]
movss xmm1, dword [edx + 4]
subss xmm2, xmm0
movaps xmm0, xmm7
mulss xmm0, dword [eax + 4]
subss xmm1, xmm0
movss dword [esi + 0x18], xmm2
movaps xmm0, xmm7
movss dword [esi + 0x1c], xmm1
movaps xmm1, xmm7
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, xmm6
movss dword [eax + esi - 0x20], xmm1
movaps xmm1, xmm6
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, xmm6
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, xmm6
mulss xmm0, dword [edi + ecx*8 - 4]
subss xmm1, xmm0
movss dword [eax + esi - 0x10], xmm2
movaps xmm0, xmm7
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, xmm7
mulss xmm0, dword [edi + ecx*8 - 4]
mov edi, dword [ebp - 8]
subss xmm1, xmm0
movss dword [eax + esi - 8], xmm2
movss dword [eax + esi - 4], xmm1
cmp dword [ebp - 0x14], 0
mov eax, dword [edi + 0x34]
mov dword [ebp - 0x30], eax
jle 0x10021462
lea ecx, [edx + 8]
mov dword [ebp - 0x28], 1
mov eax, 8
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x2c], 0x20
mov dword [ebp - 0xc], eax
nop dword [eax + eax]
cmp dword [ebp - 0x28], ecx
jne 0x10021268
mov eax, dword [edi + 0x34]
mov ecx, edx
mov dword [ebp - 0x3c], edx
xor edx, edx
mov dword [ebp - 0x40], 0
jmp 0x1002127a
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x30]
add eax, 4
mov dword [ebp - 0x3c], ecx
mov esi, dword [ebp - 0xc]
movaps xmm5, xmm4
mov edi, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x18]
movss xmm2, dword [esi + eax - 8]
movss xmm3, dword [edi + eax - 4]
mov esi, dword [ebp - 0x40]
mov edi, dword [ebp - 8]
addss xmm2, dword [esi + eax]
addss xmm3, dword [esi + eax + 4]
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x3c]
movaps xmm1, xmm2
mulss xmm1, xmm2
movaps xmm0, xmm3
mulss xmm0, xmm3
addss xmm1, xmm0
movss xmm0, dword [0x10171698]
mulss xmm1, dword [0x10171688]
maxss xmm1, xmm0
divss xmm5, xmm1
movaps xmm1, xmm7
movaps xmm4, xmm5
mulss xmm5, xmm3
mulss xmm4, xmm2
movaps xmm2, xmm7
mulss xmm5, xmm0
mulss xmm4, xmm0
mulss xmm2, xmm5
mulss xmm1, xmm4
mulss xmm4, xmm6
movaps xmm0, xmm1
mulss xmm5, xmm6
addss xmm0, dword [eax]
mov eax, dword [ebp - 0x34]
movzx eax, ax
mov dword [ebp - 0x10], eax
movss dword [edx + esi], xmm0
movaps xmm0, xmm2
addss xmm0, dword [ecx + 4]
movss dword [edx + esi + 4], xmm0
movaps xmm0, xmm4
addss xmm0, dword [ecx]
movss dword [edx + esi + 8], xmm0
movaps xmm0, xmm5
addss xmm0, dword [ecx + 4]
movss dword [edx + esi + 0xc], xmm0
movss xmm0, dword [ecx]
subss xmm0, xmm4
movss dword [edx + esi + 0x10], xmm0
movss xmm0, dword [ecx + 4]
subss xmm0, xmm5
movss dword [edx + esi + 0x14], xmm0
movss xmm0, dword [ecx]
subss xmm0, xmm1
movss dword [edx + esi + 0x18], xmm0
movss xmm0, dword [ecx + 4]
subss xmm0, xmm2
movss dword [edx + esi + 0x1c], xmm0
lea esi, [eax + 1]
mov eax, dword [edi + 0x3c]
mov word [eax], si
mov eax, dword [ebp - 0x30]
movzx edi, ax
mov eax, dword [ebp - 8]
lea ecx, [edi + 1]
mov eax, dword [eax + 0x3c]
lea edx, [edi + 2]
mov word [eax + 2], cx
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 0x3c]
mov word [eax + 4], dx
mov eax, dword [ecx + 0x3c]
mov word [eax + 6], dx
mov eax, dword [ecx + 0x3c]
mov edx, dword [ebp - 0x10]
add edx, 2
mov word [eax + 8], dx
mov edx, ecx
mov eax, dword [edx + 0x3c]
mov word [eax + 0xa], si
lea ecx, [edi + 1]
mov eax, dword [edx + 0x3c]
add dword [ebp - 0x2c], 0x20
inc dword [ebp - 0x28]
add dword [ebp - 0x24], 8
mov word [eax + 0xc], si
mov eax, dword [edx + 0x3c]
movss xmm4, dword [0x101716c4]
mov word [eax + 0xe], cx
mov eax, dword [edx + 0x3c]
mov ecx, dword [ebp - 0x10]
mov word [eax + 0x10], di
mov eax, dword [edx + 0x3c]
mov word [eax + 0x12], di
mov eax, dword [edx + 0x3c]
mov word [eax + 0x14], cx
mov eax, dword [edx + 0x3c]
mov word [eax + 0x16], si
lea esi, [ecx + 2]
mov eax, dword [edx + 0x3c]
lea ecx, [edi + 3]
mov word [eax + 0x18], si
mov eax, dword [edx + 0x3c]
lea edx, [edi + 2]
mov edi, dword [ebp - 8]
mov word [eax + 0x1a], dx
mov eax, dword [edi + 0x3c]
mov edx, dword [ebp + 8]
mov word [eax + 0x1c], cx
mov eax, dword [edi + 0x3c]
mov word [eax + 0x1e], cx
mov eax, dword [edi + 0x3c]
mov ecx, dword [ebp - 0x10]
add ecx, 3
mov word [eax + 0x20], cx
mov eax, dword [edi + 0x3c]
mov ecx, dword [ebp + 0xc]
mov word [eax + 0x22], si
mov eax, dword [ebp - 0x34]
add dword [edi + 0x3c], 0x24
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xc]
add eax, 8
sub dword [ebp - 0x14], 1
mov dword [ebp - 0xc], eax
jne 0x10021250
mov esi, dword [ebp - 0x20]
movss xmm0, dword [ebp - 0x48]
add esi, 0x10
movss xmm1, dword [ebp - 0x38]
nop
mov eax, dword [edi + 0x38]
lea esi, [esi + 0x20]
mov ecx, dword [esi - 0x30]
mov edx, dword [esi - 0x2c]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [edi + 0x38]
mov ecx, dword [ebp - 0x44]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x38]
mov dword [eax + 0x10], ecx
mov eax, dword [edi + 0x38]
mov ecx, dword [esi - 0x28]
mov edx, dword [esi - 0x24]
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], edx
mov eax, dword [edi + 0x38]
mov ecx, dword [ebp + 0x10]
movss dword [eax + 0x1c], xmm0
movss dword [eax + 0x20], xmm1
mov eax, dword [edi + 0x38]
mov dword [eax + 0x24], ecx
mov eax, dword [edi + 0x38]
mov ecx, dword [esi - 0x20]
mov edx, dword [esi - 0x1c]
mov dword [eax + 0x28], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0x2c], edx
mov eax, dword [edi + 0x38]
movss dword [eax + 0x30], xmm0
movss dword [eax + 0x34], xmm1
mov eax, dword [edi + 0x38]
mov dword [eax + 0x38], ecx
mov eax, dword [edi + 0x38]
mov ecx, dword [esi - 0x18]
mov edx, dword [esi - 0x14]
mov dword [eax + 0x3c], ecx
mov ecx, dword [ebp - 0x44]
mov dword [eax + 0x40], edx
mov eax, dword [edi + 0x38]
movss dword [eax + 0x44], xmm0
movss dword [eax + 0x48], xmm1
mov eax, dword [edi + 0x38]
mov dword [eax + 0x4c], ecx
add dword [edi + 0x38], 0x50
sub dword [ebp + 0xc], 1
jne 0x10021470
mov eax, dword [ebp - 0x4c]
movzx eax, ax
add dword [edi + 0x34], eax
jmp 0x10021721
lea eax, [ecx*4]
push eax
lea eax, [ecx + ecx*2]
mov ecx, edi
add eax, eax
push eax
call fcn.100250f0
xor eax, eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x14], eax
jle 0x10021721
movss xmm7, dword [ebp + 0x18]
xorps xmm2, xmm2
mulss xmm7, dword [0x10171698]
mov edx, dword [ebp + 8]
movss xmm3, dword [ebp - 0x48]
movss xmm4, dword [ebp - 0x38]
movss xmm0, dword [edx + eax*8]
lea ecx, [eax + 1]
mov dword [ebp - 0x38], ecx
xor ecx, ecx
cmp dword [ebp - 0x38], esi
movss dword [ebp - 0x4c], xmm0
cmovne ecx, dword [ebp - 0x38]
movss xmm5, dword [edx + ecx*8]
movss xmm6, dword [edx + ecx*8 + 4]
subss xmm5, xmm0
subss xmm6, dword [edx + eax*8 + 4]
movaps xmm0, xmm5
movaps xmm1, xmm6
mulss xmm0, xmm5
mulss xmm1, xmm6
addss xmm1, xmm0
comiss xmm1, xmm2
jbe 0x100215c5
xorps xmm0, xmm0
sqrtss xmm0, xmm1
movss xmm1, dword [0x101716c4]
divss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm6, xmm1
mulss xmm5, xmm0
mov eax, dword [edi + 0x38]
movaps xmm1, xmm7
movss xmm0, dword [ebp - 0x4c]
movaps xmm2, xmm7
mulss xmm1, xmm6
mov esi, dword [ebp + 0x10]
mulss xmm2, xmm5
addss xmm0, xmm1
movss dword [eax], xmm0
mov eax, dword [ebp - 0x10]
movss xmm0, dword [edx + eax*8 + 4]
mov eax, dword [edi + 0x38]
subss xmm0, xmm2
movss dword [eax + 4], xmm0
movaps xmm0, xmm1
mov eax, dword [edi + 0x38]
movss dword [eax + 8], xmm3
movss dword [eax + 0xc], xmm4
mov eax, dword [edi + 0x38]
mov dword [eax + 0x10], esi
addss xmm0, dword [edx + ecx*8]
mov eax, dword [edi + 0x38]
movss dword [eax + 0x14], xmm0
movss xmm0, dword [edx + ecx*8 + 4]
mov eax, dword [edi + 0x38]
subss xmm0, xmm2
movss dword [eax + 0x18], xmm0
mov eax, dword [edi + 0x38]
movss dword [eax + 0x1c], xmm3
movss dword [eax + 0x20], xmm4
mov eax, dword [edi + 0x38]
mov dword [eax + 0x24], esi
movss xmm0, dword [edx + ecx*8]
mov eax, dword [edi + 0x38]
subss xmm0, xmm1
movss dword [eax + 0x28], xmm0
movaps xmm0, xmm2
addss xmm0, dword [edx + ecx*8 + 4]
mov eax, dword [edi + 0x38]
mov ecx, esi
movss dword [eax + 0x2c], xmm0
mov eax, dword [edi + 0x38]
movss dword [eax + 0x30], xmm3
movss dword [eax + 0x34], xmm4
mov eax, dword [edi + 0x38]
mov dword [eax + 0x38], ecx
mov eax, dword [edi + 0x38]
mov ecx, dword [ebp - 0x10]
movss xmm0, dword [edx + ecx*8]
subss xmm0, xmm1
movss dword [eax + 0x3c], xmm0
addss xmm2, dword [edx + ecx*8 + 4]
mov eax, dword [edi + 0x38]
mov ecx, esi
movss dword [eax + 0x40], xmm2
mov eax, dword [edi + 0x38]
movss dword [eax + 0x44], xmm3
movss dword [eax + 0x48], xmm4
mov eax, dword [edi + 0x38]
mov dword [eax + 0x4c], ecx
mov ecx, dword [edi + 0x3c]
movzx eax, word [edi + 0x34]
add dword [edi + 0x38], 0x50
mov word [ecx], ax
movzx ecx, word [edi + 0x34]
mov eax, dword [edi + 0x3c]
inc cx
mov word [eax + 2], cx
movzx ecx, word [edi + 0x34]
mov eax, dword [edi + 0x3c]
add cx, 2
mov word [eax + 4], cx
mov ecx, dword [edi + 0x3c]
movzx eax, word [edi + 0x34]
mov word [ecx + 6], ax
movzx ecx, word [edi + 0x34]
mov eax, dword [edi + 0x3c]
add cx, 2
mov word [eax + 8], cx
movzx ecx, word [edi + 0x34]
add cx, 3
mov eax, dword [edi + 0x3c]
xorps xmm2, xmm2
mov esi, dword [ebp + 0xc]
mov word [eax + 0xa], cx
mov eax, dword [ebp - 0x38]
add dword [edi + 0x3c], 0xc
add dword [edi + 0x34], 4
mov dword [ebp - 0x10], eax
cmp eax, dword [ebp - 0x14]
jl 0x10021562
lea esp, [ebp - 0x54]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1010c1a2
mov esp, ebp
pop ebp
ret 0x14