Function at 0x1400bdcf4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x140124d60]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0xd0]
xor r13d, r13d
mov rsi, r9
mov qword [rsp + 0x20], r8
mov rbx, rdx
mov qword [rsp + 0x28], rcx
lea ebp, [rax + rax*8]
lea eax, [r13 + 0x2d]
cmp ebp, eax
cmovg ebp, eax
and dword [r9], r13d
and dword [r9 + 4], r13d
xor r15d, r15d
mov al, byte [rdx]
cmp al, 0x30
jne 0x1400bdd5a
lea r15d, [r13 + 1]
inc rbx
mov al, byte [rbx]
cmp al, 0x30
je 0x1400bdd51
movzx ecx, al
xor edi, edi
movsxd r12, ebp
call qword [sym.imp.msvcrt.dll_isdigit]
test eax, eax
je 0x1400bdd9a
xor r14d, r14d
lea r15d, [rdi + 1]
cmp r14, r12
jg 0x1400bdd88
mov al, byte [rbx]
inc edi
sub al, 0x30
mov byte [rsp + r14 + 0x30], al
inc r14
jmp 0x1400bdd8a
inc dword [rsi]
inc rbx
movzx ecx, byte [rbx]
call qword [sym.imp.msvcrt.dll_isdigit]
test eax, eax
jne 0x1400bdd73
call qword [sym.imp.msvcrt.dll_localeconv]
lea rdx, [rbx + 1]
mov rcx, qword [rax]
mov al, byte [rbx]
cmp al, byte [rcx]
cmovne rdx, rbx
mov rbx, rdx
test edi, edi
jne 0x1400bddc9
cmp byte [rdx], 0x30
jne 0x1400bddc9
lea r15d, [rdi + 1]
dec dword [rsi]
inc rbx
cmp byte [rbx], 0x30
je 0x1400bddbf
movzx ecx, byte [rbx]
call qword [sym.imp.msvcrt.dll_isdigit]
test eax, eax
je 0x1400bde04
movsxd r14, edi
mov r15d, 1
cmp r14, r12
jg 0x1400bddf4
mov al, byte [rbx]
inc edi
sub al, 0x30
mov byte [rsp + r14 + 0x30], al
inc r14
dec dword [rsi]
inc rbx
movzx ecx, byte [rbx]
call qword [sym.imp.msvcrt.dll_isdigit]
test eax, eax
jne 0x1400bdddf
cmp ebp, edi
jge 0x1400bde1a
cmp byte [rsp + rbp + 0x30], 5
jl 0x1400bde16
lea eax, [rbp - 1]
inc byte [rsp + rax + 0x30]
inc dword [rsi]
mov edi, ebp
movsxd rax, edi
test edi, edi
jle 0x1400bde36
cmp byte [rsp + rax + 0x2f], r13b
jne 0x1400bde34
inc dword [rsi]
dec edi
dec rax
test rax, rax
jg 0x1400bde21
test edi, edi
jne 0x1400bde42
mov edi, 1
mov byte [rsp + 0x30], r13b
test r15d, r15d
je 0x1400bdf40
mov ebp, 0x38e38e39
mov eax, ebp
imul edi
sar edx, 1
mov eax, edx
inc edx
shr eax, 0x1f
add eax, edx
lea r10d, [rax + rax*8]
mov eax, ebp
sub r10d, edi
movsxd rdi, edi
imul r10d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*8]
cmp r10d, eax
setne r13b
test rdi, rdi
jle 0x1400bdece
mov r8d, r13d
xor r9d, r9d
movsx r11d, byte [rsp + r9 + 0x30]
mov eax, ebp
imul r10d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea ecx, [rdx + rdx*8]
cmp r10d, ecx
jne 0x1400bdeb4
inc r13d
inc r8
mov dword [rsi + r8*4], r11d
jmp 0x1400bdec3
mov eax, dword [rsi + r8*4]
lea ecx, [rax + rax*4]
lea eax, [r11 + rcx*2]
mov dword [rsi + r8*4], eax
inc r10d
inc r9
cmp r9, rdi
jl 0x1400bde8c
mov al, byte [rbx]
sub al, 0x45
test al, 0xdf
jne 0x1400bdf40
mov r12, rbx
mov bpl, 0x2b
inc rbx
mov cl, byte [rbx]
mov al, cl
sub al, bpl
test al, 0xfd
jne 0x1400bdef2
inc rbx
mov bpl, cl
mov cl, byte [rbx]
movzx ecx, cl
xor r14d, r14d
xor edi, edi
call qword [sym.imp.msvcrt.dll_isdigit]
test eax, eax
je 0x1400bdf2c
lea r14d, [rdi + 1]
cmp edi, 0x5f5e100
jge 0x1400bdf1c
movzx eax, byte [rbx]
lea edi, [rdi + rdi*4]
lea edi, [rdi - 0x18]
lea edi, [rax + rdi*2]
inc rbx
movzx ecx, byte [rbx]
call qword [sym.imp.msvcrt.dll_isdigit]
test eax, eax
jne 0x1400bdf08
mov eax, edi
neg eax
cmp bpl, 0x2d
cmovne eax, edi
add dword [rsi], eax
test r14d, r14d
cmove rbx, r12
mov rdx, qword [rsp + 0x20]
mov eax, r15d
neg eax
sbb eax, eax
and eax, r13d
test rdx, rdx
je 0x1400bdf63
mov rcx, qword [rsp + 0x28]
test r15d, r15d
cmovne rcx, rbx
mov qword [rdx], rcx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400c0e50
mov rbx, qword [rsp + 0xb0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret