Function at 0x101960c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x40
call fcn.10010a90
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 0x10196105
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.10010a50
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x2c]
ja 0x1019619b
jb 0x1019612e
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x30]
jae 0x1019619b
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 0x101960ea
mov dword [ebp - 0x10], 1
mov dword [ebp - 0xc], 0
jmp 0x101961df
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.10010a50
push 0
push 4
push edx
push eax
call fcn.10010a50
add eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0x18]
ja 0x10196229
jb 0x101961f1
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0x14]
jae 0x10196229
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.10010a50
push 0
push 4
push edx
push eax
call fcn.10010a50
mov edx, dword [ebp - 4]
sub edx, eax
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.101964b0
add esp, 0x10
jmp 0x101961ab
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.10010a50
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
push edx
push eax
call fcn.10010a50
push 0
push 4
push edx
push eax
call fcn.10010a50
add eax, dword [ebp + 0x24]
push eax
mov edx, dword [ebp + 0x1c]
push edx
call fcn.101964b0
add esp, 0x10
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
jmp 0x10196294
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 0x101963cb
jb 0x101962ae
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0x14]
jae 0x101963cb
push 0
push 2
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.10010a50
sub eax, 1
sbb edx, 0
push 0
push 0x10
push edx
push eax
call fcn.10010a50
push 0
push 4
push edx
push eax
call fcn.10010a50
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.101c3a80
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.10010a50
mov ecx, dword [ebp - 0x24]
xor esi, esi
push esi
push ecx
push edx
push eax
call fcn.10010a50
push 0
push 4
push edx
push eax
call fcn.10010a50
add eax, dword [ebp + 0x24]
mov dword [ebp - 4], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
jmp 0x10196347
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.10010a50
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x34]
ja 0x101963ae
jb 0x10196370
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [ebp - 0x38]
jae 0x101963ae
push 0
push 4
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x20]
push eax
call fcn.10010a50
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.10010a50
mov edx, dword [ebp + 0x20]
mov dword [edx + eax], esi
mov eax, dword [ebp - 4]
add eax, 4
mov dword [ebp - 4], eax
jmp 0x10196335
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.101964b0
add esp, 0x10
jmp 0x10196282
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov edx, dword [ebp + 8]
mov dword [ebp - 0x14], edx
jmp 0x101963f3
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.10010a50
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x3c]
ja 0x101964a8
jb 0x10196424
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x40]
jae 0x101964a8
push 0
push 4
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.10010a50
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 0x101963e1
pop esi
mov esp, ebp
pop ebp
ret