Function at 0x140003fe0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x270
mov rax, qword [rcx + 0xdef8]
lea r14, [rcx + 0xd2f8]
mov r15, qword [rcx + 0x110]
lea rbp, [r11 - 0x58]
mov r12, qword [rcx + 0x168]
sub rbp, r8
sub rbp, 0x1f0
mov qword [rsp + 0x28], rax
xor ebx, ebx
mov qword [rsp + 0x40], r14
lea rax, [rcx + 0x170]
mov dword [rsp + 0x2c8], ebx
xor esi, esi
mov qword [rsp + 0x38], rax
xor edi, edi
mov qword [rsp + 0x48], rbp
xor r13d, r13d
mov qword [rsp + 0x50], 3
sub r8, rcx
lea rcx, [r8 - 0xd108]
mov qword [rsp + 0x60], rcx
nop
mov rax, qword [rax]
lea rcx, [rsp + 0x70]
add r13, rax
xor edx, edx
mov r8d, 0x200
mov qword [rsp + 0x30], r13
call sub.VCRUNTIME140.dll_memset
mov rdx, r13
mov qword [r14 + 0x600], rdi
sub rdx, rbx
mov qword [r14], rsi
cmp rdx, rdi
cmovge rdx, rdi
sub rdi, rdx
test rdx, rdx
jle 0x1400040d5
mov rcx, rdx
xor r8d, r8d
nop dword [rax]
nop word [rax + rax]
mov rax, qword [r12 + rbx*8]
dec rcx
inc rbx
mov word [r15 + rax*4 + 2], r8w
test rcx, rcx
jg 0x1400040c0
cmp rbx, r13
jge 0x140004306
movsxd rax, dword [rsp + 0x2c8]
mov rbp, rdx
mov rcx, qword [rsp + 0x2b8]
inc rax
sar rax, 1
lea rcx, [rcx + rax*4]
mov rax, qword [rsp + 0x2b0]
mov qword [rsp + 0x58], rcx
lea r14, [rax + 0xd058]
nop
movsxd rdx, dword [rcx]
mov rcx, r14
mov rdx, qword [rax + rdx*8 + 0xd078]
call fcn.14000cac0
mov rdx, qword [rsp + 0x28]
movsxd rdi, eax
mov byte [rsi + rdx], dil
inc rsi
cmp rdi, 0xf
jae 0x14000422b
mov r9d, dword [r14]
lea rax, [0x140000000]
movzx r10d, byte [rax + rdi + 0xc2b28]
mov r8d, dword [r14 + 0x18]
test r10d, r10d
jne 0x140004163
xor r8d, r8d
mov r9d, r8d
jmp 0x1400041f1
cmp r8d, r10d
jge 0x1400041cf
mov rdx, qword [r14 + 8]
mov r11, qword [r14 + 0x10]
cmp r8d, 0x18
jg 0x14000419d
mov ecx, 0x20
sub ecx, r8d
nop
cmp rdx, r11
jae 0x14000419d
movzx eax, byte [rdx]
sub ecx, 8
shl eax, cl
add r8d, 8
or r9d, eax
inc rdx
cmp r8d, 0x18
jle 0x140004180
mov qword [r14 + 8], rdx
cmp r10d, r8d
jle 0x1400041ca
cmp rdx, r11
jb 0x1400041bb
mov dword [r14 + 0x1c], 1
mov r8d, 0x40000000
jmp 0x1400041ca
movzx edx, byte [rdx]
movzx ecx, r8b
and ecx, 7
shr edx, cl
or r9d, edx
mov rdx, qword [rsp + 0x28]
lea eax, [r9 + r9]
sub r8d, r10d
lea ecx, [r10 - 1]
mov dword [r14 + 0x18], r8d
shl eax, cl
mov ecx, 0x20
sub ecx, r10d
mov dword [r14], eax
shr r9d, cl
xor r8d, r8d
mov byte [rsi + rdx], r9b
inc rsi
test edi, edi
jne 0x140004208
mov eax, r9d
sar eax, 8
mov byte [rsi + rdx], al
inc rsi
cmp edi, 0xc
mov eax, socket
mov ecx, r8d
mov edx, 0xfffffff3
cmovl ecx, eax
cmp edi, 2
mov eax, r8d
cmovl eax, edx
add ecx, eax
shl r9d, cl
jmp 0x140004231
xor r8d, r8d
mov r9d, r8d
lea rax, [0x140000000]
mov ecx, dword [rax + rdi*4 + 0xc2b40]
add ecx, r9d
mov edi, ecx
sar rdi, 8
and edi, 0xfff
test ecx, ecx
jne 0x14000425e
movabs rdi, 0x7fffffffffffffff
jmp 0x140004263
test rdi, rdi
je 0x1400042a7
mov r13, qword [rsp + 0x30]
mov rdx, r8
mov rax, r13
mov rcx, r13
sub rax, rdi
sub rcx, rbx
sub rax, rbx
cmp rcx, rdi
cmovl rdx, rax
add rdx, rdi
add rbp, rdx
sub rdi, rdx
test rdx, rdx
jle 0x1400042dc
nop
mov rax, qword [r12 + rbx*8]
dec rdx
inc rbx
mov word [r15 + rax*4 + 2], r8w
test rdx, rdx
jg 0x140004290
jmp 0x1400042dc
mov r13, qword [rsp + 0x30]
mov eax, ecx
and eax, 0x100000
movzx edx, cl
neg eax
sar ecx, 0x15
sar eax, 0x15
xor ax, cx
mov ecx, r8d
inc qword [rsp + rdx*8 + 0x70]
test dl, dl
cmove cx, ax
mov rax, qword [r12 + rbx*8]
inc rbx
mov word [r15 + rax*4 + 2], cx
mov rax, qword [rsp + 0x2b0]
mov rcx, qword [rsp + 0x58]
cmp rbx, r13
jl 0x140004110
mov r14, qword [rsp + 0x40]
mov qword [rsp + 0x20], rbp
mov rdx, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x48]
add qword [rsp + 0x268], rdx
lea rax, [rsp + 0x258]
mov edx, 3
nop dword [rax + rax]
mov rcx, qword [rax + 0x10]
add qword [rax + 8], rcx
mov rcx, qword [rax + 8]
add qword [rax], rcx
mov rcx, qword [rax]
add qword [rax - 8], rcx
mov rcx, qword [rax - 8]
add qword [rax - 0x10], rcx
mov rcx, qword [rax - 0x10]
add qword [rax - 0x18], rcx
mov rcx, qword [rax - 0x18]
add qword [rax - 0x20], rcx
mov rcx, qword [rax - 0x20]
add qword [rax - 0x28], rcx
mov rcx, qword [rax - 0x28]
add qword [rax - 0x30], rcx
mov rcx, qword [rax - 0x30]
add qword [rax - 0x38], rcx
mov rcx, qword [rax - 0x38]
add qword [rax - 0x40], rcx
mov rcx, qword [rax - 0x40]
add qword [rax - 0x48], rcx
mov rcx, qword [rax - 0x48]
add qword [rax - 0x50], rcx
mov rcx, qword [rax - 0x50]
add qword [rax - 0x58], rcx
mov rcx, qword [rax - 0x58]
add qword [rax - 0x60], rcx
mov rcx, qword [rax - 0x60]
add qword [rax - 0x68], rcx
mov rcx, qword [rax - 0x68]
add qword [rax - 0x70], rcx
mov rcx, qword [rax - 0x70]
add qword [rax - 0x78], rcx
mov rcx, qword [rax - 0x78]
add qword [rax - 0x80], rcx
mov rcx, qword [rax - 0x80]
add qword [rax - 0x88], rcx
mov rcx, qword [rax - 0x88]
add qword [rax - 0x90], rcx
mov rcx, qword [rax - 0x90]
add qword [rax - 0x98], rcx
lea rax, [rax - 0xa8]
sub rdx, 1
jne 0x140004320
mov rcx, qword [rsp + 0x60]
mov edx, 2
add rcx, r14
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rcx + rbp + 0x18]
sub qword [rcx + 8], rax
mov rax, qword [rcx + rbp + 0x10]
sub qword [rcx], rax
mov rax, qword [rcx + rbp + 8]
sub qword [rcx - 8], rax
mov rax, qword [rcx + rbp]
sub qword [rcx - 0x10], rax
mov rax, qword [rcx + rbp - 8]
sub qword [rcx - 0x18], rax
mov rax, qword [rcx + rbp - 0x10]
sub qword [rcx - 0x20], rax
mov rax, qword [rcx + rbp - 0x18]
sub qword [rcx - 0x28], rax
mov rax, qword [rcx + rbp - 0x20]
sub qword [rcx - 0x30], rax
mov rax, qword [rcx + rbp - 0x28]
sub qword [rcx - 0x38], rax
mov rax, qword [rcx + rbp - 0x30]
sub qword [rcx - 0x40], rax
mov rax, qword [rcx + rbp - 0x38]
sub qword [rcx - 0x48], rax
mov rax, qword [rcx + rbp - 0x40]
sub qword [rcx - 0x50], rax
mov rax, qword [rcx + rbp - 0x48]
sub qword [rcx - 0x58], rax
mov rax, qword [rcx + rbp - 0x50]
sub qword [rcx - 0x60], rax
mov rax, qword [rcx + rbp - 0x58]
sub qword [rcx - 0x68], rax
mov rax, qword [rcx + rbp - 0x60]
sub qword [rcx - 0x70], rax
mov rax, qword [rcx + rbp - 0x68]
sub qword [rcx - 0x78], rax
mov rax, qword [rcx + rbp - 0x70]
sub qword [rcx - 0x80], rax
mov rax, qword [rcx + rbp - 0x78]
sub qword [rcx - 0x88], rax
mov rax, qword [rcx + rbp - 0x80]
sub qword [rcx - 0x90], rax
mov rax, qword [rcx + rbp - 0x88]
sub qword [rcx - 0x98], rax
mov rax, qword [rcx + rbp - 0x90]
sub qword [rcx - 0xa0], rax
mov rax, qword [rcx + rbp - 0x98]
sub qword [rcx - 0xa8], rax
mov rax, qword [rcx + rbp - 0xa0]
sub qword [rcx - 0xb0], rax
mov rax, qword [rcx + rbp - 0xa8]
sub qword [rcx - 0xb8], rax
mov rax, qword [rcx + rbp - 0xb0]
sub qword [rcx - 0xc0], rax
mov rax, qword [rcx + rbp - 0xb8]
sub qword [rcx - 0xc8], rax
mov rax, qword [rcx + rbp - 0xc0]
sub qword [rcx - 0xd0], rax
mov rax, qword [rcx + rbp - 0xc8]
sub qword [rcx - 0xd8], rax
mov rax, qword [rcx + rbp - 0xd0]
sub qword [rcx - 0xe0], rax
mov rax, qword [rcx + rbp - 0xd8]
sub qword [rcx - 0xe8], rax
mov rax, qword [rcx + rbp - 0xe0]
sub qword [rcx - 0xf0], rax
lea rcx, [rcx - 0x100]
sub rdx, 1
jne 0x140004400
mov rax, qword [rsp + 0x38]
add r14, 0x200
inc dword [rsp + 0x2c8]
add rax, 8
sub rbp, 0x200
mov qword [rsp + 0x38], rax
sub qword [rsp + 0x50], 1
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], rbp
jne 0x140004070
mov rcx, qword [rsp + 0x2b0]
mov rax, rdi
mov rbx, qword [rsp + 0x2c0]
mov dword [rcx + 0xdf08], esi
add rsp, 0x270
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret