Function at 0x140392b40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x40
mov ebx, r9d
mov edi, r8d
mov rsi, rdx
mov rax, qword [0x1404fe040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rcx
movsx eax, byte [rcx]
cmp eax, 0x40
setl cl
lea edx, [rax - 0x30]
cmp edx, 0xa
setb dl
test cl, dl
jne 0x140392bab
movzx eax, al
xor ebp, ebp
add eax, 0xffffffd2
cmp eax, 0x38
ja 0x140392c57
movabs rcx, 0x1f8000001f80000
bt rcx, rax
jae 0x140392c35
lea rcx, [rsp + 0x28]
lea r9, [rsp + 0x30]
mov edx, edi
mov r8d, 0x10
call fcn.140392a20
test al, al
jne 0x140392c55
lea r14, [rsp + 0x28]
lea r15, [rsp + 0x30]
movabs r12, 0x1f8000001f80000
jmp 0x140392bf7
mov rcx, r14
mov edx, edi
mov r8d, 0x10
mov r9, r15
call fcn.140392a20
test al, al
jne 0x140392c55
mov rax, qword [rsp + 0x28]
movsx eax, byte [rax]
cmp eax, 0x40
setl cl
lea edx, [rax - 0x30]
cmp edx, 0xa
setb dl
test cl, dl
jne 0x140392be0
movzx ecx, al
add ecx, 0xffffffd2
cmp ecx, 0x38
ja 0x140392d3e
bt r12, rcx
jb 0x140392be0
test rcx, rcx
jne 0x140392d3e
mov bpl, 1
jmp 0x140392c3a
test rax, rax
jne 0x140392c57
lea rcx, [rsp + 0x28]
lea r9, [rsp + 0x30]
mov edx, edi
mov r8d, 0x10
call fcn.140392a20
test al, al
je 0x140392c7f
xor ebp, ebp
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
cmp rcx, qword [0x1404fe040]
je 0x140392c6e
call fcn.140297b50
int3
mov eax, ebp
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rax, qword [rsp + 0x28]
movsx eax, byte [rax]
cmp eax, 0x40
setl cl
lea edx, [rax - 0x30]
cmp edx, 0xa
setb dl
test cl, dl
jne 0x140392cb9
movzx ecx, al
add ecx, 0xffffffbf
cmp ecx, 0x25
ja 0x140392d35
movabs rdx, 0x3f0000003f
bt rdx, rcx
jae 0x140392d35
lea rcx, [rsp + 0x28]
lea r9, [rsp + 0x30]
mov edx, edi
mov r8d, 0x10
call fcn.140392a20
test al, al
jne 0x140392c55
lea r14, [rsp + 0x28]
lea r15, [rsp + 0x30]
movabs r12, 0x3f0000003f
xor ebp, ebp
jmp 0x140392d07
mov rcx, r14
mov edx, edi
mov r8d, 0x10
mov r9, r15
call fcn.140392a20
test al, al
jne 0x140392c57
mov rax, qword [rsp + 0x28]
movsx eax, byte [rax]
cmp eax, 0x40
setl cl
lea edx, [rax - 0x30]
cmp edx, 0xa
setb dl
test cl, dl
jne 0x140392cec
movzx ecx, al
add ecx, 0xffffffbf
cmp ecx, 0x25
ja 0x140392d3e
bt r12, rcx
jb 0x140392cec
jmp 0x140392d3e
test bpl, bpl
je 0x140392c55
movzx eax, al
or eax, 0x20
cmp eax, 0x70
jne 0x140392c55
lea rcx, [rsp + 0x28]
lea r9, [rsp + 0x30]
mov edx, edi
mov r8d, 0x10
call fcn.140392a20
test al, al
jne 0x140392c55
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
cmp eax, 0x2d
je 0x140392d7e
cmp eax, 0x2b
jne 0x140392da4
lea rcx, [rsp + 0x28]
lea r9, [rsp + 0x30]
mov edx, edi
mov r8d, 0x10
call fcn.140392a20
test al, al
jne 0x140392c55
mov rax, qword [rsp + 0x28]
mov al, byte [rax]
xor ebp, ebp
cmp al, 0x39
jg 0x140392c57
movsx eax, al
add eax, 0xffffffd0
cmp eax, 9
ja 0x140392c57
lea rcx, [rsp + 0x28]
lea r9, [rsp + 0x30]
mov edx, edi
mov r8d, 0x10
call fcn.140392a20
mov bpl, 1
test al, al
jne 0x140392c57
lea r14, [rsp + 0x28]
lea r15, [rsp + 0x30]
mov rax, qword [rsp + 0x28]
movsx ecx, byte [rax]
cmp ecx, 0x39
jg 0x140392e1a
add ecx, 0xffffffd0
cmp ecx, 9
ja 0x140392e1a
mov rcx, r14
mov edx, edi
mov r8d, 0x10
mov r9, r15
call fcn.140392a20
test al, al
je 0x140392de9
jmp 0x140392c57
cmp rax, rsi
sete cl
or bl, cl
jne 0x140392c57
jmp 0x140392e36
inc rax
cmp rax, rsi
je 0x140392c57
movzx ecx, byte [rax]
lea edx, [rcx - 9]
cmp edx, 5
jb 0x140392e2a
cmp ecx, 0x20
je 0x140392e2a
jmp 0x140392c55