Function at 0x1400c4ee0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov r13, rcx
mov rax, qword [0x14032b510]
mov rcx, qword [rax + 0x4140]
cmp byte [rcx + 0xf8], 0
jne 0x1400c5091
mov edi, edx
movsx edx, word [r13 + 0x224]
mov esi, 0xffffffff
test edx, edx
js 0x1400c4f3e
cmp dword [r13 + 0x6c], edx
jle 0x1400c4f3e
movzx ecx, dx
imul rcx, rcx, 0x70
add rcx, qword [r13 + 0x18]
mov esi, edx
test dil, 1
jne 0x1400c4f4a
jmp 0x1400c503e
xor ecx, ecx
test dil, 1
je 0x1400c503e
test rcx, rcx
je 0x1400c4fa3
test byte [rcx], 0x20
jne 0x1400c4f5e
cmp byte [rcx + 0x62], 0
setne r9b
jmp 0x1400c4f61
xor r9d, r9d
mov rax, qword [rax + 0x6200]
test rax, rax
lea rcx, str.Missing_Text
cmovne rcx, rax
xor edx, edx
xor r8d, r8d
call fcn.1400e1580
test al, al
je 0x1400c4fa3
mov rax, qword [r13 + 0x18]
movsxd rcx, esi
imul rcx, rcx, 0x70
cmp byte [rax + rcx + 0x62], 0
je 0x1400c4fa3
mov byte [rax + rcx + 0x6c], 1
mov word [r13 + 0x210], si
movzx eax, word [r13 + 0x204]
cmp ax, word [r13 + 0x202]
jne 0x1400c4fc5
mov eax, 0xe000
and eax, dword [r13 + 4]
cmp eax, 0x4000
jne 0x1400c4fcc
mov eax, 0x6210
jmp 0x1400c4fd1
mov eax, 0x6208
add rax, qword [0x14032b510]
mov rax, qword [rax]
test rax, rax
lea rcx, str.Missing_Text
cmovne rcx, rax
xor edx, edx
xor r8d, r8d
mov r9b, 1
call fcn.1400e1580
test al, al
je 0x1400c503e
mov eax, dword [r13 + 0x6c]
test eax, eax
jle 0x1400c503e
mov ecx, WSASetLastError
xor edx, edx
jmp 0x1400c502a
mov word [rbx + rcx - 1], 0x102
mov eax, dword [r13 + 0x6c]
inc rdx
movsxd rbx, eax
add rcx, 0x70
cmp rdx, rbx
jge 0x1400c503e
mov rbx, qword [r13 + 0x18]
cmp byte [rbx + rcx - 0xa], 0
jne 0x1400c5010
test byte [rbx + rcx - 0x6c], 8
jne 0x1400c5010
jmp 0x1400c501b
test dil, 2
jne 0x1400c504b
mov ecx, edi
and cl, 1
jmp 0x1400c508b
cmp byte [r13 + 0x23f], 0
sete r9b
mov rax, qword [0x14032b510]
mov rax, qword [rax + 0x6218]
test rax, rax
lea rcx, str.Missing_Text
cmovne rcx, rax
xor edx, edx
xor r8d, r8d
call fcn.1400e1580
mov cl, 1
test al, al
je 0x1400c508b
mov byte [r13 + 0x241], 1
test dil, 4
jne 0x1400c50a1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
test cl, cl
je 0x1400c50aa
call fcn.1400cdf10
mov ecx, reloc.WLDAP32.dll_Ordinal_32
mov dl, 1
call fcn.14009e790
cmp dword [r13 + 0x6c], 0
jle 0x1400c5184
mov edi, 0x64
xor r14d, r14d
lea r12, [0x1402db96f]
lea r15, str._Unknown_
xor ebx, ebx
jmp 0x1400c50f4
inc rbx
movsxd rax, dword [r13 + 0x6c]
add rdi, 0x70
cmp rbx, rax
jge 0x1400c5184
mov rsi, qword [r13 + 0x18]
mov r9d, dword [rsi + rdi - 0x64]
test r9b, 1
jne 0x1400c50e0
cmp byte [r13 + 0x236], 0
jne 0x1400c511d
movsx rax, word [r13 + 0x206]
mov rcx, r12
cmp rbx, rax
jge 0x1400c513b
movsx rax, word [rsi + rdi - 0x14]
mov rcx, r12
cmp rax, 0xffffffffffffffff
je 0x1400c513b
mov rcx, qword [r13 + 0x198]
test rcx, rcx
je 0x1400c5140
add rcx, rax
cmp byte [rcx], 0
jne 0x1400c5143
mov rcx, r15
not r9b
shr r9b, 7
movzx r8d, byte [rsi + rdi - 1]
test r8b, r8b
je 0x1400c5166
cmp word [r13 + 0x202], 2
movzx r9d, r9b
cmovl r9d, r14d
xor edx, edx
call fcn.1400e1580
test al, al
je 0x1400c50e0
movzx eax, byte [rsi + rdi - 1]
xor al, 1
mov byte [rsi + rdi], al
jmp 0x1400c50e0
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.14009e800