Function at 0x55c420
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x34
call fcn.00549c70
mov eax, dword [0x669404]
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 0x55c619
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x48]
sub eax, ebp
mov dword [esp + 0x18], eax
jmp 0x55c520
dec dword [esp + 0x14]
test edi, edi
jne 0x55c592
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.0055d5e0
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 0x55c520
cmp dword [esp + 0x10], 0
je 0x55c600
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.00546bdc
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.00546bdc
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.00546bdc
add esp, 0x34
ret