Function at 0x14003ed30
Capabilities:
Encrypt data using rc4 prga
Hash data using sha256

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x140264330]
xor rax, rsp
mov qword [rbp + 0x20], rax
movzx r15d, byte [rbp + 0x88]
mov r14, qword [rbp + 0x80]
xor edx, edx
mov qword [rbp - 0x20], rdx
mov rsi, rcx
mov rbx, r8
mov byte [rbp - 0x20], r15b
mov byte [rbp - 0x1f], r9b
mov word [rbp - 0x1e], 0x101
lea rax, [rsp + 0x20]
lea ecx, [rdx + 2]
nop word [rax + rax]
mov qword [rax], rdx
mov qword [rax + 8], rdx
mov qword [rax + 0x10], rdx
lea rax, [rax + 0x40]
mov qword [rax - 0x28], rdx
mov qword [rax - 0x20], rdx
mov qword [rax - 0x18], rdx
mov qword [rax - 0x10], rdx
mov qword [rax - 8], rdx
dec rcx
jne 0x14003ed90
mov qword [rax], rdx
mov qword [rax + 8], rdx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], rdx
mov qword [rax + 0x20], rdx
mov qword [rax + 0x28], rdx
mov rax, qword [rbp - 0x20]
movzx edi, r9b
mov dword [rbp - 0x30], edx
xor rax, qword [0x1401e1530]
mov qword [rbp - 0x20], rdx
mov qword [rbp - 0x18], rdx
mov qword [rsp + 0x20], rax
mov rax, qword [0x1401e1538]
mov qword [rbp - 0x10], rdx
mov qword [rsp + 0x28], rax
mov rax, qword [0x1401e1540]
mov qword [rbp - 8], rdx
mov qword [rsp + 0x30], rax
mov rax, qword [0x1401e1548]
mov qword [rbp], rdx
mov qword [rsp + 0x38], rax
mov eax, edi
mov qword [rbp + 8], rdx
shr eax, 3
mov qword [rbp + 0x10], rdx
mov qword [rbp + 0x18], rdx
test eax, eax
je 0x14003ee46
mov r8d, eax
lea rcx, [rbp - 0x20]
mov rdx, rbx
shl r8, 3
call sub.MSVCR120.dll_memcpy
mov eax, edi
and eax, 7
je 0x14003ee71
mov r8d, edi
sub r8d, eax
cmp r8d, edi
jae 0x14003ee71
mov eax, r8d
sub edi, r8d
lea rdx, [r8 + rbx]
lea rcx, [rbp - 0x20]
mov r8d, edi
add rcx, rax
call sub.MSVCR120.dll_memcpy
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x20]
call fcn.14003eb60
lea rcx, [rsp + 0x20]
mov rdx, rsi
call fcn.14003eb60
mov eax, dword [rbp - 0x30]
cmp eax, 0x40
jbe 0x14003ef13
add dword [rsp + 0x40], 0x40
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.14003d300
mov eax, dword [rbp - 0x30]
add eax, 0xffffffc0
mov edx, eax
mov dword [rbp - 0x30], eax
mov edi, eax
shr edx, 3
test edx, edx
je 0x14003eed5
lea rcx, [rsp + 0x50]
mov rax, qword [rcx + 0x40]
lea rcx, [rcx + 8]
mov qword [rcx - 8], rax
dec rdx
jne 0x14003eec1
mov eax, dword [rbp - 0x30]
mov ecx, edi
and ecx, 7
je 0x14003ef13
mov edx, edi
sub edx, ecx
cmp edx, edi
jae 0x14003ef13
mov eax, edx
lea rcx, [rsp + 0x50]
add rcx, rax
sub edi, edx
mov edx, edi
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx + 0x40]
lea rcx, [rcx + 1]
mov byte [rcx - 1], al
dec rdx
jne 0x14003ef00
mov eax, dword [rbp - 0x30]
add dword [rsp + 0x40], eax
mov edx, 0x80
lea r8, [rsp + 0x50]
sub edx, eax
add r8, rax
mov dword [rsp + 0x48], 0xffffffff
mov eax, edx
shr eax, 3
test eax, eax
je 0x14003ef41
mov ecx, eax
mov rdi, r8
xor eax, eax
rep stosq qword [rdi], rax
mov eax, edx
and eax, 7
je 0x14003ef5d
mov ecx, edx
sub ecx, eax
cmp ecx, edx
jae 0x14003ef5d
mov edi, ecx
sub edx, ecx
add rdi, r8
xor eax, eax
mov ecx, edx
rep stosb byte [rdi], al
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.14003d300
movzx edi, r15b
mov eax, edi
shr eax, 3
test eax, eax
je 0x14003ef8d
mov r8d, eax
lea rdx, [rsp + 0x20]
mov rcx, r14
shl r8, 3
call sub.MSVCR120.dll_memcpy
mov eax, edi
and eax, 7
je 0x14003efb9
mov r8d, edi
sub r8d, eax
cmp r8d, edi
jae 0x14003efb9
mov eax, r8d
sub edi, r8d
lea rcx, [r8 + r14]
lea rdx, [rsp + 0x20]
mov r8d, edi
add rdx, rax
call sub.MSVCR120.dll_memcpy
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1401bb2c0
mov rbx, qword [rsp + 0x168]
add rsp, 0x130
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret