Function at 0x10069e00
Capabilities:
Encrypt data using rc4 prga

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, 0x90
cmp dword [ebx + 0xc], 0
mov eax, 1
push esi
mov esi, ecx
mov dword [ebp - 0x3c], eax
push edi
mov edi, edx
mov dword [ebp - 8], esi
mov dword [ebp - 4], edi
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x24], 0
jle 0x1006a40d
mov ecx, dword [ebx + 8]
xorps xmm3, xmm3
movss xmm4, dword [0x100a63c0]
add ecx, 8
mov dword [ebp - 0x2c], ecx
movss xmm1, dword [ecx - 8]
comiss xmm1, xmm3
jbe 0x10069eba
mov eax, dword [edi + 0x1c]
mov edi, dword [edi + 4]
movzx edx, byte [eax + edi + 7]
movzx ecx, byte [eax + edi + 6]
mov eax, 0x100
cwde
movsx ecx, cx
imul ecx, eax
add dx, cx
mov ecx, dword [ebp - 4]
movsx esi, dx
mov eax, dword [ecx + 0x1c]
movzx edx, byte [eax + edi + 5]
movzx ecx, byte [eax + edi + 4]
mov eax, 0x100
cwde
movsx ecx, cx
imul ecx, eax
add dx, cx
movsx eax, dx
sub eax, esi
mov esi, dword [ebp - 8]
movd xmm0, eax
jmp 0x10069eda
mov edx, dword [edi + 0x14]
mov eax, dword [edi + 4]
xorps xmm1, xmmword [0x100a73b0]
movzx ecx, byte [edx + eax + 0x12]
movzx eax, byte [edx + eax + 0x13]
shl ecx, 8
add ecx, eax
movd xmm0, ecx
mov ecx, dword [ebp - 0x2c]
movaps xmm2, xmm4
cvtdq2ps xmm0, xmm0
movzx edi, byte [ecx + 0xc]
mov eax, edi
mov dword [esi + 0x18], edi
movzx edx, byte [ecx + 0xd]
divss xmm1, xmm0
shr eax, 0x1f
mov dword [esi + 0x1c], edx
movd xmm0, edi
cvtdq2pd xmm0, xmm0
movss dword [ebp - 0x20], xmm1
addsd xmm0, qword [eax*8 + 0x100a6e40]
mov eax, edx
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
divss xmm2, xmm0
movd xmm0, edx
movss dword [ebp - 0x6c], xmm2
movaps xmm2, xmm4
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [eax*8 + 0x100a6e40]
cvtpd2ps xmm0, xmm0
divss xmm2, xmm0
movss dword [ebp - 0x74], xmm2
test edi, edi
jne 0x10069f4e
movss dword [ebp - 0x34], xmm3
jmp 0x10069f70
mov eax, 1
movd xmm0, edi
sub eax, edi
cvtdq2ps xmm0, xmm0
movd xmm2, eax
cvtdq2ps xmm2, xmm2
addss xmm0, xmm0
divss xmm2, xmm0
movss dword [ebp - 0x34], xmm2
test edx, edx
jne 0x10069f7b
movss dword [ebp - 0x38], xmm3
jmp 0x10069f9d
mov eax, 1
movd xmm0, edx
sub eax, edx
cvtdq2ps xmm0, xmm0
movd xmm2, eax
cvtdq2ps xmm2, xmm2
addss xmm0, xmm0
divss xmm2, xmm0
movss dword [ebp - 0x38], xmm2
xor edx, edx
mov dword [ebp - 0x28], edx
cmp dword [ecx + 4], edx
jle 0x1006a3f1
mov eax, dword [ebp - 0x24]
mov edi, dword [ebx + 0x10]
shl eax, 4
add edi, 8
add edi, eax
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 4]
add eax, 0x1c
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x48], eax
mov eax, edx
nop word [eax + eax]
cmp dword [edi + 4], 0
je 0x1006a3c3
mov eax, dword [ecx + 8]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x60], eax
mov eax, dword [ecx]
test eax, eax
jne 0x10069ff1
mov edx, dword [ecx - 4]
add edx, dword [ebp - 0x28]
jmp 0x10069ff4
mov edx, dword [eax + edx*4]
mov ecx, dword [ebp - 4]
call fcn.10064a50
movzx ecx, word [esi + 0x14]
add word [edi], cx
add word [edi + 2], cx
sub word [edi - 4], cx
sub word [edi - 2], cx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
movzx edx, byte [eax + ecx + 0x23]
movzx eax, byte [eax + ecx + 0x22]
shl eax, 8
add edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
cmp dword [ebp - 0xc], edx
jge 0x1006a054
mov edx, dword [ebp - 0xc]
lea edx, [eax + edx*4]
mov eax, 0x100
add edx, ecx
cwde
movzx ecx, byte [edx]
movsx ecx, cx
imul ecx, eax
movzx eax, byte [edx + 1]
jmp 0x1006a076
mov edi, dword [ebp - 4]
lea edx, [eax + edx*4]
movzx ecx, byte [edx + ecx - 4]
mov eax, 0x100
cwde
movsx ecx, cx
imul ecx, eax
mov eax, dword [edi + 4]
mov edi, dword [ebp - 0x10]
movzx eax, byte [edx + eax - 3]
add cx, ax
mov edx, dword [ebp - 0xc]
movzx eax, cx
cwde
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x40]
mov ecx, dword [ebp - 4]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x68]
push eax
mov eax, dword [esi + 0x1c]
sub esp, 8
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
mov dword [esp + 4], 0
mov dword [esp], 0
addsd xmm0, qword [eax*8 + 0x100a6e40]
mov eax, dword [esi + 0x18]
cvtpd2ps xmm3, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
mulss xmm3, xmm1
addsd xmm0, qword [eax*8 + 0x100a6e40]
cvtpd2ps xmm2, xmm0
mulss xmm2, xmm1
call fcn.10067140
mov eax, dword [esi + 0x10]
movzx edi, word [edi + 2]
mov edx, dword [ebp - 0x10]
imul edi, eax
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 8]
movzx eax, word [edx]
add edi, eax
mov eax, dword [esi + 0x18]
add edi, dword [esi + 0x20]
movzx esi, word [edx - 4]
mov ecx, dword [ecx + 0x1c]
sub esi, eax
movzx edx, word [edx - 2]
inc esi
movd xmm0, eax
sub edx, ecx
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
inc edx
mov dword [ebp - 0x4c], edx
mov edx, dword [ebp - 0xc]
addsd xmm0, qword [eax*8 + 0x100a6e40]
lea eax, [ebp - 0x30]
push eax
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x20]
movss dword [ebp - 0x1c], xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x100a6e40]
mov ecx, dword [ebp - 4]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x20]
movss dword [ebp - 0x18], xmm0
call fcn.10067050
movss xmm3, dword [ebp - 0x18]
add esp, 0x1c
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x50]
push 0
push 0
push eax
lea eax, [ebp - 0x54]
push eax
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], 0
movss xmm2, dword [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
call fcn.10067140
mov ecx, dword [ebp - 0x4c]
add esp, 0x18
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x80], edi
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x84], eax
test esi, esi
je 0x1006a289
test ecx, ecx
je 0x1006a289
movss xmm0, dword [ebp - 0x18]
lea eax, [ebp - 0x58]
minss xmm0, dword [ebp - 0x1c]
movss xmm2, dword [0x100a6380]
mov edx, dword [ebp - 0x44]
push ecx
push eax
divss xmm2, xmm0
lea eax, [ebp - 0x5c]
mov ecx, edi
push eax
call fcn.10069320
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1006a289
movss xmm0, dword [ebp - 0x18]
lea ecx, [ebp - 0x8c]
mov edi, dword [ebp - 0x5c]
sub esp, 8
mov edx, esi
push dword [ebp - 0x50]
push dword [ebp - 0x54]
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x1c]
movss dword [esp], xmm0
push dword [ebp - 0x58]
push edi
call fcn.10068af0
mov eax, dword [0x100b10e0]
add esp, 0x28
test edi, edi
je 0x1006a263
dec dword [eax + 0x308]
mov eax, dword [eax + 0xb8]
push edi
call eax
mov eax, dword [0x100b10e0]
add esp, 4
dec dword [eax + 0x308]
mov eax, dword [eax + 0xb8]
push esi
call eax
mov edi, dword [ebp - 0x30]
add esp, 4
mov eax, dword [0x100b10e0]
test edi, edi
je 0x1006a298
dec dword [eax + 0x308]
mov eax, dword [eax + 0xb8]
push edi
call eax
mov eax, dword [ebp - 8]
add esp, 4
mov edi, dword [ebp - 0x10]
mov ecx, dword [eax + 0x18]
cmp ecx, 1
jbe 0x1006a2dd
mov esi, dword [eax + 0x10]
movzx eax, word [edi - 2]
movzx edx, word [edi - 4]
push ecx
movzx ecx, word [edi + 2]
imul ecx, esi
push esi
push eax
movzx eax, word [edi]
add ecx, eax
mov eax, dword [ebp - 8]
add ecx, dword [eax + 0x20]
call fcn.10069770
mov eax, dword [ebp - 8]
add esp, 0xc
mov ecx, dword [eax + 0x1c]
cmp ecx, 1
jbe 0x1006a30d
mov esi, dword [eax + 0x10]
movzx eax, word [edi - 2]
movzx edx, word [edi - 4]
push ecx
movzx ecx, word [edi + 2]
imul ecx, esi
push esi
push eax
movzx eax, word [edi]
add ecx, eax
mov eax, dword [ebp - 8]
add ecx, dword [eax + 0x20]
call fcn.100699c0
add esp, 0xc
mov esi, dword [ebp - 0x60]
movzx eax, word [edi]
movd xmm0, dword [ebp - 0x64]
movss xmm1, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x68]
cvtdq2ps xmm0, xmm0
mov word [esi], ax
movzx eax, word [edi + 2]
mov word [esi + 2], ax
movzx eax, word [edi]
add ax, word [edi - 4]
mulss xmm0, xmm1
mov edx, dword [ebp - 0x70]
mov word [esi + 4], ax
movzx eax, word [edi + 2]
add ax, word [edi - 2]
movss dword [esi + 0x10], xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mov word [esi + 6], ax
mulss xmm0, dword [ebp - 0x6c]
addss xmm0, dword [ebp - 0x34]
movss dword [esi + 8], xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x74]
addss xmm0, dword [ebp - 0x38]
movss dword [esi + 0xc], xmm0
movzx eax, word [edi - 4]
add eax, ecx
mov ecx, dword [ebp - 0x2c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x6c]
addss xmm0, dword [ebp - 0x34]
movss dword [esi + 0x14], xmm0
movzx eax, word [edi - 2]
add eax, edx
mov edx, dword [ebp - 0x28]
movd xmm0, eax
mov eax, dword [ebp - 0x14]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x74]
addss xmm0, dword [ebp - 0x38]
movss dword [esi + 0x18], xmm0
mov esi, dword [ebp - 8]
jmp 0x1006a3ca
mov dword [ebp - 0x3c], 0
inc dword [ebp - 0x24]
inc edx
add edi, 0x10
mov dword [ebp - 0x28], edx
add eax, 0x1c
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], eax
cmp edx, dword [ecx + 4]
jl 0x10069fd0
movss xmm4, dword [0x100a63c0]
xorps xmm3, xmm3
mov edi, dword [ebp - 4]
add ecx, 0x18
sub dword [ebx + 0xc], 1
mov dword [ebp - 0x2c], ecx
jne 0x10069e61
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x78]
mov edx, dword [ebp - 0x7c]
pop edi
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], edx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret