Function at 0x20365db0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x20373e70
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
mov ebx, edx
mov r14, rcx
mov rax, qword [0x205da420]
xor rax, rsp
mov qword [rsp + 0x90], rax
call fcn.2037b620
mov rcx, qword [0x205ca350]
mov edx, dword [0x205ca2f4]
mov esi, 0xdf8a
sub esi, eax
sub edx, esi
movsxd rax, edx
add rax, rcx
call rax
mov r13d, eax
mov rax, qword [0x205ca330]
mov ecx, dword [0x205ca2d8]
sub ecx, esi
movsxd r9, ecx
add r9, rax
mov qword [rsp + 0x50], r14
mov rcx, r14
mov edx, ebx
mov r8d, 0x69b7c090
call r9
test al, 1
je 0x20373fed
mov rax, qword [0x205ca380]
mov ecx, dword [0x205ca2fc]
sub ecx, esi
movsxd r10, ecx
add r10, rax
lea r15, [rsp + 0x78]
lea r8, [rsp + 0x88]
mov ecx, ebx
mov rdx, r15
mov r9d, 0xf327de6
call r10
mov rcx, qword [rsp + 0x88]
mov qword [rsp + 0x58], rcx
test al, 1
je 0x20374012
xor ebx, ebx
xor r12d, r12d
mov rax, qword [0x205ca370]
mov ecx, dword [0x205ca304]
sub ecx, esi
movsxd r10, ecx
add r10, rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
mov dword [rsp + 0x30], 0xba955aaa
lea r9, [rsp + 0x84]
mov rcx, qword [rsp + 0x58]
mov edx, r13d
mov r8d, r12d
call r10
movzx r8d, byte [rsp + 0x88]
movzx ecx, byte [rsp + 0x78]
movzx edx, byte [rsp + 0x84]
mov rax, qword [0x205ca320]
mov r9d, dword [0x205ca2e0]
sub r9d, esi
movsxd r10, r9d
add r10, rax
mov r9d, 0x36f3de83
call r10
test al, 1
je 0x20373fed
mov eax, r12d
lea rcx, [0x204920b0]
mov r8d, dword [rcx + rax*4]
mov rax, qword [0x205ca340]
mov ecx, dword [0x205ca300]
sub ecx, esi
movsxd r10, ecx
add r10, rax
mov rcx, qword [rsp + 0x50]
mov rdx, rbx
mov r9d, 0x228aed86
call r10
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.20421ce0
nop
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rdx, qword [rsp + 0x78]
mov rax, qword [0x205ca348]
mov ecx, dword [0x205ca2e4]
sub ecx, esi
movsxd r10, ecx
add r10, rax
mov ecx, r13d
mov r8, r15
mov r9d, 0x222c537f
call r10
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x60], rax
xor ebx, ebx
xor r12d, r12d
xor ecx, ecx
jmp 0x203741c9
mov rax, qword [0x205ca318]
mov ecx, dword [0x205ca2d0]
sub ecx, esi
movsxd r10, ecx
add r10, rax
mov ecx, r13d
mov edx, r12d
lea rbp, [rsp + 0x74]
mov r8, rbp
mov r9d, 0xdc83d96c
call r10
mov ecx, dword [rsp + 0x74]
mov rax, qword [0x205ca328]
mov edx, dword [0x205ca2f0]
sub edx, esi
movsxd r10, edx
add r10, rax
lea rdi, [rsp + 0x84]
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 0x2176f878
mov rdx, rbx
mov r8, rbp
mov r9, r15
call r10
mov r12d, dword [rsp + 0x74]
mov rdx, qword [rsp + 0x78]
mov r8d, dword [rsp + 0x84]
mov rax, qword [0x205ca368]
mov ecx, dword [0x205ca2dc]
sub ecx, esi
movsxd r10, ecx
add r10, rax
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0x38], 0x9eed586e
mov rcx, qword [rsp + 0x50]
lea r14, [rsp + 0x88]
mov r9, r14
call r10
mov r9, qword [rsp + 0x88]
mov ecx, dword [rsp + 0x74]
mov edx, dword [rsp + 0x84]
mov r8d, dword [rsp + 0x78]
mov rax, qword [0x205ca310]
mov r10d, dword [0x205ca2d4]
sub r10d, esi
movsxd r10, r10d
add r10, rax
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], r12d
mov dword [rsp + 0x38], 0x49f1de2f
call r10
mov edx, dword [rsp + 0x74]
movzx ecx, byte [rsp + 0x84]
mov rax, qword [0x205ca338]
mov r8d, dword [0x205ca2ec]
sub r8d, esi
movsxd r10, r8d
add r10, rax
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], rbp
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x40], 0xb4dc08ea
mov r8, rbx
mov r9, qword [rsp + 0x68]
call r10
mov r12d, dword [rsp + 0x74]
mov rbx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x88]
test al, 1
jne 0x20373f3a
mov qword [rsp + 0x68], rcx
mov rax, qword [0x205ca358]
mov ecx, dword [0x205ca308]
sub ecx, esi
movsxd r9, ecx
add r9, rax
mov ecx, r13d
mov edx, r12d
mov r8d, 0xefe3f73f
call r9
test al, 1
je 0x20374060
mov rax, qword [0x205ca360]
mov ecx, dword [0x205ca2f8]
sub ecx, esi
movsxd r10, ecx
add r10, rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 0xce52ae4c
mov ecx, r12d
mov rdx, qword [rsp + 0x50]
mov r8, rbx
lea r9, [rsp + 0x74]
call r10
mov edx, dword [rsp + 0x74]
mov rcx, qword [rsp + 0x88]
mov rax, qword [0x205ca378]
mov r8d, dword [0x205ca2e8]
sub r8d, esi
movsxd r9, r8d
add r9, rax
mov r8d, 0x850b4c74
call r9
jmp 0x20374060