Function at 0x10120fb0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x34
call fcn.101e1c60
mov eax, dword [0x1035eca0]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], edx
mov esi, dword [esp + 0x60]
movzx edx, byte [esi + 1]
movzx ebx, byte [esi + 5]
lea eax, [esi + 1]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x50]
shl edx, 8
mov dword [esp + 0x14], ecx
movzx ecx, byte [esi]
or ecx, edx
movzx edx, byte [eax + 1]
shl edx, 0x10
or ecx, edx
movzx edx, byte [eax + 2]
shl edx, 0x18
or ecx, edx
movzx edx, byte [eax + 3]
mov dword [esp + 0x2c], eax
shl ebx, 8
or edx, ebx
movzx ebx, byte [eax + 6]
movzx eax, byte [eax + 5]
mov ebp, dword [esp + 0x64]
shl ebx, 8
or ebx, eax
mov eax, ecx
shr eax, 8
mov byte [esp + 0x39], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x3a], al
shl ebx, 0x10
or edx, ebx
mov eax, ecx
shr eax, 0x18
mov byte [esp + 0x3b], al
mov eax, edx
shr eax, 8
mov byte [esp + 0x3d], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x3e], al
mov eax, edx
shr eax, 0x18
cmp dword [esp + 0x50], 0
mov edi, dword [ebp]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x10], 0
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov byte [esp + 0x38], cl
mov byte [esp + 0x3c], dl
mov byte [esp + 0x3f], al
je 0x101211a9
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x48]
sub eax, ebp
mov dword [esp + 0x18], eax
jmp 0x101210b0
dec dword [esp + 0x14]
test edi, edi
jne 0x10121122
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
push ecx
push edx
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.10123150
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov ebx, eax
shr ebx, 8
mov byte [esp + 0x49], bl
mov ebx, eax
mov ecx, eax
mov byte [esp + 0x48], al
shr eax, 0x18
shr ebx, 0x10
mov byte [esp + 0x4b], al
mov eax, edx
mov byte [esp + 0x4a], bl
mov ebx, eax
shr ebx, 8
mov byte [esp + 0x4d], bl
mov ebx, eax
mov byte [esp + 0x4c], al
shr eax, 0x18
shr ebx, 0x10
add esp, 0x10
inc dword [esp + 0x10]
mov byte [esp + 0x3f], al
mov eax, dword [esp + 0x18]
mov byte [esp + 0x3e], bl
mov bl, byte [esp + edi + 0x38]
xor bl, byte [ebp]
inc edi
mov byte [eax + ebp], bl
inc ebp
and edi, 7
cmp dword [esp + 0x14], 0
jne 0x101210b0
cmp dword [esp + 0x10], 0
je 0x10121190
mov byte [esi], cl
mov esi, dword [esp + 0x2c]
mov eax, ecx
shr eax, 8
mov byte [esi], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 1], al
shr ecx, 0x18
mov byte [esi + 2], cl
mov byte [esi + 3], dl
mov ecx, edx
shr ecx, 8
mov byte [esi + 4], cl
mov ecx, dword [esp + 0x1c]
mov eax, edx
shr eax, 0x10
mov byte [esi + 5], al
shr edx, 0x18
mov byte [esi + 6], dl
mov dword [ecx], edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.101e425c
add esp, 0x34
ret
mov edx, dword [esp + 0x1c]
mov dword [edx], edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.101e425c
add esp, 0x34
ret
mov ecx, dword [esp + 0x40]
mov dword [ebp], edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101e425c
add esp, 0x34
ret