Function at 0x101a3200
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x40
call fcn.101d14f0
push esi
mov eax, dword [ebp + 0x24]
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
jmp 0x101a3245
mov edx, dword [ebp - 0x10]
add edx, 1
mov eax, dword [ebp - 0xc]
adc eax, 0
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
add ecx, 4
mov dword [ebp - 4], ecx
push 0
push 0x20
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.101d61a0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x2c]
ja 0x101a32db
jb 0x101a326e
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x30]
jae 0x101a32db
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax]
mov edx, dword [ebp - 4]
mov dword [edx], ecx
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx]
shl edx, 8
mov eax, dword [ebp - 4]
or edx, dword [eax]
mov ecx, dword [ebp - 4]
mov dword [ecx], edx
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax]
shl ecx, 0x10
mov edx, dword [ebp - 4]
or ecx, dword [edx]
mov eax, dword [ebp - 4]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
movzx eax, byte [edx]
shl eax, 0x18
mov ecx, dword [ebp - 4]
or eax, dword [ecx]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
jmp 0x101a322a
mov dword [ebp - 0x10], 1
mov dword [ebp - 0xc], 0
jmp 0x101a331f
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov edx, dword [ebp - 0xc]
adc edx, 0
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
push 0
push 0x20
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.101d61a0
push 0
push 4
push edx
push eax
call fcn.101d61a0
add eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0x18]
ja 0x101a3369
jb 0x101a3331
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0x14]
jae 0x101a3369
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0
push 0x20
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.101d61a0
push 0
push 4
push edx
push eax
call fcn.101d61a0
mov edx, dword [ebp - 4]
sub edx, eax
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.101a35f0
add esp, 0x10
jmp 0x101a32eb
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 0x14]
sub eax, 1
mov ecx, dword [ebp + 0x18]
sbb ecx, 0
push 0
push 0x20
push ecx
push eax
call fcn.101d61a0
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
push edx
push eax
call fcn.101d61a0
push 0
push 4
push edx
push eax
call fcn.101d61a0
add eax, dword [ebp + 0x24]
push eax
mov edx, dword [ebp + 0x1c]
push edx
call fcn.101a35f0
add esp, 0x10
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
jmp 0x101a33d4
mov eax, dword [ebp - 0x10]
add eax, 1
mov ecx, dword [ebp - 0xc]
adc ecx, 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0x18]
ja 0x101a350b
jb 0x101a33ee
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0x14]
jae 0x101a350b
push 0
push 2
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.101d61a0
sub eax, 1
sbb edx, 0
push 0
push 0x10
push edx
push eax
call fcn.101d61a0
push 0
push 4
push edx
push eax
call fcn.101d61a0
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx + eax]
xor eax, eax
mov ecx, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x14]
push ecx
push eax
push edx
call fcn.101d7910
mov dword [ebp - 0x24], eax
push 0
push 0x20
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.101d61a0
mov ecx, dword [ebp - 0x24]
xor esi, esi
push esi
push ecx
push edx
push eax
call fcn.101d61a0
push 0
push 4
push edx
push eax
call fcn.101d61a0
add eax, dword [ebp + 0x24]
mov dword [ebp - 4], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
jmp 0x101a3487
mov edx, dword [ebp - 0x20]
add edx, 1
mov eax, dword [ebp - 0x1c]
adc eax, 0
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], eax
push 0
push 0x20
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.101d61a0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x34]
ja 0x101a34ee
jb 0x101a34b0
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [ebp - 0x38]
jae 0x101a34ee
push 0
push 4
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x20]
push eax
call fcn.101d61a0
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp - 4]
mov esi, dword [ecx + eax]
xor esi, dword [edx]
push 0
push 4
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.101d61a0
mov edx, dword [ebp + 0x20]
mov dword [edx + eax], esi
mov eax, dword [ebp - 4]
add eax, 4
mov dword [ebp - 4], eax
jmp 0x101a3475
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
call fcn.101a35f0
add esp, 0x10
jmp 0x101a33c2
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov edx, dword [ebp + 8]
mov dword [ebp - 0x14], edx
jmp 0x101a3533
mov eax, dword [ebp - 0x10]
add eax, 1
mov ecx, dword [ebp - 0xc]
adc ecx, 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ecx
push 0
push 0x20
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.101d61a0
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x3c]
ja 0x101a35e8
jb 0x101a3564
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x40]
jae 0x101a35e8
push 0
push 4
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.101d61a0
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx + eax]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
and ecx, 0xff
mov edx, dword [ebp - 0x14]
mov byte [edx], cl
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x28]
shr ecx, 8
and ecx, 0xff
mov edx, dword [ebp - 0x14]
mov byte [edx], cl
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x28]
shr ecx, 0x10
and ecx, 0xff
mov edx, dword [ebp - 0x14]
mov byte [edx], cl
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x28]
shr ecx, 0x18
and ecx, 0xff
mov edx, dword [ebp - 0x14]
mov byte [edx], cl
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
jmp 0x101a3521
pop esi
mov esp, ebp
pop ebp
ret