Function at 0x14019f6b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x140479080]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
mov r11, qword [rcx + 0x10]
mov r8, r11
cmp byte [r11], 0
je 0x14019f884
xor r14d, r14d
nop dword [rax]
mov rcx, rsi
movzx eax, byte [rsi]
test al, al
je 0x14019f722
movzx edx, byte [r8]
nop
cmp dl, al
je 0x14019f8ef
inc rcx
movzx eax, byte [rcx]
test al, al
jne 0x14019f710
mov r8, qword [rbx + 0x10]
movzx ecx, byte [r8]
mov r9, r8
cmp cl, byte [rbx + 0x91]
jne 0x14019f7b3
test rdi, rdi
je 0x14019f789
sub r8, r11
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x30], 0
mov rdx, r11
lea rcx, [rbp - 0x30]
call fcn.14000b830
nop
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rdx, qword [rbp - 0x30]
mov r8, qword [rbp - 0x20]
mov rcx, rdi
call fcn.14000b980
nop
lea rcx, [rbp - 0x30]
call fcn.14000b5d0
mov r9, qword [rbx + 0x10]
mov r8, r9
movzx ecx, byte [r9]
mov r11, r8
test cl, cl
je 0x14019f7ac
cmp cl, 0xa
jne 0x14019f79d
inc dword [rbx + 0x20]
inc dword [rbx + 0x24]
jmp 0x14019f7a1
mov dword [rbx + 0x24], r14d
lea r11, [r8 + 1]
mov qword [rbx + 0x10], r11
mov r9, r11
mov r8, r11
movzx ecx, byte [r11]
mov edx, dword [rbx + 0x28]
test edx, edx
jne 0x14019f7f0
movzx eax, cl
xor eax, 0x20
sub eax, 0xa1
cmp eax, 0x3c
jae 0x14019f7d1
mov edx, 1
jmp 0x14019f842
movzx eax, cl
test cl, cl
je 0x14019f87c
cmp cl, 0xa
jne 0x14019f86d
inc dword [rbx + 0x20]
inc dword [rbx + 0x24]
jmp 0x14019f871
movzx eax, cl
cmp edx, 1
jne 0x14019f814
mov rdx, r9
cmp cl, 0xa1
jb 0x14019f805
cmp cl, 0xf4
jbe 0x14019f80d
mov r9, rdx
cmp cl, 0x8e
jne 0x14019f7d4
mov edx, 1
jmp 0x14019f842
cmp edx, 2
jne 0x14019f7d4
movzx eax, cl
test cl, cl
jns 0x14019f7d6
lea eax, [rdx + 0x7e]
mov r8d, 0xffffffff
movsx r10d, cl
mov edx, r8d
lea edx, [r8 + 1]
mov r8d, edx
sar eax, 1
test eax, r10d
jne 0x14019f830
mov r9, qword [rbx + 0x10]
test cl, cl
je 0x14019f864
cmp cl, 0xa
jne 0x14019f85d
inc dword [rbx + 0x20]
inc dword [rbx + 0x24]
inc r9
movsxd rax, edx
lea r8, [rax + r9]
jmp 0x14019f874
mov dword [rbx + 0x24], r14d
inc r9
movsxd rax, edx
lea r8, [rax + r9]
jmp 0x14019f874
mov dword [rbx + 0x24], r14d
inc r8
mov qword [rbx + 0x10], r8
movzx eax, byte [r8]
test al, al
jne 0x14019f700
test rdi, rdi
je 0x14019f8ce
sub r8, r11
movdqa xmm0, xmmword [0x1404107f0]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
mov rdx, r11
lea rcx, [rbp - 0x30]
call fcn.14000b830
nop
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rdx, qword [rbp - 0x30]
mov r8, qword [rbp - 0x20]
mov rcx, rdi
call fcn.14000b980
nop
lea rcx, [rbp - 0x30]
call fcn.14000b5d0
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14023ed20
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
test rdi, rdi
je 0x14019f8ce
mov r8, qword [rbx + 0x10]
sub r8, r11
movdqa xmm0, xmmword [0x1404107f0]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
mov rdx, r11
lea rcx, [rbp - 0x30]
call fcn.14000b830
nop
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rdx, qword [rbp - 0x30]
mov r8, qword [rbp - 0x20]
mov rcx, rdi
call fcn.14000b980
nop
jmp 0x14019f8c5