Function at 0x10022810
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x10227800]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], edi
cmp ecx, 2
jl 0x100232ef
mov eax, dword [edi + 0x28]
lea edx, [ecx - 1]
cmp byte [ebp + 0x14], 0
cmovne edx, ecx
movss xmm0, dword [eax]
movss dword [ebp - 0x34], xmm0
movss xmm0, dword [eax + 4]
movss dword [ebp - 0x38], xmm0
movss xmm0, dword [ebp + 0x18]
comiss xmm0, dword [0x10163760]
mov dword [ebp - 0x1c], edx
seta ah
test byte [edi + 0x24], 1
mov byte [ebp - 0x15], ah
je 0x100230c2
mov eax, dword [ebp + 0x10]
and eax, 0xffffff
mov dword [ebp - 0x30], eax
mov al, byte [ebp - 0x15]
movzx esi, al
lea edx, [esi + 3]
imul edx, ecx
test al, al
mov ecx, 0x12
push edx
mov dword [ebp - 0x3c], edx
mov edx, 0xc
cmove ecx, edx
imul ecx, dword [ebp - 0x1c]
push ecx
mov ecx, edi
call fcn.10026d90
shl esi, 4
lea eax, [esi + 0x18]
imul eax, dword [ebp + 0xc]
call fcn.100f56d0
cmp dword [ebp - 0x1c], 0
mov ecx, esp
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x28], ecx
lea eax, [ecx + edx*8]
mov dword [ebp - 0xc], eax
jle 0x1002297b
xorps xmm4, xmm4
xor edi, edi
lea eax, [edi + 1]
mov dword [ebp - 0x14], eax
xor eax, eax
cmp dword [ebp - 0x14], edx
cmovne eax, dword [ebp - 0x14]
movss xmm2, dword [esi + eax*8]
movss xmm1, dword [esi + eax*8 + 4]
subss xmm2, dword [esi + edi*8]
subss xmm1, dword [esi + edi*8 + 4]
movaps xmm0, xmm2
movss dword [ebp - 0x10], xmm2
movaps xmm3, xmm1
mulss xmm0, xmm2
mulss xmm3, xmm1
movss dword [ebp - 0x20], xmm1
addss xmm3, xmm0
comiss xmm3, xmm4
jbe 0x1002295a
cvtps2pd xmm0, xmm3
sub esp, 8
movsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
movss xmm1, dword [0x10163760]
add esp, 8
fstp dword [ebp - 0x24]
divss xmm1, dword [ebp - 0x24]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x28]
movss xmm2, dword [ebp - 0x10]
xorps xmm4, xmm4
movaps xmm0, xmm1
mulss xmm1, dword [ebp - 0x20]
mulss xmm2, xmm0
xorps xmm2, xmmword [0x10163880]
movss dword [ecx + edi*8], xmm1
movss dword [ecx + edi*8 + 4], xmm2
mov edi, dword [ebp - 0x14]
cmp edi, dword [ebp - 0x1c]
jl 0x100228d7
mov edi, dword [ebp - 8]
mov al, byte [ebp + 0x14]
test al, al
jne 0x1002299e
mov edi, dword [ebp - 0xc]
mov eax, dword [ecx + edx*8 - 0x10]
mov ecx, dword [ecx + edx*8 - 0xc]
mov dword [edi - 8], eax
mov eax, edi
mov edi, dword [ebp - 8]
mov dword [eax - 4], ecx
mov ecx, dword [ebp - 0x28]
mov al, byte [ebp + 0x14]
mov ah, byte [ebp - 0x15]
test ah, ah
jne 0x10022c56
test al, al
jne 0x10022a38
movss xmm1, dword [ecx]
addss xmm1, dword [esi]
movss xmm0, dword [ecx + 4]
addss xmm0, dword [esi + 4]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x28]
movss dword [ecx], xmm1
movss dword [ecx + 4], xmm0
movss xmm1, dword [esi]
subss xmm1, dword [eax]
movss xmm0, dword [esi + 4]
subss xmm0, dword [eax + 4]
mov eax, edx
add eax, eax
movss dword [ecx + 8], xmm1
movss dword [ecx + 0xc], xmm0
movss xmm1, dword [ecx - 8]
movss xmm0, dword [ecx - 4]
addss xmm1, dword [esi + edx*8 - 8]
addss xmm0, dword [esi + edx*8 - 4]
movss dword [ecx + eax*8 - 0x10], xmm1
movss dword [ecx + eax*8 - 0xc], xmm0
movss xmm1, dword [esi + edx*8 - 8]
movss xmm0, dword [esi + edx*8 - 4]
subss xmm1, dword [ecx - 8]
subss xmm0, dword [ecx - 4]
movss dword [ecx + eax*8 - 8], xmm1
movss dword [ecx + eax*8 - 4], xmm0
jmp 0x10022a3b
mov ecx, dword [ebp - 0xc]
mov eax, dword [edi + 0x34]
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x1c], eax
jle 0x10022bb0
movss xmm6, dword [0x10163738]
movss xmm5, dword [0x10163760]
nop
inc eax
mov dword [ebp - 0x14], eax
xor eax, eax
cmp dword [ebp - 0x14], edx
cmovne eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
jne 0x10022a77
mov eax, dword [edi + 0x34]
jmp 0x10022a7d
mov eax, dword [ebp - 0x10]
add eax, 3
mov edi, dword [ebp - 0x28]
movaps xmm4, xmm5
mov edx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
lea eax, [edx*8]
shl edx, 4
movss xmm2, dword [eax + edi + 4]
add edx, ecx
movss xmm3, dword [edi + esi*8]
addss xmm3, dword [eax + edi]
addss xmm2, dword [edi + esi*8 + 4]
mov esi, dword [ebp + 8]
mulss xmm3, xmm6
mulss xmm2, xmm6
movaps xmm0, xmm3
mulss xmm0, xmm3
movaps xmm1, xmm2
mulss xmm1, xmm2
addss xmm1, xmm0
movaps xmm0, xmm6
maxss xmm0, xmm1
divss xmm4, xmm0
movaps xmm1, xmm4
mulss xmm4, xmm2
mulss xmm1, xmm3
movaps xmm0, xmm1
addss xmm0, dword [eax + esi]
movss dword [edx], xmm0
movaps xmm0, xmm4
addss xmm0, dword [eax + esi + 4]
movss dword [edx + 4], xmm0
movss xmm0, dword [eax + esi]
subss xmm0, xmm1
movss dword [edx + 8], xmm0
movss xmm0, dword [eax + esi + 4]
mov eax, dword [ebp - 0x20]
subss xmm0, xmm4
movzx edi, ax
movss dword [edx + 0xc], xmm0
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x3c]
mov word [eax], di
mov eax, dword [ebp - 0x10]
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 - 0x20]
add dword [edi + 0x3c], 0x18
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
jl 0x10022a60
movss xmm0, dword [ebp - 0x34]
movss xmm1, dword [ebp - 0x38]
mov esi, dword [ebp + 8]
nop dword [eax]
mov eax, dword [edi + 0x38]
lea esi, [esi + 8]
mov ecx, dword [esi - 8]
mov edx, dword [esi - 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 [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [edi + 0x38]
mov dword [eax + 0x14], ecx
mov ecx, dword [ebp - 0x30]
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 [ebp - 0xc]
add dword [ebp - 0xc], 0x10
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov eax, dword [edi + 0x38]
mov dword [eax + 0x28], ecx
mov ecx, dword [ebp - 0x30]
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
add dword [edi + 0x38], 0x3c
sub dword [ebp + 0xc], 1
jne 0x10022bc0
mov eax, dword [ebp - 0x3c]
movzx eax, ax
add dword [edi + 0x34], eax
jmp 0x100232ef
movss xmm6, dword [ebp + 0x18]
movss xmm4, dword [0x10163760]
movss xmm7, dword [0x10163738]
subss xmm6, xmm4
mulss xmm6, xmm7
test al, al
jne 0x10022ded
mov eax, dword [ebp - 0x28]
movaps xmm1, xmm6
addss xmm1, xmm4
mov edi, dword [ebp - 0x28]
movaps xmm0, xmm1
mulss xmm1, dword [ecx + 4]
mulss xmm0, dword [ecx]
mov ecx, dword [ebp - 0xc]
addss xmm1, dword [esi + 4]
addss xmm0, dword [esi]
movss dword [ecx + 4], xmm1
movaps xmm1, xmm6
movss dword [ecx], xmm0
movaps xmm0, xmm6
mulss xmm0, dword [eax + 4]
mulss xmm1, dword [eax]
addss xmm0, dword [esi + 4]
addss xmm1, dword [esi]
movss dword [ecx + 0xc], xmm0
movaps xmm0, xmm6
movss dword [ecx + 8], xmm1
movaps xmm1, xmm6
mulss xmm0, dword [eax]
mulss xmm1, dword [eax + 4]
movss xmm2, dword [esi]
subss xmm2, xmm0
movss xmm0, dword [esi + 4]
subss xmm0, xmm1
movss dword [ecx + 0x10], xmm2
movaps xmm2, xmm6
movss dword [ecx + 0x14], xmm0
addss xmm2, xmm4
movss xmm1, dword [esi]
movaps xmm0, xmm2
mulss xmm2, dword [eax + 4]
mulss xmm0, dword [eax]
subss xmm1, xmm0
movss xmm0, dword [esi + 4]
subss xmm0, xmm2
movss dword [ecx + 0x18], xmm1
movaps xmm1, xmm6
movss dword [ecx + 0x1c], xmm0
addss xmm1, xmm4
movaps xmm0, xmm1
mulss xmm1, dword [eax + edx*8 - 4]
mulss xmm0, dword [eax + edx*8 - 8]
mov eax, edx
shl eax, 5
addss xmm1, dword [esi + edx*8 - 4]
addss xmm0, dword [esi + edx*8 - 8]
movss dword [eax + ecx - 0x1c], xmm1
movaps xmm1, xmm6
movss dword [eax + ecx - 0x20], xmm0
movaps xmm0, xmm6
mulss xmm0, dword [edi + edx*8 - 4]
mulss xmm1, dword [edi + edx*8 - 8]
addss xmm0, dword [esi + edx*8 - 4]
addss xmm1, dword [esi + edx*8 - 8]
movss dword [eax + ecx - 0x14], xmm0
movaps xmm0, xmm6
movss dword [eax + ecx - 0x18], xmm1
movaps xmm1, xmm6
mulss xmm0, dword [edi + edx*8 - 8]
movss xmm2, dword [esi + edx*8 - 8]
mulss xmm1, dword [edi + edx*8 - 4]
subss xmm2, xmm0
movss xmm0, dword [esi + edx*8 - 4]
subss xmm0, xmm1
movss dword [eax + ecx - 0x10], xmm2
movaps xmm2, xmm6
addss xmm2, xmm4
movss dword [eax + ecx - 0xc], xmm0
movss xmm1, dword [esi + edx*8 - 8]
movaps xmm0, xmm2
mulss xmm2, dword [edi + edx*8 - 4]
mulss xmm0, dword [edi + edx*8 - 8]
subss xmm1, xmm0
movss xmm0, dword [esi + edx*8 - 4]
subss xmm0, xmm2
movss dword [eax + ecx - 8], xmm1
movss dword [eax + ecx - 4], xmm0
mov edi, dword [ebp - 8]
jmp 0x10022df0
mov ecx, dword [ebp - 0xc]
mov eax, dword [edi + 0x34]
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x1c], eax
jle 0x10022ffd
movaps xmm0, xmm6
addss xmm0, xmm4
movss dword [ebp - 0x40], xmm0
lea esi, [eax + 1]
xor eax, eax
cmp esi, edx
mov dword [ebp - 0x44], esi
cmovne eax, esi
mov dword [ebp - 0x2c], eax
jne 0x10022e27
mov eax, dword [edi + 0x34]
jmp 0x10022e2d
mov eax, dword [ebp - 0x14]
add eax, 4
mov esi, dword [ebp - 0x28]
movaps xmm5, xmm4
mov edx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
lea eax, [edx*8]
shl edx, 5
movss xmm2, dword [eax + esi + 4]
add edx, ecx
movss xmm3, dword [eax + esi]
addss xmm2, dword [esi + edi*8 + 4]
addss xmm3, dword [esi + edi*8]
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 8]
mulss xmm2, xmm7
mulss xmm3, xmm7
movaps xmm1, xmm2
mulss xmm1, xmm2
movaps xmm0, xmm3
mulss xmm0, xmm3
addss xmm1, xmm0
movaps xmm0, xmm7
maxss xmm0, xmm1
divss xmm5, xmm0
movaps xmm4, xmm5
mulss xmm5, xmm2
mulss xmm4, xmm3
movaps xmm2, xmm5
mulss xmm5, xmm6
mulss xmm2, dword [ebp - 0x40]
movaps xmm1, xmm4
mulss xmm1, dword [ebp - 0x40]
mulss xmm4, xmm6
movaps xmm0, xmm1
addss xmm0, dword [eax + esi]
movss dword [edx], xmm0
movaps xmm0, xmm2
addss xmm0, dword [eax + esi + 4]
movss dword [edx + 4], xmm0
movaps xmm0, xmm4
addss xmm0, dword [eax + esi]
movss dword [edx + 8], xmm0
movaps xmm0, xmm5
addss xmm0, dword [eax + esi + 4]
movss dword [edx + 0xc], xmm0
movss xmm0, dword [eax + esi]
subss xmm0, xmm4
movss dword [edx + 0x10], xmm0
movss xmm0, dword [eax + esi + 4]
subss xmm0, xmm5
movss dword [edx + 0x14], xmm0
movss xmm0, dword [eax + esi]
subss xmm0, xmm1
movss dword [edx + 0x18], xmm0
movss xmm0, dword [eax + esi + 4]
mov eax, dword [ebp - 0x20]
subss xmm0, xmm2
movzx eax, ax
mov dword [ebp - 0x10], eax
movss dword [edx + 0x1c], xmm0
lea esi, [eax + 1]
mov eax, dword [edi + 0x3c]
mov word [eax], si
mov eax, dword [ebp - 0x14]
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]
movss xmm4, dword [0x10163760]
mov word [eax + 0xc], si
mov eax, dword [edx + 0x3c]
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 + 0xc]
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 - 0x20]
add dword [edi + 0x3c], 0x24
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x24], eax
cmp eax, dword [ebp - 0x1c]
jl 0x10022e10
mov esi, dword [ebp - 0xc]
movss xmm0, dword [ebp - 0x34]
add esi, 0x10
movss xmm1, dword [ebp - 0x38]
nop dword [eax]
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 - 0x30]
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 - 0x30]
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 0x10023010
mov eax, dword [ebp - 0x3c]
movzx eax, ax
add dword [edi + 0x34], eax
jmp 0x100232ef
lea eax, [edx*4]
mov ecx, edi
push eax
lea eax, [edx + edx*2]
add eax, eax
push eax
call fcn.10026d90
xor edx, edx
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x1c], edx
jle 0x100232ef
movss xmm7, dword [ebp + 0x18]
xorps xmm2, xmm2
mulss xmm7, dword [0x10163738]
mov esi, dword [ebp + 8]
movss xmm3, dword [ebp - 0x34]
movss xmm4, dword [ebp - 0x38]
movss dword [ebp + 0x18], xmm7
lea eax, [edx + 1]
xor ecx, ecx
cmp eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
cmovne ecx, eax
mov dword [ebp - 0x3c], ecx
movss xmm5, dword [esi + ecx*8]
movss xmm6, dword [esi + ecx*8 + 4]
subss xmm5, dword [esi + edx*8]
subss xmm6, dword [esi + edx*8 + 4]
movaps xmm0, xmm5
movss dword [ebp - 0x40], xmm5
movaps xmm1, xmm6
mulss xmm0, xmm5
mulss xmm1, xmm6
movss dword [ebp - 0x2c], xmm6
addss xmm1, xmm0
comiss xmm1, xmm2
jbe 0x1002319c
cvtps2pd xmm0, xmm1
sub esp, 8
movsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
movss xmm1, dword [0x10163760]
add esp, 8
fstp dword [ebp - 0x44]
divss xmm1, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x10]
movss xmm5, dword [ebp - 0x40]
movss xmm6, dword [ebp - 0x2c]
movaps xmm0, xmm1
movss xmm3, dword [ebp - 0x34]
movss xmm4, dword [ebp - 0x38]
movss xmm7, dword [ebp + 0x18]
mulss xmm5, xmm0
mulss xmm6, xmm1
mov eax, dword [edi + 0x38]
movaps xmm1, xmm7
mulss xmm1, xmm6
movaps xmm2, xmm7
mulss xmm2, xmm5
movaps xmm0, xmm1
addss xmm0, dword [esi + edx*8]
movss dword [eax], xmm0
movss xmm0, dword [esi + edx*8 + 4]
mov eax, dword [edi + 0x38]
subss xmm0, xmm2
mov edx, dword [ebp + 0x10]
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], edx
addss xmm0, dword [esi + ecx*8]
mov eax, dword [edi + 0x38]
movss dword [eax + 0x14], xmm0
movss xmm0, dword [esi + 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], edx
movss xmm0, dword [esi + ecx*8]
mov eax, dword [edi + 0x38]
subss xmm0, xmm1
movss dword [eax + 0x28], xmm0
movaps xmm0, xmm2
addss xmm0, dword [esi + ecx*8 + 4]
mov eax, dword [edi + 0x38]
mov ecx, edx
mov edx, dword [ebp - 0x10]
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
movss xmm0, dword [esi + edx*8]
mov eax, dword [edi + 0x38]
subss xmm0, xmm1
movss dword [eax + 0x3c], xmm0
addss xmm2, dword [esi + edx*8 + 4]
mov eax, dword [edi + 0x38]
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]
mov eax, dword [edi + 0x3c]
add cx, 3
mov word [eax + 0xa], cx
mov edx, dword [ebp - 0x24]
xorps xmm2, xmm2
add dword [edi + 0x3c], 0xc
add dword [edi + 0x34], 4
mov dword [ebp - 0x10], edx
cmp edx, dword [ebp - 0x1c]
jl 0x10023107
lea esp, [ebp - 0x4c]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100f54de
mov esp, ebp
pop ebp
ret 0x14