Function at 0x1401e6050
Capabilities:
Encode data using xor

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
test rcx, rcx
je 0x1401e6536
mov rdi, qword [rcx]
mov rbx, rcx
mov rcx, rdi
call sub.msvcrt.dll_strlen
mov r11, qword [0x1403f1040]
mov r8, rax
mov esi, eax
test r11, r11
je 0x1401e6500
mov r9, rdi
cmp eax, 0xb
jbe 0x1401e64b4
mov r10d, eax
mov r12d, 0x9e3779b9
mov ebp, 0x9e3779b9
mov ecx, 0xfeedbeef
nop dword [rax]
movzx edx, byte [r9 + 5]
movzx eax, byte [r9 + 6]
shl edx, 8
shl eax, 0x10
add edx, eax
movzx eax, byte [r9 + 4]
add edx, eax
movzx eax, byte [r9 + 7]
shl eax, 0x18
add edx, eax
movzx eax, byte [r9 + 9]
add edx, r12d
movzx r12d, byte [r9 + 0xa]
shl eax, 8
shl r12d, 0x10
add eax, r12d
movzx r12d, byte [r9 + 8]
add eax, r12d
movzx r12d, byte [r9 + 0xb]
shl r12d, 0x18
add eax, r12d
movzx r12d, byte [r9 + 2]
add eax, ecx
movzx ecx, byte [r9 + 1]
shl r12d, 0x10
shl ecx, 8
add ecx, r12d
movzx r12d, byte [r9]
add ecx, r12d
movzx r12d, byte [r9 + 3]
shl r12d, 0x18
add ecx, r12d
sub ecx, edx
sub edx, eax
sub ecx, eax
add ecx, ebp
mov ebp, eax
shr ebp, 0xd
xor ecx, ebp
sub edx, ecx
sub eax, ecx
mov ebp, edx
mov edx, ecx
shl edx, 8
xor edx, ebp
sub eax, edx
mov ebp, eax
mov eax, edx
shr eax, 0xd
xor eax, ebp
sub ecx, edx
sub r10d, 0xc
add r9, 0xc
sub ecx, eax
sub edx, eax
mov ebp, ecx
mov ecx, eax
shr ecx, 0xc
xor ecx, ebp
sub edx, ecx
sub eax, ecx
mov ebp, edx
mov edx, ecx
shl edx, 0x10
xor edx, ebp
sub eax, edx
sub ecx, edx
mov ebp, eax
mov eax, edx
shr eax, 5
xor eax, ebp
mov ebp, eax
sub ecx, eax
sub edx, eax
shr ebp, 3
xor ebp, ecx
mov r12d, ebp
sub edx, ebp
sub eax, ebp
shl r12d, 0xa
xor r12d, edx
mov ecx, r12d
sub eax, r12d
shr ecx, 0xf
xor ecx, eax
cmp r10d, 0xb
ja 0x1401e60b0
add ecx, r8d
cmp r10d, 0xb
ja case.0x1401e61c4.0
lea rdx, [0x14027cddc]
movsxd rax, dword [rdx + r10*4]
add rax, rdx
jmp rax
movzx eax, byte [r9 + 0xa]
shl eax, 0x18
add ecx, eax
movzx eax, byte [r9 + 9]
shl eax, 0x10
add ecx, eax
movzx eax, byte [r9 + 8]
shl eax, 8
add ecx, eax
movzx eax, byte [r9 + 7]
shl eax, 0x18
add r12d, eax
movzx eax, byte [r9 + 6]
shl eax, 0x10
add r12d, eax
movzx eax, byte [r9 + 5]
shl eax, 8
add r12d, eax
movzx eax, byte [r9 + 4]
add r12d, eax
movzx eax, byte [r9 + 3]
shl eax, 0x18
add ebp, eax
movzx eax, byte [r9 + 2]
shl eax, 0x10
add ebp, eax
movzx eax, byte [r9 + 1]
shl eax, 8
add ebp, eax
movzx eax, byte [r9]
add ebp, eax
lea eax, [rcx + r12]
mov edx, ecx
sub r12d, ecx
sub ebp, eax
shr edx, 0xd
xor edx, ebp
mov eax, edx
sub r12d, edx
sub ecx, edx
shl eax, 8
xor eax, r12d
sub ecx, eax
sub edx, eax
mov r9d, ecx
mov ecx, eax
shr ecx, 0xd
xor ecx, r9d
mov r9d, ecx
sub edx, ecx
sub eax, ecx
shr r9d, 0xc
xor r9d, edx
mov edx, r9d
sub eax, r9d
sub ecx, r9d
shl edx, 0x10
xor edx, eax
mov eax, edx
sub ecx, edx
sub r9d, edx
shr eax, 5
xor eax, ecx
mov ecx, eax
sub r9d, eax
sub edx, eax
shr ecx, 3
xor ecx, r9d
mov ebp, ecx
sub edx, ecx
sub eax, ecx
shl ebp, 0xa
xor ebp, edx
mov rdx, qword [r11 + 0x58]
sub eax, ebp
shr ebp, 0xf
xor ebp, eax
mov eax, dword [rdx + 8]
sub eax, 1
and eax, ebp
shl rax, 4
add rax, qword [rdx]
mov r12, qword [rax]
test r12, r12
je 0x1401e6500
mov rax, qword [rdx + 0x20]
mov r14d, r8d
mov r13, rax
sub r12, rax
neg r13
jmp 0x1401e62e9
mov r12, qword [r12 + 0x78]
test r12, r12
je 0x1401e6500
add r12, r13
cmp dword [r12 + 0x8c], ebp
jne 0x1401e62d8
cmp dword [r12 + 0x88], esi
jne 0x1401e62d8
mov rcx, qword [r12 + 0x80]
mov r8, r14
mov rdx, rdi
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x1401e62d8
mov rax, qword [r12 + 0x40]
mov rdx, qword [r12 + 0x50]
lea r8, [rsp + 0x48]
mov rcx, rbx
mov qword [rsp + 0x48], 0
call qword [rax + 0x48]
mov r13d, eax
test eax, eax
jne 0x1401e6400
mov rdx, qword [0x1403f1040]
mov rcx, qword [r12 + 0x60]
lea r9, [r12 + 0x58]
mov r8, qword [rdx + 0x58]
test rcx, rcx
je 0x1401e6458
cmp qword [r8 + 0x18], r9
je 0x1401e6480
mov rax, qword [r12 + 0x68]
mov r8, qword [r8 + 0x20]
mov qword [rcx + r8 + 0x10], rax
test rax, rax
je 0x1401e638a
mov rcx, qword [rdx + 0x58]
mov r8, qword [r12 + 0x60]
mov rcx, qword [rcx + 0x20]
mov qword [rax + rcx + 8], r8
mov rcx, qword [rdx + 0x58]
mov eax, dword [rcx + 8]
sub eax, 1
and eax, dword [r12 + 0x8c]
shl rax, 4
add rax, qword [rcx]
sub dword [rax + 8], 1
cmp qword [rax], r9
je 0x1401e64a0
mov rax, qword [r12 + 0x70]
test rax, rax
je 0x1401e63c3
mov rcx, qword [r12 + 0x78]
mov qword [rax + 0x20], rcx
mov rax, qword [r12 + 0x78]
test rax, rax
je 0x1401e63d6
mov rcx, qword [r12 + 0x70]
mov qword [rax + 0x18], rcx
mov rax, qword [rdx + 0x58]
sub dword [rax + 0x10], 1
mov rcx, r12
call sub.msvcrt.dll_free
add rsp, 0x50
mov eax, r13d
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rax, qword [rsp + 0x48]
lea rdx, str._UNKNOWN_
mov dword [rsp + 0x38], r13d
mov r9d, 7
lea r8, str.dap_plugin
test rax, rax
cmove rax, rdx
xor ecx, ecx
xor edx, edx
mov qword [rsp + 0x30], rax
mov rax, qword [rbx]
mov qword [rsp + 0x28], rax
lea rax, str.Cant_unload_plugin___s__because_of_error___s___code__d_
mov qword [rsp + 0x20], rax
call fcn.14005a0c0
mov rcx, qword [rsp + 0x48]
call sub.msvcrt.dll_free
jmp 0x1401e63e6
mov rax, qword [r12 + 0x68]
test rax, rax
je 0x1401e64d3
cmp qword [r8 + 0x18], r9
je 0x1401e6480
mov qword [0x1403f1040], rax
mov rdx, rax
jmp 0x1401e6373
add rcx, qword [r8 + 0x20]
mov qword [r8 + 0x18], rcx
mov rcx, qword [r12 + 0x60]
test rcx, rcx
je 0x1401e64cc
mov r8, qword [rdx + 0x58]
jmp 0x1401e6365
mov rdx, qword [r12 + 0x78]
mov qword [rax], rdx
mov rdx, qword [0x1403f1040]
jmp 0x1401e63b0
mov r10d, eax
mov r12d, 0x9e3779b9
mov ebp, 0x9e3779b9
mov ecx, 0xfeedbeef
jmp 0x1401e61ad
mov rax, qword [r12 + 0x68]
jmp 0x1401e6468
mov rcx, qword [r8]
call sub.msvcrt.dll_free
mov rax, qword [0x1403f1040]
mov rcx, qword [rax + 0x58]
call sub.msvcrt.dll_free
mov qword [0x1403f1040], 0
jmp 0x1401e63de
mov rax, qword [rbx + 0x20]
mov r9d, 7
xor edx, edx
xor ecx, ecx
lea r8, str.dap_plugin
mov r13d, 0xfffffffb
mov qword [rsp + 0x28], rax
lea rax, str.Plugin___s__is_not_loaded
mov qword [rsp + 0x20], rax
call fcn.14005a0c0
jmp 0x1401e63e6
mov r13d, 0xfffffffc
jmp 0x1401e63e6