Function at 0x100192f0
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, 0x58
cmp dword [ebx + 0xc], 0
mov eax, 1
push esi
mov esi, ecx
mov dword [ebp - 0x2c], eax
push edi
mov edi, edx
mov dword [ebp - 4], esi
mov dword [ebp - 8], edi
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x18], 0
jle 0x100197bc
mov ecx, dword [ebx + 8]
xorps xmm3, xmm3
movss xmm4, dword [0x1007724c]
add ecx, 8
mov dword [ebp - 0x20], ecx
nop
movss xmm1, dword [ecx - 8]
comiss xmm1, xmm3
jbe 0x100193a9
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 - 8]
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 - 4]
movd xmm0, eax
jmp 0x100193c9
mov edx, dword [edi + 0x14]
mov eax, dword [edi + 4]
xorps xmm1, xmmword [0x10077880]
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 - 0x20]
movaps xmm2, xmm4
cvtdq2ps xmm0, xmm0
movzx edi, byte [ecx + 0xc]
movzx edx, byte [ecx + 0xd]
mov eax, edi
shr eax, 0x1f
divss xmm1, xmm0
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edx
movd xmm0, edi
cvtdq2pd xmm0, xmm0
movss dword [ebp - 0x14], xmm1
addsd xmm0, qword [eax*8 + 0x10077810]
mov eax, edx
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
divss xmm2, xmm0
movd xmm0, edx
movss dword [ebp - 0x3c], xmm2
movaps xmm2, xmm4
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [eax*8 + 0x10077810]
cvtpd2ps xmm0, xmm0
divss xmm2, xmm0
movss dword [ebp - 0x44], xmm2
test edi, edi
jne 0x1001943d
movss dword [ebp - 0x24], xmm3
jmp 0x1001945f
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 - 0x24], xmm2
test edx, edx
jne 0x1001946a
movss dword [ebp - 0x28], xmm3
jmp 0x1001948c
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 - 0x28], xmm2
xor edx, edx
mov dword [ebp - 0x1c], edx
cmp dword [ecx + 4], edx
jle 0x100197a0
mov eax, dword [ebp - 0x18]
mov edi, dword [ebx + 0x10]
shl eax, 4
add edi, 8
add edi, eax
mov dword [ebp - 0x10], edx
mov eax, edx
nop dword [eax]
cmp dword [edi + 4], 0
je 0x10019775
mov eax, dword [ecx + 8]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ecx]
test eax, eax
jne 0x100194d1
mov edx, dword [ecx - 4]
add edx, dword [ebp - 0x1c]
jmp 0x100194d4
mov edx, dword [eax + edx*4]
mov ecx, dword [ebp - 8]
call fcn.10013bb0
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], eax
movzx eax, word [esi + 0x14]
add word [edi], ax
add word [edi + 2], ax
sub word [edi - 4], ax
sub word [edi - 2], ax
mov edx, dword [ecx + 4]
mov eax, dword [ecx + 0x1c]
movzx esi, byte [eax + edx + 0x23]
movzx eax, byte [eax + edx + 0x22]
shl eax, 8
add esi, eax
mov eax, esi
mov esi, dword [ebp - 4]
cmp dword [ebp - 0xc], eax
jge 0x10019532
mov eax, dword [ebp - 0xc]
lea edx, [edx + eax*4]
mov eax, 0x100
add edx, dword [ecx + 0x20]
cwde
movzx ecx, byte [edx]
movsx ecx, cx
imul ecx, eax
movzx eax, byte [edx + 1]
jmp 0x10019551
lea esi, [edx + eax*4]
mov edx, dword [ecx + 0x20]
mov eax, 0x100
cwde
movzx ecx, byte [esi + edx - 4]
movsx ecx, cx
imul ecx, eax
movzx eax, byte [esi + edx - 3]
mov esi, dword [ebp - 4]
add cx, ax
mov edx, dword [ebp - 0xc]
movzx eax, cx
cwde
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x54]
mov ecx, dword [ebp - 8]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x38]
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 + 0x10077810]
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 + 0x10077810]
cvtpd2ps xmm2, xmm0
mulss xmm2, xmm1
call fcn.10016100
mov ecx, dword [esi + 0x1c]
add esp, 0x18
mov edx, dword [esi + 0x18]
mov eax, ecx
shr eax, 0x1f
mov esi, dword [esi + 0x10]
push dword [ebp - 0xc]
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
addsd xmm0, qword [eax*8 + 0x10077810]
mov eax, edx
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x14]
movss dword [esp + 4], xmm0
movd xmm0, edx
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [eax*8 + 0x10077810]
movzx eax, word [edi - 2]
sub eax, ecx
mov ecx, dword [ebp - 8]
inc eax
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x14]
movss dword [esp], xmm0
push esi
push eax
movzx eax, word [edi - 4]
sub eax, edx
movzx edx, word [edi + 2]
imul edx, esi
inc eax
mov esi, dword [ebp - 4]
push eax
movzx eax, word [edi]
add edx, eax
add edx, dword [esi + 0x20]
call fcn.10018970
mov eax, dword [esi + 0x18]
add esp, 0x20
cmp eax, 1
jbe 0x1001968f
mov esi, dword [esi + 0x10]
movzx ecx, word [edi + 2]
movzx edx, word [edi - 4]
push eax
movzx eax, word [edi - 2]
imul ecx, esi
push esi
mov esi, dword [ebp - 4]
push eax
movzx eax, word [edi]
add ecx, eax
add ecx, dword [esi + 0x20]
call fcn.10018b60
add esp, 0xc
mov eax, dword [esi + 0x1c]
cmp eax, 1
jbe 0x100196bf
mov esi, dword [esi + 0x10]
movzx ecx, word [edi + 2]
movzx edx, word [edi - 4]
push eax
movzx eax, word [edi - 2]
imul ecx, esi
push esi
push eax
movzx eax, word [edi]
add ecx, eax
mov eax, dword [ebp - 4]
add ecx, dword [eax + 0x20]
call fcn.10018db0
add esp, 0xc
mov esi, dword [ebp - 0x34]
movzx eax, word [edi]
movd xmm0, dword [ebp - 0x30]
movss xmm1, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x38]
cvtdq2ps xmm0, xmm0
mov word [esi], ax
movzx eax, word [edi + 2]
mov word [esi + 2], ax
movzx eax, word [edi - 4]
add ax, word [edi]
mulss xmm0, xmm1
mov edx, dword [ebp - 0x40]
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 - 0x3c]
addss xmm0, dword [ebp - 0x24]
movss dword [esi + 8], xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x44]
addss xmm0, dword [ebp - 0x28]
movss dword [esi + 0xc], xmm0
movzx eax, word [edi - 4]
add eax, ecx
mov ecx, dword [ebp - 0x20]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x3c]
addss xmm0, dword [ebp - 0x24]
movss dword [esi + 0x14], xmm0
movzx eax, word [edi - 2]
add eax, edx
mov edx, dword [ebp - 0x1c]
movd xmm0, eax
mov eax, dword [ebp - 0x10]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x44]
addss xmm0, dword [ebp - 0x28]
movss dword [esi + 0x18], xmm0
mov esi, dword [ebp - 4]
jmp 0x1001977c
mov dword [ebp - 0x2c], 0
inc dword [ebp - 0x18]
inc edx
add eax, 0x1c
mov dword [ebp - 0x1c], edx
add edi, 0x10
mov dword [ebp - 0x10], eax
cmp edx, dword [ecx + 4]
jl 0x100194b0
movss xmm4, dword [0x1007724c]
xorps xmm3, xmm3
mov edi, dword [ebp - 8]
add ecx, 0x18
sub dword [ebx + 0xc], 1
mov dword [ebp - 0x20], ecx
jne 0x10019350
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x4c]
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