Function at 0x1800a4830
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], r9
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rdi, r9
mov r13, r8
mov r14, rdx
mov r12, rcx
mov qword [rbp + 0xd8], rdx
mov rsi, rdx
lea rbx, [r8 - 1]
mov r15, rbx
sar r15, 1
cmp rdx, r15
jge 0x1800a4ad9
nop dword [rax]
add rsi, rsi
lea rax, [rsp + 0x30]
mov qword [rbp + 0xe0], rax
lea rax, [rsi + 2]
imul rdi, rax, 0xa8
add rdi, r12
lea rbx, [rdi - 0xa8]
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.18005b090
nop
lea rdx, [rbx + 0x20]
lea rcx, [rsp + 0x50]
call fcn.18005b090
nop
lea rdx, [rbx + 0x40]
lea rcx, [rsp + 0x70]
call fcn.18005b090
movups xmm0, xmmword [rbx + 0x60]
movups xmmword [rbp - 0x70], xmm0
movups xmm0, xmmword [rbx + 0x70]
movups xmmword [rbp - 0x60], xmm0
mov eax, dword [rbx + 0x80]
mov dword [rbp - 0x50], eax
mov eax, dword [rbx + 0x84]
mov dword [rbp - 0x4c], eax
mov eax, dword [rbx + 0x88]
mov dword [rbp - 0x48], eax
mov eax, dword [rbx + 0x8c]
mov dword [rbp - 0x44], eax
mov eax, dword [rbx + 0x90]
mov dword [rbp - 0x40], eax
mov eax, dword [rbx + 0x94]
mov dword [rbp - 0x3c], eax
movzx eax, byte [rbx + 0x98]
mov byte [rbp - 0x38], al
mov eax, dword [rbx + 0x9c]
mov dword [rbp - 0x34], eax
mov eax, dword [rbx + 0xa0]
mov dword [rbp - 0x30], eax
lea rax, [rbp - 0x28]
mov qword [rbp + 0x80], rax
mov rdx, rdi
lea rcx, [rbp - 0x28]
call fcn.18005b090
nop
lea rdx, [rdi + 0x20]
lea rcx, [rbp - 8]
call fcn.18005b090
nop
lea rdx, [rdi + 0x40]
lea rcx, [rbp + 0x18]
call fcn.18005b090
movups xmm0, xmmword [rdi + 0x60]
movups xmmword [rbp + 0x38], xmm0
movups xmm0, xmmword [rdi + 0x70]
movups xmmword [rbp + 0x48], xmm0
mov eax, dword [rdi + 0x80]
mov dword [rbp + 0x58], eax
mov eax, dword [rdi + 0x84]
mov dword [rbp + 0x5c], eax
mov eax, dword [rdi + 0x88]
mov dword [rbp + 0x60], eax
mov eax, dword [rdi + 0x8c]
mov dword [rbp + 0x64], eax
mov eax, dword [rdi + 0x90]
mov dword [rbp + 0x68], eax
mov ecx, dword [rdi + 0x94]
mov dword [rbp + 0x6c], ecx
movzx eax, byte [rdi + 0x98]
mov byte [rbp + 0x70], al
mov eax, dword [rdi + 0x9c]
mov dword [rbp + 0x74], eax
mov eax, dword [rdi + 0xa0]
mov dword [rbp + 0x78], eax
cmp ecx, dword [rbp - 0x3c]
setl bl
lea rcx, [rbp - 0x28]
call fcn.1800ab0a0
lea rcx, [rsp + 0x30]
call fcn.1800ab0a0
movzx eax, bl
xor rax, 1
inc rax
add rsi, rax
imul rdi, rsi, 0xa8
add rdi, r12
imul rbx, r14, 0xa8
add rbx, r12
mov rdx, rdi
mov rcx, rbx
call fcn.180049310
lea rdx, [rdi + 0x20]
lea rcx, [rbx + 0x20]
call fcn.180049310
lea rdx, [rdi + 0x40]
lea rcx, [rbx + 0x40]
call fcn.180049310
mov eax, dword [rdi + 0x60]
mov dword [rbx + 0x60], eax
mov eax, dword [rdi + 0x64]
mov dword [rbx + 0x64], eax
mov eax, dword [rdi + 0x68]
mov dword [rbx + 0x68], eax
mov eax, dword [rdi + 0x6c]
mov dword [rbx + 0x6c], eax
mov eax, dword [rdi + 0x70]
mov dword [rbx + 0x70], eax
mov eax, dword [rdi + 0x74]
mov dword [rbx + 0x74], eax
mov eax, dword [rdi + 0x78]
mov dword [rbx + 0x78], eax
mov eax, dword [rdi + 0x7c]
mov dword [rbx + 0x7c], eax
mov eax, dword [rdi + 0x80]
mov dword [rbx + 0x80], eax
mov eax, dword [rdi + 0x84]
mov dword [rbx + 0x84], eax
mov eax, dword [rdi + 0x88]
mov dword [rbx + 0x88], eax
mov eax, dword [rdi + 0x8c]
mov dword [rbx + 0x8c], eax
mov eax, dword [rdi + 0x90]
mov dword [rbx + 0x90], eax
mov eax, dword [rdi + 0x94]
mov dword [rbx + 0x94], eax
movzx eax, byte [rdi + 0x98]
mov byte [rbx + 0x98], al
mov eax, dword [rdi + 0x9c]
mov dword [rbx + 0x9c], eax
mov eax, dword [rdi + 0xa0]
mov dword [rbx + 0xa0], eax
mov r14, rsi
cmp rsi, r15
jl 0x1800a4880
lea rbx, [r13 - 1]
mov rdi, qword [rbp + 0xe8]
cmp rsi, r15
jne 0x1800a4b07
test r13b, 1
jne 0x1800a4b07
imul rdx, r13, 0xa8
add rdx, 0xffffffffffffff58
add rdx, r12
imul rcx, r14, 0xa8
add rcx, r12
call fcn.1800ab500
mov r14, rbx
movzx eax, byte [rbp + 0xf0]
mov byte [rbp + 0xf0], al
mov r9, rdi
mov r8, qword [rbp + 0xd8]
mov rdx, r14
mov rcx, r12
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x190
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
jmp 0x1800a4b50
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov r15, r9
mov r13, r8
mov r14, rdx
mov r12, rcx
lea rsi, [rdx - 1]
sar rsi, 1
cmp r8, rdx
jge 0x1800a4dd8
lea rbx, [r9 + 0x20]
lea rdi, [r9 + 0x40]
lea rax, [rsp + 0x20]
mov qword [rbp + 0xb0], rax
mov rdx, r15
lea rcx, [rsp + 0x20]
call fcn.18005b090
nop
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.18005b090
nop
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.18005b090
movups xmm0, xmmword [r15 + 0x60]
movups xmmword [rbp - 0x80], xmm0
movups xmm0, xmmword [r15 + 0x70]
movups xmmword [rbp - 0x70], xmm0
mov eax, dword [r15 + 0x80]
mov dword [rbp - 0x60], eax
mov eax, dword [r15 + 0x84]
mov dword [rbp - 0x5c], eax
mov eax, dword [r15 + 0x88]
mov dword [rbp - 0x58], eax
mov eax, dword [r15 + 0x8c]
mov dword [rbp - 0x54], eax
mov eax, dword [r15 + 0x90]
mov dword [rbp - 0x50], eax
mov eax, dword [r15 + 0x94]
mov dword [rbp - 0x4c], eax
movzx eax, byte [r15 + 0x98]
mov byte [rbp - 0x48], al
mov eax, dword [r15 + 0x9c]
mov dword [rbp - 0x44], eax
mov eax, dword [r15 + 0xa0]
mov dword [rbp - 0x40], eax
lea rax, [rbp - 0x38]
mov qword [rbp + 0xb8], rax
imul rdi, rsi, 0xa8
add rdi, r12
mov rdx, rdi
lea rcx, [rbp - 0x38]
call fcn.18005b090
nop
lea rdx, [rdi + 0x20]
lea rcx, [rbp - 0x18]
call fcn.18005b090
nop
lea rdx, [rdi + 0x40]
lea rcx, [rbp + 8]
call fcn.18005b090
movups xmm0, xmmword [rdi + 0x60]
movups xmmword [rbp + 0x28], xmm0
movups xmm0, xmmword [rdi + 0x70]
movups xmmword [rbp + 0x38], xmm0
mov eax, dword [rdi + 0x80]
mov dword [rbp + 0x48], eax
mov eax, dword [rdi + 0x84]
mov dword [rbp + 0x4c], eax
mov eax, dword [rdi + 0x88]
mov dword [rbp + 0x50], eax
mov eax, dword [rdi + 0x8c]
mov dword [rbp + 0x54], eax
mov eax, dword [rdi + 0x90]
mov dword [rbp + 0x58], eax
mov ecx, dword [rdi + 0x94]
mov dword [rbp + 0x5c], ecx
movzx eax, byte [rdi + 0x98]
mov byte [rbp + 0x60], al
mov eax, dword [rdi + 0x9c]
mov dword [rbp + 0x64], eax
mov eax, dword [rdi + 0xa0]
mov dword [rbp + 0x68], eax
cmp ecx, dword [rbp - 0x4c]
setl bl
lea rcx, [rbp - 0x38]
call fcn.1800ab0a0
lea rcx, [rsp + 0x20]
call fcn.1800ab0a0
test bl, bl
je 0x1800a4dd8
imul rbx, r14, 0xa8
add rbx, r12
mov rdx, rdi
mov rcx, rbx
call fcn.180049310
lea rcx, [rbx + 0x20]
lea rdx, [rdi + 0x20]
call fcn.180049310
lea rcx, [rbx + 0x40]
lea rdx, [rdi + 0x40]
call fcn.180049310
mov eax, dword [rdi + 0x60]
mov dword [rbx + 0x60], eax
mov eax, dword [rdi + 0x64]
mov dword [rbx + 0x64], eax
mov eax, dword [rdi + 0x68]
mov dword [rbx + 0x68], eax
mov eax, dword [rdi + 0x6c]
mov dword [rbx + 0x6c], eax
mov eax, dword [rdi + 0x70]
mov dword [rbx + 0x70], eax
mov eax, dword [rdi + 0x74]
mov dword [rbx + 0x74], eax
mov eax, dword [rdi + 0x78]
mov dword [rbx + 0x78], eax
mov eax, dword [rdi + 0x7c]
mov dword [rbx + 0x7c], eax
mov eax, dword [rdi + 0x80]
mov dword [rbx + 0x80], eax
mov eax, dword [rdi + 0x84]
mov dword [rbx + 0x84], eax
mov eax, dword [rdi + 0x88]
mov dword [rbx + 0x88], eax
mov eax, dword [rdi + 0x8c]
mov dword [rbx + 0x8c], eax
mov eax, dword [rdi + 0x90]
mov dword [rbx + 0x90], eax
mov eax, dword [rdi + 0x94]
mov dword [rbx + 0x94], eax
movzx eax, byte [rdi + 0x98]
mov byte [rbx + 0x98], al
mov eax, dword [rdi + 0x9c]
mov dword [rbx + 0x9c], eax
mov eax, dword [rdi + 0xa0]
mov dword [rbx + 0xa0], eax
mov r14, rsi
dec rsi
sar rsi, 1
cmp r13, r14
lea rbx, [r15 + 0x20]
lea rdi, [r15 + 0x40]
jl 0x1800a4b90
imul rcx, r14, 0xa8
add rcx, r12
mov rdx, r15
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x170
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
jmp fcn.1800ab500