Function at 0x14005f050
Capabilities:
Encode data using xor

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
mov rsi, rcx
lea rcx, str._s:_s
push rbx
sub rsp, 0x38
call fcn.140068020
movzx edx, byte [rax]
mov r12, rax
test dl, dl
je 0x14005f08d
nop dword [rax]
cmp dl, 0x2d
je 0x14005f340
movzx edx, byte [rax + 1]
add rax, 1
test dl, dl
jne 0x14005f078
mov rcx, r12
call sub.msvcrt.dll_strlen
mov r11, qword [rsi + 8]
mov r8, rax
mov ebx, eax
test r11, r11
je 0x14005f360
mov r9, r12
cmp eax, 0xb
jbe 0x14005f399
mov r10d, eax
mov r13d, 0x9e3779b9
mov esi, 0x9e3779b9
mov ecx, 0xfeedbeef
nop word cs:[rax + 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, r13d
movzx r13d, byte [r9 + 0xa]
shl eax, 8
shl r13d, 0x10
add eax, r13d
movzx r13d, byte [r9 + 8]
add eax, r13d
movzx r13d, byte [r9 + 0xb]
shl r13d, 0x18
add eax, r13d
movzx r13d, byte [r9 + 2]
add eax, ecx
movzx ecx, byte [r9 + 1]
shl r13d, 0x10
shl ecx, 8
add ecx, r13d
movzx r13d, byte [r9]
add ecx, r13d
movzx r13d, byte [r9 + 3]
shl r13d, 0x18
add ecx, r13d
sub ecx, edx
sub edx, eax
sub ecx, eax
add ecx, esi
mov esi, eax
shr esi, 0xd
xor ecx, esi
mov esi, edx
mov edx, ecx
sub esi, ecx
sub eax, ecx
shl edx, 8
xor edx, esi
sub eax, edx
mov esi, eax
mov eax, edx
shr eax, 0xd
xor eax, esi
sub ecx, edx
sub r10d, 0xc
add r9, 0xc
mov esi, ecx
mov ecx, eax
sub edx, eax
sub esi, eax
shr ecx, 0xc
xor ecx, esi
mov esi, edx
mov edx, ecx
sub esi, ecx
sub eax, ecx
shl edx, 0x10
xor edx, esi
sub eax, edx
sub ecx, edx
mov esi, eax
mov eax, edx
shr eax, 5
xor eax, esi
mov esi, eax
sub ecx, eax
sub edx, eax
shr esi, 3
xor esi, ecx
mov r13d, esi
sub edx, esi
sub eax, esi
shl r13d, 0xa
xor r13d, edx
mov ecx, r13d
sub eax, r13d
shr ecx, 0xf
xor ecx, eax
cmp r10d, 0xb
ja 0x14005f0d0
add ecx, r8d
cmp r10d, 0xb
ja case.0x14005f1e4.0
lea rdx, [0x140219ac4]
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 r13d, eax
movzx eax, byte [r9 + 6]
shl eax, 0x10
add r13d, eax
movzx eax, byte [r9 + 5]
shl eax, 8
add r13d, eax
movzx eax, byte [r9 + 4]
add r13d, eax
movzx eax, byte [r9 + 3]
shl eax, 0x18
add esi, eax
movzx eax, byte [r9 + 2]
shl eax, 0x10
add esi, eax
movzx eax, byte [r9 + 1]
shl eax, 8
add esi, eax
movzx eax, byte [r9]
add esi, eax
lea eax, [rcx + r13]
mov edx, ecx
sub r13d, ecx
sub esi, eax
shr edx, 0xd
xor edx, esi
mov eax, edx
sub r13d, edx
sub ecx, edx
shl eax, 8
xor eax, r13d
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 esi, ecx
sub edx, ecx
sub eax, ecx
shl esi, 0xa
xor esi, edx
mov rdx, qword [r11 + 0x18]
sub eax, esi
shr esi, 0xf
xor esi, eax
mov eax, dword [rdx + 8]
sub eax, 1
and eax, esi
shl rax, 4
add rax, qword [rdx]
mov r13, qword [rax]
test r13, r13
je 0x14005f360
mov rax, qword [rdx + 0x20]
mov ebp, r8d
mov rdi, rax
sub r13, rax
neg rdi
jmp 0x14005f304
mov r13, qword [r13 + 0x38]
test r13, r13
je 0x14005f360
add r13, rdi
cmp dword [r13 + 0x4c], esi
jne 0x14005f2f8
cmp dword [r13 + 0x48], ebx
jne 0x14005f2f8
mov rcx, qword [r13 + 0x40]
mov r8, rbp
mov rdx, r12
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x14005f2f8
mov rcx, r12
call sub.msvcrt.dll_free
add rsp, 0x38
mov rax, r13
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov byte [rax], 0x5f
movzx edx, byte [rax + 1]
add rax, 1
test dl, dl
jne 0x14005f078
jmp 0x14005f08d
cmp byte [0x1402235c8], 0
mov eax, 0
mov qword [rsp + 0x28], r12
lea r8, str.dap_config
cmove r8, rax
lea rax, str.Not_found_param___s_
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x20], rax
xor ecx, ecx
xor r13d, r13d
call fcn.140052d40
jmp 0x14005f323
mov r10d, eax
mov r13d, 0x9e3779b9
mov esi, 0x9e3779b9
mov ecx, 0xfeedbeef
jmp 0x14005f1cd