Function at 0x140044830
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
movaps xmmword [rsp + 0x60], xmm6
mov r12, rdx
mov r13, rcx
mov rax, qword [0x1400e3028]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp byte [rdx + 0x17], 0
js 0x140044ae2
mov word [r12], 0
mov byte [r12 + 0x17], 0
cmp byte [r8 + 0x17], 0
js 0x140044af9
mov word [r8], 0
mov byte [r8 + 0x17], 0
movzx eax, byte [r13 + 0x17]
mov esi, eax
and esi, 0x7f
test al, al
mov r15, qword [r13]
cmovns r15, r13
cmovs rsi, qword [r13 + 8]
movzx eax, byte [0x1400f4fb8]
and eax, 1
neg rax
cmp rax, 0xfffffffffffffffd
je 0x140044ac8
mov qword [rsp + 0x38], r8
xor ebp, ebp
lea rcx, [0x1400d2090]
movabs rdx, 0xaaaaaaaaaaaaaaaa
movaps xmm6, xmmword [0x1400cfa30]
lea rdi, [rsp + 0x40]
mov rax, rbp
shl rax, 4
mov qword [rsp + 0x50], rdx
movaps xmmword [rsp + 0x40], xmm6
mov rdx, qword [rax + rcx]
mov rbx, qword [rax + rcx + 8]
mov byte [rsp + 0x57], bl
lea r8, [rbx + rbx]
mov rcx, rdi
call fcn.140063700
mov word [rsp + rbx*2 + 0x40], 0
movzx eax, byte [rsp + 0x57]
test al, al
jns 0x14004491c
mov rcx, qword [rsp + 0x48]
jmp 0x140044921
mov ecx, eax
and ecx, 0x7f
cmp rcx, rsi
ja 0x14004499a
mov r14b, 1
test rcx, rcx
je 0x140044acc
mov rdx, rdi
test al, al
jns 0x14004493e
mov rdx, qword [rsp + 0x40]
xor ebx, ebx
movzx edi, word [r15 + rbx*2]
cmp di, word [rdx + rbx*2]
jne 0x14004499a
inc rbx
cmp rcx, rbx
jne 0x140044940
mov rdi, rcx
test al, al
js 0x140044ad3
test r14b, r14b
jne 0x1400449a4
mov qword [rsp + 0x30], rdi
inc rbp
movzx eax, byte [0x1400f4fb8]
xor rax, 3
cmp rbp, rax
lea rcx, [0x1400d2090]
movabs rdx, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x40]
jb 0x1400448db
jmp 0x140044ac8
xor r14d, r14d
mov rdi, qword [rsp + 0x30]
jmp 0x140044956
test rdi, rdi
je 0x140044ac8
movzx edx, byte [r13 + 0x17]
test dl, dl
jns 0x1400449bc
mov rax, qword [r13 + 8]
jmp 0x1400449c1
mov eax, edx
and eax, 0x7f
cmp rdi, rax
je 0x140044ac8
mov rcx, r13
test dl, dl
jns 0x1400449d5
mov rcx, qword [r13]
lea rbp, [rcx + rax*2]
mov rdx, rbp
test rax, rax
jle 0x140044a09
btr rax, 0x3f
mov rdx, rcx
nop dword [rax]
cmp word [rdx], 0x3d
je 0x140044a04
add rdx, 2
dec rax
jne 0x1400449f0
mov rdx, rbp
jmp 0x140044a09
test rdx, rdx
je 0x1400449ff
mov rax, rdx
sub rax, rcx
sar rax, 1
cmp rdx, rbp
mov rsi, 0xffffffffffffffff
cmovne rsi, rax
lea rbp, [r13 + 0x18]
mov qword [rsp + 0x20], rbp
lea rcx, [rsp + 0x40]
mov rdx, r13
xor r8d, r8d
mov r9, rsi
call fcn.140025250
cmp byte [r12 + 0x17], 0
js 0x140044b0e
mov rax, qword [rsp + 0x50]
mov qword [r12 + 0x10], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [r12], xmm0
mov bl, 1
cmp rsi, 0xffffffffffffffff
je 0x140044aa3
inc rsi
mov qword [rsp + 0x20], rbp
lea rcx, [rsp + 0x40]
mov rdx, r13
mov r8, rsi
mov r9, 0xffffffffffffffff
call fcn.140025250
mov rsi, qword [rsp + 0x38]
cmp byte [rsi + 0x17], 0
js 0x140044b1c
mov rax, qword [rsp + 0x50]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi], xmm0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140061c90
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor ebx, ebx
jmp 0x140044aa3
xor edi, edi
jmp 0x140044956
mov rcx, qword [rsp + 0x40]
call fcn.140060988
jmp 0x14004495e
mov rax, qword [r12]
mov word [rax], 0
mov qword [r12 + 8], 0
jmp 0x140044871
mov rax, qword [r8]
mov word [rax], 0
mov qword [r8 + 8], 0
jmp 0x140044887
mov rcx, qword [r12]
call fcn.140060988
jmp 0x140044a48
mov rcx, qword [rsi]
call fcn.140060988
jmp 0x140044a92