Function at 0x4b00c0
Capabilities:
Encrypt data using rc4 prga
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
sub rsp, 0x78
mov r10d, dword [rcx + 0x14]
mov r9, rdx
mov r8, rcx
cmp r10d, 3
jae 0x4b00f6
inc dword [rcx + 8]
mov eax, dword [rcx + 8]
inc dword [rcx + 0x18]
inc qword [rcx]
cmp eax, dword [rcx + 0xc]
jne 0x4b00ef
call fcn.004afc10
xor eax, eax
add rsp, 0x78
ret
mov rcx, qword [rcx]
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x98], rbp
movzx edx, byte [rcx]
movzx eax, byte [rcx + 2]
mov qword [rsp + 0x70], rsi
shl edx, 8
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x60], r12
or edx, eax
movzx eax, byte [rcx + 1]
mov rcx, qword [r8 + 0x28]
xor edx, dword [r8 + rax*4 + 0x78]
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x50], r14
movzx eax, dx
mov rbx, r9
mov r9d, 2
mov edi, dword [rcx + rax*4]
mov rdx, rax
mov eax, dword [r8 + 8]
mov dword [rcx + rdx*4], eax
mov rbp, qword [r8 + 0x30]
mov esi, dword [r8 + 0x18]
mov r11d, dword [r8 + 8]
mov r14d, dword [r8 + 0x3c]
mov ecx, dword [r8 + 0x1c]
mov r13, qword [r8]
xor edx, edx
lea r12, [rbp + rsi*8]
mov dword [rsp + 0x28], r11d
sub r11d, edi
test r14d, r14d
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x30], esi
lea r15, [r12 + 4]
mov dword [rsp + 0x2c], ecx
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x80], edx
je 0x4b02a9
nop
add r14d, 0xffffffff
cmp r11d, ecx
jae 0x4b02a9
xor eax, eax
cmp r11d, esi
cmova eax, ecx
sub eax, r11d
add eax, esi
lea rsi, [rbp + rax*8]
mov eax, r11d
mov rbp, r13
sub rbp, rax
mov eax, dword [rsp + 0x24]
cmp eax, dword [rsp + 0x80]
cmovb edx, eax
mov eax, dword [rsi]
mov dword [rsp + 0x34], eax
movzx eax, byte [rdx + r13]
cmp byte [rdx + rbp], al
jne 0x4b025a
inc edx
cmp edx, r10d
je 0x4b0238
movzx eax, byte [rdx + r13]
cmp byte [rdx + rbp], al
jne 0x4b0238
inc edx
cmp edx, r10d
movsxd rax, edx
je 0x4b0238
mov r9, rbp
lea rcx, [rax + r13]
sub r9, r13
nop
nop
movzx eax, byte [rcx]
cmp byte [r9 + rcx], al
jne 0x4b0233
inc edx
inc rcx
cmp edx, r10d
jne 0x4b0220
mov r9d, dword [rsp + 0x20]
cmp r9d, edx
jae 0x4b025a
mov dword [rbx], edx
lea eax, [r11 - 1]
add rbx, 8
cmp edx, r10d
mov dword [rbx - 4], eax
mov r9d, edx
mov dword [rsp + 0x20], edx
je 0x4b0316
movzx eax, byte [rdx + r13]
cmp byte [rdx + rbp], al
jae 0x4b0278
mov dword [r12], edi
mov edi, dword [rsi + 4]
lea r12, [rsi + 4]
mov dword [rsp + 0x80], edx
jmp 0x4b028b
mov dword [r15], edi
mov edi, dword [rsi]
mov dword [rsp + 0x24], edx
mov edx, dword [rsp + 0x80]
mov r15, rsi
mov r11d, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x2c]
mov esi, dword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
sub r11d, edi
test r14d, r14d
jne 0x4b01b0
mov dword [r12], 0
mov dword [r15], 0
sub rbx, qword [rsp + 0x88]
inc dword [r8 + 8]
mov ecx, dword [r8 + 8]
inc dword [r8 + 0x18]
inc qword [r8]
mov r15, qword [rsp + 0x48]
mov r14, qword [rsp + 0x50]
mov r13, qword [rsp + 0x58]
mov r12, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x98]
sar rbx, 2
cmp ecx, dword [r8 + 0xc]
jne 0x4b0307
mov rcx, r8
call fcn.004afc10
mov eax, ebx
mov rbx, qword [rsp + 0x90]
add rsp, 0x78
ret
mov eax, dword [rsp + 0x34]
mov dword [r12], eax
mov eax, dword [rsi + 4]
mov dword [r15], eax
jmp 0x4b02b8