Function at 0x140063d1c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xcb8
mov rax, qword [0x1400b8288]
xor rax, rsp
mov qword [rsp + 0xca0], rax
mov eax, dword [rcx + 0x8a0]
mov esi, r9d
mov ebp, dword [rsp + 0xd20]
mov r14d, r8d
mov r15d, edx
mov rdi, rcx
lea eax, [rax*8 + 0x100]
movsxd rbx, eax
cmp rbx, 0x320
jb 0x140063d75
xor eax, eax
jmp 0x140063fd3
add rbx, rbx
lea rcx, [rsp + 0x20]
mov r8, rbx
xor edx, edx
call sub.msvcrt.dll_memset
mov r8, rbx
lea rcx, [rsp + 0x660]
xor edx, edx
call sub.msvcrt.dll_memset
mov r11, qword [rdi + 0x50]
mov r13d, 0x400
mov rbx, qword [rdi + 0x48]
mov r10d, r13d
mov r12d, 1
mov r8d, r15d
mov ecx, r15d
and ecx, 7
mov edx, r12d
shl edx, cl
movzx r9d, byte [r8 + rbx]
shr r8, 3
test byte [r8 + r11], dl
jne 0x140063dd5
mov ecx, r9d
jmp 0x140063e5f
mov rax, qword [rdi + 0x40]
mov ecx, esi
mov edx, dword [rax + rcx*4]
cmp r9b, 7
jae 0x140063e21
cmp edx, r13d
jae 0x140063df3
movzx ecx, byte [rdx + rdi + 0x47c]
jmp 0x140063e18
cmp edx, 0x80000
jae 0x140063e0f
mov rax, rdx
shr rax, 9
movzx ecx, byte [rax + rdi + 0x47c]
add ecx, 0x12
jmp 0x140063e18
shr edx, 0x11
movzx ecx, dl
add ecx, 0x22
lea ecx, [rcx + 0x20]
lea ecx, [r9 + rcx*8]
jmp 0x140063e5c
cmp edx, r13d
jae 0x140063e30
movzx ecx, byte [rdx + rdi + 0x47c]
jmp 0x140063e55
cmp edx, 0x80000
jae 0x140063e4c
mov rax, rdx
shr rax, 9
movzx ecx, byte [rax + rdi + 0x47c]
add ecx, 0x12
jmp 0x140063e55
shr edx, 0x11
movzx ecx, dl
add ecx, 0x22
lea ecx, [rcx*8 + 0x107]
add esi, r12d
movsxd rax, ecx
mov edx, r12d
mov r8d, r14d
mov ecx, r14d
and ecx, 7
add r15d, r12d
shl edx, cl
add word [rsp + rax*2 + 0x20], r12w
movzx r9d, byte [rbx + r8]
shr r8, 3
test byte [r8 + r11], dl
jne 0x140063e90
mov ecx, r9d
jmp 0x140063f1a
mov rax, qword [rdi + 0x40]
mov ecx, ebp
mov edx, dword [rax + rcx*4]
cmp r9b, 7
jae 0x140063edc
cmp edx, r13d
jae 0x140063eae
movzx ecx, byte [rdx + rdi + 0x47c]
jmp 0x140063ed3
cmp edx, 0x80000
jae 0x140063eca
mov rax, rdx
shr rax, 9
movzx ecx, byte [rax + rdi + 0x47c]
add ecx, 0x12
jmp 0x140063ed3
shr edx, 0x11
movzx ecx, dl
add ecx, 0x22
lea ecx, [rcx + 0x20]
lea ecx, [r9 + rcx*8]
jmp 0x140063f17
cmp edx, r13d
jae 0x140063eeb
movzx ecx, byte [rdx + rdi + 0x47c]
jmp 0x140063f10
cmp edx, 0x80000
jae 0x140063f07
mov rax, rdx
shr rax, 9
movzx ecx, byte [rax + rdi + 0x47c]
add ecx, 0x12
jmp 0x140063f10
shr edx, 0x11
movzx ecx, dl
add ecx, 0x22
lea ecx, [rcx*8 + 0x107]
add ebp, r12d
movsxd rax, ecx
add r14d, r12d
add word [rsp + rax*2 + 0x660], r12w
sub r10, r12
jne 0x140063db0
mov eax, dword [rdi + 0x8a0]
xor r8d, r8d
lea eax, [rax*8 + 0x100]
test eax, eax
je 0x140063fd0
mov r9d, r8d
mov r10d, eax
mov ebx, 0x100
lea r11, [0x140000000]
movzx eax, word [rsp + r9 + 0x20]
cmp ax, bx
jae 0x140063f72
movzx edx, byte [rax + r11 + 0xa9890]
jmp 0x140063f83
shr rax, 8
movzx edx, byte [rax + r11 + 0xa9890]
add rdx, 8
movzx eax, word [rsp + r9 + 0x660]
cmp ax, bx
jae 0x140063f9c
movzx ecx, byte [rax + r11 + 0xa9890]
jmp 0x140063fad
shr rax, 8
movzx ecx, byte [rax + r11 + 0xa9890]
add rcx, 8
mov eax, dword [r11 + rdx*4 + 0xa9840]
add r9, 2
mov ecx, dword [r11 + rcx*4 + 0xa9840]
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
add r8d, eax
sub r10, r12
jne 0x140063f5c
mov eax, r8d
mov rcx, qword [rsp + 0xca0]
xor rcx, rsp
call fcn.140096bd0
add rsp, 0xcb8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret