Function at 0x1400b7af0
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, 0x78
movzx r9d, byte [rcx + 0x10]
cmp r9b, 0x80
je 0x1400b7b27
movzx eax, byte [rcx + 0x1a]
movzx r8d, byte [rcx + 0x1b]
movzx r10d, byte [rcx + 0x19]
mov byte [rsp + 0x70], r10b
mov r10, qword [rcx + 0x11]
mov qword [rsp + 0x68], r10
mov rbx, qword [rcx]
mov r15, qword [rcx + 8]
movzx ebp, byte [rcx + 0x1c]
cmp bpl, 0x80
je 0x1400b7b55
movzx r13d, byte [rcx + 0x26]
movzx r11d, byte [rcx + 0x27]
movzx r10d, byte [rcx + 0x25]
mov byte [rsp + 0x38], r10b
mov rcx, qword [rcx + 0x1d]
mov qword [rsp + 0x30], rcx
movzx ecx, byte [rsp + 0x70]
mov byte [rsp + 0x59], cl
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x51], rcx
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x5d], rcx
movzx ecx, byte [rsp + 0x38]
mov byte [rsp + 0x65], cl
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], r15
mov byte [rsp + 0x50], r9b
mov byte [rsp + 0x5a], al
mov byte [rsp + 0x5b], r8b
mov byte [rsp + 0x5c], bpl
mov byte [rsp + 0x66], r13b
mov byte [rsp + 0x2f], r11b
mov byte [rsp + 0x67], r11b
mov rsi, qword [rdx + 0x20]
mov r14, qword [rdx + 0x28]
cmp r9b, 0x80
jne 0x1400b7db8
test rbx, rbx
je 0x1400b7dee
cmp rbx, r15
je 0x1400b7dee
mov byte [rsp + 0x2e], r13b
movzx eax, byte [rbx]
test al, al
js 0x1400b7be0
inc rbx
jmp 0x1400b7c50
mov ecx, eax
and ecx, 0x1f
movzx r8d, byte [rbx + 1]
and r8d, 0x3f
cmp al, 0xdf
jbe 0x1400b7c29
movzx edx, byte [rbx + 2]
shl r8d, 6
and edx, 0x3f
or edx, r8d
cmp al, 0xf0
jb 0x1400b7c37
movzx eax, byte [rbx + 3]
and ecx, 7
shl ecx, 0x12
shl edx, 6
and eax, 0x3f
or eax, edx
or eax, ecx
cmp eax, 0x110000
je 0x1400b7dee
add rbx, 4
jmp 0x1400b7c50
add rbx, 2
shl ecx, 6
or ecx, r8d
mov eax, ecx
jmp 0x1400b7c50
add rbx, 3
shl ecx, 0xc
or edx, ecx
mov eax, edx
nop word cs:[rax + rax]
mov cl, 2
mov dx, 0x5c
lea r8d, [rax - 9]
cmp r8d, 0x1e
ja case.default.0x1400b7c6e
lea r9, [0x1400e3d68]
movsxd r8, dword [r9 + r8*4]
add r8, r9
jmp r8
mov ax, 0x74
jmp case.0x1400b7c6e.34
cmp eax, 0x5c
je case.0x1400b7c6e.34
lea ecx, [rax - 0x20]
cmp ecx, 0x5f
jae 0x1400b7d14
mov cl, 1
xor r8d, r8d
mov edx, eax
xor eax, eax
jmp 0x1400b7ca3
mov ax, 0x6e
jmp case.0x1400b7c6e.34
mov ax, 0x72
nop dword [rax]
xor r8d, r8d
xor r9d, r9d
shl eax, 8
movzx edx, dl
or edx, eax
mov word [rsp + 0x50], dx
mov qword [rsp + 0x52], r8
mov byte [rsp + 0x5b], cl
movzx edi, r9b
movzx r12d, cl
mov r13d, edi
inc r13b
nop word [rax + rax]
cmp rdi, r12
jae 0x1400b7d00
mov byte [rsp + 0x5a], r13b
movzx edx, byte [rsp + rdi + 0x50]
inc rdi
mov rcx, rsi
call qword [r14 + 0x20]
inc r13b
test al, al
je 0x1400b7cd0
jmp 0x1400b7de9
cmp rbx, r15
movzx r13d, byte [rsp + 0x2e]
jne 0x1400b7bd0
jmp 0x1400b7dee
mov byte [rsp + 0x32], 0
mov word [rsp + 0x30], 0
mov byte [rsp + 0x39], 0x7d
mov ecx, eax
shr ecx, 0x14
lea rdx, [0x1400e7fad]
movzx ecx, byte [rcx + rdx]
mov byte [rsp + 0x33], cl
mov ecx, eax
shr ecx, 0x10
and ecx, 0xf
movzx ecx, byte [rcx + rdx]
mov byte [rsp + 0x34], cl
mov ecx, eax
shr ecx, 0xc
and ecx, 0xf
movzx ecx, byte [rcx + rdx]
mov byte [rsp + 0x35], cl
mov ecx, eax
shr ecx, 8
and ecx, 0xf
movzx ecx, byte [rcx + rdx]
mov byte [rsp + 0x36], cl
mov ecx, eax
shr ecx, 4
and ecx, 0xf
movzx ecx, byte [rcx + rdx]
mov byte [rsp + 0x37], cl
mov ecx, eax
and ecx, 0xf
movzx ecx, byte [rcx + rdx]
mov byte [rsp + 0x38], cl
or eax, 1
bsr eax, eax
xor eax, 0x1c
shr eax, 2
lea r9, [rax - 2]
mov byte [rsp + rax + 0x30], 0x7b
mov word [rsp + rax + 0x2e], 0x755c
movzx edx, word [rsp + 0x30]
mov eax, edx
shr eax, 8
mov r8, qword [rsp + 0x32]
mov cl, 0xa
jmp 0x1400b7ca6
movzx edi, al
movzx r12d, r8b
nop
cmp rdi, r12
jae 0x1400b7bb9
lea eax, [rdi + 1]
mov byte [rsp + 0x5a], al
cmp rdi, 0xa
jae 0x1400b7e4c
movzx edx, byte [rsp + rdi + 0x50]
mov rcx, rsi
call qword [r14 + 0x20]
inc rdi
test al, al
je 0x1400b7dc0
mov dil, 1
jmp 0x1400b7e39
cmp bpl, 0x80
jne 0x1400b7df8
xor edi, edi
jmp 0x1400b7e39
movzx ebx, r13b
movzx r15d, byte [rsp + 0x2f]
nop word cs:[rax + rax]
cmp rbx, r15
setb dil
jae 0x1400b7e39
lea eax, [rbx + 1]
mov byte [rsp + 0x66], al
cmp rbx, 0xa
jae 0x1400b7e62
movzx edx, byte [rsp + rbx + 0x5c]
mov rcx, rsi
call qword [r14 + 0x20]
inc rbx
test al, al
je 0x1400b7e10
mov eax, edi
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r8, [0x1400e8010]
mov edx, 0xa
mov rcx, rdi
call dbg.panic_bounds_check
ud2
lea r8, [0x1400e8010]
mov edx, 0xa
mov rcx, rbx
call dbg.panic_bounds_check
ud2