Function at 0x1401e4340
Capabilities:
Encode data using xor

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
test rcx, rcx
je 0x1401e4816
mov rbx, rcx
call sub.msvcrt.dll_strlen
mov r11, qword [0x1403ee040]
mov r8, rax
mov esi, eax
test r11, r11
je 0x1401e47e0
mov r9, rbx
cmp eax, 0xb
jbe 0x1401e4794
mov r10d, eax
mov r12d, 0x9e3779b9
mov edi, 0x9e3779b9
mov ecx, 0xfeedbeef
nop dword [rax]
movzx edx, byte [r9 + 5]
movzx eax, byte [r9 + 6]
movzx ebp, byte [r9 + 0xa]
shl eax, 0x10
shl edx, 8
add edx, eax
movzx eax, byte [r9 + 4]
shl ebp, 0x10
add edx, eax
movzx eax, byte [r9 + 7]
shl eax, 0x18
add edx, eax
movzx eax, byte [r9 + 9]
add edx, r12d
shl eax, 8
add eax, ebp
movzx ebp, byte [r9 + 8]
add eax, ebp
movzx ebp, byte [r9 + 0xb]
shl ebp, 0x18
add eax, ebp
movzx ebp, byte [r9 + 2]
add eax, ecx
movzx ecx, byte [r9 + 1]
shl ebp, 0x10
shl ecx, 8
add ecx, ebp
movzx ebp, byte [r9]
add ecx, ebp
movzx ebp, byte [r9 + 3]
shl ebp, 0x18
add ecx, ebp
mov ebp, eax
sub ecx, edx
shr ebp, 0xd
sub edx, eax
sub ecx, eax
add ecx, edi
xor ebp, ecx
mov r12d, ebp
sub edx, ebp
sub eax, ebp
shl r12d, 8
xor r12d, edx
mov edi, r12d
sub eax, r12d
shr edi, 0xd
xor edi, eax
sub ebp, r12d
sub r10d, 0xc
add r9, 0xc
mov ecx, edi
sub ebp, edi
sub r12d, edi
shr ecx, 0xc
xor ecx, ebp
mov edx, ecx
sub r12d, ecx
sub edi, ecx
shl edx, 0x10
xor edx, r12d
mov eax, edx
sub edi, edx
sub ecx, edx
shr eax, 5
xor eax, edi
mov edi, eax
sub ecx, eax
sub edx, eax
shr edi, 3
xor edi, ecx
mov r12d, edi
sub edx, edi
sub eax, edi
shl r12d, 0xa
xor r12d, edx
mov ecx, r12d
sub eax, r12d
shr ecx, 0xf
xor ecx, eax
cmp r10d, 0xb
ja 0x1401e4398
add ecx, r8d
cmp r10d, 0xb
ja case.0x1401e44a1.0
lea rdx, [0x14027addc]
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 edi, eax
movzx eax, byte [r9 + 2]
shl eax, 0x10
add edi, eax
movzx eax, byte [r9 + 1]
shl eax, 8
add edi, eax
movzx eax, byte [r9]
add edi, eax
lea eax, [rcx + r12]
mov edx, ecx
sub r12d, ecx
sub edi, eax
shr edx, 0xd
xor edx, edi
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 edi, ecx
sub edx, ecx
sub eax, ecx
shl edi, 0xa
xor edi, edx
mov rdx, qword [r11 + 0x58]
sub eax, edi
shr edi, 0xf
xor edi, eax
mov eax, dword [rdx + 8]
sub eax, 1
and eax, edi
shl rax, 4
add rax, qword [rdx]
mov r12, qword [rax]
test r12, r12
je 0x1401e47e0
mov rax, qword [rdx + 0x20]
mov r13d, r8d
mov rbp, rax
sub r12, rax
neg rbp
jmp 0x1401e45c9
mov r12, qword [r12 + 0x78]
test r12, r12
je 0x1401e47e0
add r12, rbp
cmp dword [r12 + 0x8c], edi
jne 0x1401e45b8
cmp dword [r12 + 0x88], esi
jne 0x1401e45b8
mov rcx, qword [r12 + 0x80]
mov r8, r13
mov rdx, rbx
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x1401e45b8
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 0x1401e46e0
mov rdx, qword [0x1403ee040]
mov rcx, qword [r12 + 0x60]
lea r9, [r12 + 0x58]
mov r8, qword [rdx + 0x58]
test rcx, rcx
je 0x1401e4740
cmp qword [r8 + 0x18], r9
je 0x1401e4760
mov rax, qword [r12 + 0x68]
mov r8, qword [r8 + 0x20]
mov qword [rcx + r8 + 0x10], rax
test rax, rax
je 0x1401e466a
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 0x1401e4780
mov rax, qword [r12 + 0x70]
test rax, rax
je 0x1401e46a3
mov rcx, qword [r12 + 0x78]
mov qword [rax + 0x20], rcx
mov rax, qword [r12 + 0x78]
test rax, rax
je 0x1401e46b6
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, 0x58
mov eax, r13d
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov rax, qword [rsp + 0x48]
mov dword [rsp + 0x38], r13d
lea rdx, str._UNKNOWN_
mov r9d, 7
mov qword [rsp + 0x28], rbx
lea r8, str.dap_plugin
test rax, rax
cmove rax, rdx
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x30], rax
lea rax, str.Cant_unload_plugin___s__because_of_error___s___code__d_
mov qword [rsp + 0x20], rax
call fcn.14005a160
mov rcx, qword [rsp + 0x48]
call sub.msvcrt.dll_free
add rsp, 0x58
mov eax, r13d
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov rax, qword [r12 + 0x68]
test rax, rax
je 0x1401e47b3
cmp qword [r8 + 0x18], r9
je 0x1401e4760
mov qword [0x1403ee040], rax
mov rdx, rax
jmp 0x1401e4653
add rcx, qword [r8 + 0x20]
mov qword [r8 + 0x18], rcx
mov rcx, qword [r12 + 0x60]
test rcx, rcx
je 0x1401e47ac
mov r8, qword [rdx + 0x58]
jmp 0x1401e4645
mov rdx, qword [r12 + 0x78]
mov qword [rax], rdx
mov rdx, qword [0x1403ee040]
jmp 0x1401e4690
mov r10d, eax
mov r12d, 0x9e3779b9
mov edi, 0x9e3779b9
mov ecx, 0xfeedbeef
jmp 0x1401e448a
mov rax, qword [r12 + 0x68]
jmp 0x1401e4750
mov rcx, qword [r8]
call sub.msvcrt.dll_free
mov rax, qword [0x1403ee040]
mov rcx, qword [rax + 0x58]
call sub.msvcrt.dll_free
mov qword [0x1403ee040], 0
jmp 0x1401e46be
mov rax, qword [rbx + 0x58]
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.14005a160
jmp 0x1401e46c6
mov r13d, 0xfffffffc
jmp 0x1401e46c6