Function at 0x180020200
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x50
lea r9, [rcx + 4]
lea r14, [rcx + 8]
mov eax, 0x46ca206e
mov r15d, 0x598e367e
jmp 0x180020230
mov eax, 0xa142301c
nop word [rax + rax]
cmp eax, 0xe186e3d7
jle 0x180020290
cmp eax, 0x598e367d
jg 0x180020300
cmp eax, 0xe186e3d8
je 0x1800203a7
cmp eax, 0x62d82ef
je 0x1800203d4
cmp eax, 0x46ca206e
jne 0x180020230
mov qword [rsp + 0x40], rcx
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x20], r9
mov rax, qword [rsp + 0x20]
mov eax, dword [rax]
mov dword [rsp + 0x34], eax
mov qword [rsp + 0x28], r14
mov eax, 0x7c47bae3
jmp 0x180020230
cmp eax, 0xa142301b
jg 0x18002037c
cmp eax, 0x89bc84c4
je 0x180020408
cmp eax, 0x8c1cf870
je 0x180020434
cmp eax, 0xa0afbac7
jne 0x180020230
mov eax, dword [rsp + 4]
add eax, dword [rsp + 0x18]
movzx eax, al
mov rbp, qword [rsp + 0x28]
mov eax, dword [rbp + rax*4]
mov dword [rsp + 0x38], eax
movsxd rax, dword [rsp + 8]
add rax, rdx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
mov dword [rsp + 0x3c], eax
mov eax, 0xe186e3d8
jmp 0x180020230
cmp eax, 0x598e367e
je 0x180020225
cmp eax, 0x7c47bae3
je 0x180020449
cmp eax, 0x7eebd07e
jne 0x180020230
mov eax, dword [rsp + 0x1c]
add eax, 1
movzx eax, al
mov dword [rsp + 0x10], eax
movsxd rax, dword [rsp + 0x10]
mov rsi, qword [rsp + 0x28]
mov ebx, dword [rsi + rax*4]
mov dword [rsp + 4], ebx
mov ebx, dword [rsp + 4]
add ebx, dword [rsp + 0xc]
movzx ebx, bl
mov dword [rsp + 0x14], ebx
movsxd rbx, dword [rsp + 0x14]
mov rbp, qword [rsp + 0x28]
mov r11d, dword [rbp + rbx*4]
mov dword [rsp + 0x18], r11d
mov edi, dword [rsp + 0x18]
mov dword [rsi + rax*4], edi
mov eax, dword [rsp + 4]
mov dword [rbp + rbx*4], eax
mov eax, 0xa0afbac7
jmp 0x180020230
cmp eax, 0xb4062137
je 0x180020460
cmp eax, 0xbe9c6a14
jne 0x180020488
mov rax, qword [rsp + 0x20]
mov ebp, dword [rsp + 0xc]
mov dword [rax], ebp
mov eax, 0x62d82ef
jmp 0x180020230
mov eax, dword [rsp + 0x38]
xor eax, dword [rsp + 0x3c]
mov rbp, qword [rsp + 0x48]
mov byte [rbp], al
mov r10d, dword [rsp + 8]
add r10d, 1
mov r12d, dword [rsp + 0x10]
mov eax, 0xb4062137
mov r13d, dword [rsp + 0x14]
jmp 0x180020230
mov rax, qword [rsp + 0x20]
mov ebp, dword [rsp + 0xc]
mov dword [rax], ebp
mov eax, dword [0x1801296b8]
lea ebp, [rax - 1]
imul ebp, eax
test bpl, 1
mov eax, 0xbe9c6a14
cmove eax, r15d
cmp dword [0x1801296bc], 0xa
cmovl eax, r15d
jmp 0x180020230
mov eax, dword [0x1801296b8]
lea ebp, [rax - 1]
imul ebp, eax
test bpl, 1
mov eax, 0xbe9c6a14
mov ebp, 0x62d82ef
cmove eax, ebp
cmp dword [0x1801296bc], 0xa
cmovl eax, ebp
jmp 0x180020230
mov rax, qword [rsp + 0x40]
mov ebp, dword [rsp + 0x1c]
mov dword [rax], ebp
mov eax, 0x89bc84c4
jmp 0x180020230
mov r12d, dword [rsp + 0x30]
mov eax, 0xb4062137
xor r10d, r10d
mov r13d, dword [rsp + 0x34]
jmp 0x180020230
mov dword [rsp + 8], r10d
mov dword [rsp + 0x1c], r12d
mov dword [rsp + 0xc], r13d
mov eax, dword [rsp + 8]
cmp eax, r8d
mov eax, 0x8c1cf870
mov ebp, 0x7eebd07e
cmovl eax, ebp
jmp 0x180020230
cmp eax, 0xa142301c
jne 0x180020230
add rsp, 0x50
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret