Function at 0x1401173f0
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, 0xe8
mov byte [rsp + 0x23], r8b
mov r14, rdx
mov rsi, rcx
mov rax, rdx
shld rax, rcx, 0x3f
mov r8, rdx
shr r8, 1
add r8, rax
adc r8, 0
movabs r10, 0xcccccccccccccccd
mov rax, r8
mul r10
mov rcx, qword [rsp + 0x150]
xor r13d, r13d
cmp rsi, 0xa
mov rax, r14
sbb rax, 0
movabs r11, 0xcccccccccccccccc
mov byte [rsp + 0x24], r9b
jb 0x140117512
shr rdx, 2
lea rax, [rdx + rdx*4]
sub r8, rax
mov eax, esi
and eax, 1
lea rax, [rax + r8*2]
test rax, rax
jne 0x140117512
xor r13d, r13d
nop
mov r9, r14
mov rdi, rsi
mov rsi, r14
shld rsi, rdi, 0x3f
shr r14, 1
mov r8, rsi
add r8, r14
adc r8, 0
mov rax, r8
mul r10
shr rdx, 2
lea rax, [rdx + rdx*4]
sub r8, rax
sub rsi, r8
sbb r14, 0
mov r8, rsi
imul r8, r11
mov rax, rsi
mul r10
add rdx, r8
imul r14, r10
add r14, rdx
inc r13
mov rdx, r14
mov rsi, rax
shld rdx, rax, 0x3f
mov r8, r14
shr r8, 1
add r8, rdx
adc r8, 0
mov rax, r8
mul r10
cmp rdi, 0x64
sbb r9, 0
jb 0x140117512
shr rdx, 2
lea rax, [rdx + rdx*4]
sub r8, rax
mov eax, esi
and eax, 1
lea rax, [rax + r8*2]
test rax, rax
je 0x140117480
cmp qword [rcx + 0x10], 0
je 0x14011759c
mov rbx, qword [rcx + 0x18]
cmp rsi, 0xa
mov rax, r14
sbb rax, 0
jb 0x1401175a3
xor r15d, r15d
mov r12d, 0x63
mov rdi, rsi
mov rcx, r14
mov rbp, r14
mov r8, rcx
shld r8, rdi, 0x3f
shr rbp, 1
mov r9, r8
add r9, rbp
adc r9, 0
mov rax, r9
mul r10
shr rdx, 2
lea rax, [rdx + rdx*4]
sub r9, rax
sub r8, r9
sbb rbp, 0
mov r9, r8
imul r9, r11
mov rax, r8
mul r10
add rdx, r9
imul rbp, r10
add rbp, rdx
inc r15
cmp r12, rdi
mov edx, 0
sbb rdx, rcx
mov rdi, rax
mov rcx, rbp
jb 0x140117540
jmp 0x1401175a6
xor edi, edi
jmp 0x1401176cb
xor r15d, r15d
xor eax, eax
mov rdi, rbx
sub rdi, r15
cmovb rdi, rax
mov r9, r15
sub r9, rbx
cmovb r9, rax
cmp r9, 2
jb 0x140117639
add r9, r13
cmp r15, rbx
mov r12, rbx
cmovb r12, r15
not r12
add r12, r15
mov rcx, qword [rsp + 0x150]
nop dword [rax]
shrd rsi, r14, 1
shr r14, 1
mov r8, rsi
add r8, r14
adc r8, 0
mov rax, r8
mul r10
shr rdx, 2
lea rax, [rdx + rdx*4]
sub r8, rax
sub rsi, r8
sbb r14, 0
mov r8, rsi
imul r8, r11
mov rax, rsi
mul r10
add rdx, r8
imul r14, r10
add r14, rdx
mov rsi, rax
dec r12
jne 0x1401175e0
dec r9
mov r13, r9
cmp r15, rbx
ja 0x14011764a
jmp 0x1401176cb
mov rcx, qword [rsp + 0x150]
cmp r15, rbx
jbe 0x1401176cb
mov r8, r14
shld r8, rsi, 0x3f
mov rbx, r14
shr rbx, 1
mov r9, r8
add r9, rbx
adc r9, 0
mov rax, r9
mul r10
shr rdx, 2
lea rax, [rdx + rdx*4]
sub r9, rax
sub r8, r9
sbb rbx, 0
imul r11, r8
mov rax, r8
mul r10
mov r8, rax
mov r9, rdx
add r9, r11
imul rbx, r10
lea rax, [r9 + rbx]
lea r10, [rax + rax*4]
mov edx, 0xa
mov rax, r8
mul rdx
lea rdx, [rdx + r10*2]
sub rsi, rax
sbb r14, rdx
inc r13
xor eax, eax
mov edx, 4
cmp rdx, rsi
sbb rax, r14
adc r8, 0
adc rbx, r9
mov rsi, r8
mov r14, rbx
cmp rsi, 0x64
mov rax, r14
sbb rax, 0
jb 0x140117782
mov qword [rsp + 0x28], rdi
xor ebx, ebx
lea r12, [rsp + 0x30]
lea r15, [0x140158644]
mov edi, 0x270f
nop word cs:[rax + rax]
mov rbp, rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x30], 0x64
mov qword [rsp + 0x38], 0
lea rcx, [rsp + 0x40]
mov rdx, r12
call dbg.__udivti3
pshufd xmm1, xmm0, 0xee
movq rsi, xmm0
imul rax, rsi, 0x64
mov rdx, rbp
sub rdx, rax
movzx eax, word [r15 + rdx*2]
mov word [rsp + rbx + 0xe6], ax
add rbx, 0xfffffffffffffffe
cmp rdi, rbp
mov eax, 0
sbb rax, r14
movq r14, xmm1
jb 0x140117700
mov rax, r13
sub rax, rbx
add rbx, 0x28
mov rcx, qword [rsp + 0x150]
mov rdi, qword [rsp + 0x28]
cmp rsi, 9
ja 0x140117790
jmp 0x1401177b8
mov ebx, 0x28
mov rax, r13
cmp rsi, 9
jbe 0x1401177b8
movzx edx, sil
imul esi, edx, 0xcd
shr esi, 0xb
lea r8d, [rsi + rsi]
lea r8d, [r8 + r8*4]
sub dl, r8b
or dl, 0x30
mov byte [rsp + rbx + 0xbf], dl
dec rbx
inc rax
cmp rax, r13
jne 0x1401177c2
test rdi, rdi
je 0x1401177cd
mov byte [rsp + rbx + 0xbf], 0x2e
dec rbx
movzx r9d, byte [rsp + 0x23]
lea r8, [rsp + 0xc0]
lea rdx, [rbx + r8]
dec rdx
add sil, 0x30
mov byte [rbx + r8 - 1], sil
movzx r8d, byte [rsp + 0x24]
xor r8b, 1
shl r8b, 5
or r8b, 0x45
mov byte [rsp + 0x25], r8b
cmp rax, 0xa
jae 0x140117815
add al, 0x30
mov byte [rsp + 0x26], al
mov eax, 2
jmp 0x14011782b
lea r8, [0x140158644]
movzx eax, word [r8 + rax*2]
mov word [rsp + 0x26], ax
mov eax, 3
mov r8d, 0x29
sub r8, rbx
mov word [rsp + 0x78], 2
mov qword [rsp + 0x80], rdx
mov qword [rsp + 0x88], r8
mov word [rsp + 0x90], 0
mov qword [rsp + 0x98], rdi
mov word [rsp + 0xa8], 2
lea rdx, [rsp + 0x25]
mov qword [rsp + 0xb0], rdx
mov qword [rsp + 0xb8], rax
mov eax, dword [rcx + 0x34]
and eax, 1
lea r8, str.librarycore_src_num_f32.rs
lea rdx, [0x140157449]
cmove rdx, r8
lea r8, str._NaNinf00e00E0e0E0
test r9b, r9b
cmovne r8, rdx
mov edx, 1
cmovne rdx, rax
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x60], rdx
lea rax, [rsp + 0x78]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], 3
lea rdx, [rsp + 0x58]
call dbg.pad_formatted_parts
nop
add rsp, 0xe8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret