Function at 0x14001a7a0
Capabilities:
Check if file exists
Encode data using xor
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r13
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
mov rax, qword [0x1401567f8]
xor rax, rsp
mov qword [rbp + 7], rax
mov rsi, rcx
mov qword [rbp - 0x41], rcx
call fcn.140006284
mov rcx, rax
test rax, rax
je 0x14001ab1f
mov rax, qword [rax]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rbp - 0x41], rbx
mov dword [rbp - 0x45], 0x1000
mov dword [rbp - 0x31], 1
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
mov edx, 0x1008
sub eax, edx
or eax, ecx
jge 0x14001a82c
lea rcx, [rbp - 0x41]
call fcn.1400262ec
mov rbx, qword [rbp - 0x41]
movdqa xmm6, xmmword [0x14013e280]
movdqu xmmword [rbp - 0x29], xmm6
movdqa xmm7, xmmword [0x14013e220]
movdqu xmmword [rbp - 0x19], xmm7
movdqa xmm8, xmmword [0x14013e070]
movdqu xmmword [rbp - 9], xmm8
mov r13d, 4
mov rax, qword gs:[0x58]
mov rdi, qword [rax]
mov eax, dword [rdi + r13]
cmp dword [0x140160ddc], eax
jle 0x14001a8bd
lea rcx, [0x140160ddc]
call fcn.1400b77a0
cmp dword [0x140160ddc], 0xffffffff
jne 0x14001a8bd
mov byte [0x140160b98], 1
movups xmmword [0x140160b68], xmm6
movups xmmword [0x140160b78], xmm7
movups xmmword [0x140160b88], xmm8
lea rcx, [0x1400ff62c]
call fcn.1400b7e90
lea rcx, [0x140160ddc]
call fcn.1400b7740
lea rdx, [0x140160b68]
cmp byte [0x140160b98], 0
je 0x14001a8fa
xor r8d, r8d
mov cl, r8b
and cl, 7
shl cl, 3
movabs rax, 0x8107f5017dbbf511
shr rax, cl
xor byte [r8 + rdx], al
inc r8
cmp r8, 0x30
jb 0x14001a8d0
mov byte [0x140160b98], 0
lea rax, [rbp - 0x45]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x31]
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.SHLWAPI.dll_SHGetValueA]
cmp dword [rbx - 8], 1
jle 0x14001a932
mov edx, dword [rbx - 0x10]
lea rcx, [rbp - 0x41]
call fcn.1400251bc
mov rbx, qword [rbp - 0x41]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathRemoveArgsA]
cmp dword [rbx - 8], 1
jle 0x14001a951
mov edx, dword [rbx - 0x10]
lea rcx, [rbp - 0x41]
call fcn.1400251bc
mov rbx, qword [rbp - 0x41]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathUnquoteSpacesA]
cmp dword [rbx - 8], 1
jle 0x14001a970
mov edx, dword [rbx - 0x10]
lea rcx, [rbp - 0x41]
call fcn.1400251bc
mov rbx, qword [rbp - 0x41]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
cmp dword [rbx - 8], 1
jle 0x14001a98f
mov edx, dword [rbx - 0x10]
lea rcx, [rbp - 0x41]
call fcn.1400251bc
mov rbx, qword [rbp - 0x41]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
mov dword [rbp - 0x39], 0x4f2a2f6f
mov word [rbp - 0x35], 0x35d0
mov eax, dword [rdi + r13]
cmp dword [0x140160f6c], eax
jle 0x14001a9f9
lea rcx, [0x140160f6c]
call fcn.1400b77a0
cmp dword [0x140160f6c], 0xffffffff
jne 0x14001a9f9
mov byte [0x140160ec6], 1
mov eax, dword [rbp - 0x39]
mov dword [0x140160ec0], eax
movzx eax, word [rbp - 0x35]
mov word [0x140160ec4], ax
lea rcx, [0x1400ff61c]
call fcn.1400b7e90
lea rcx, [0x140160f6c]
call fcn.1400b7740
lea rdi, [0x140160ec0]
cmp byte [0x140160ec6], 0
je 0x14001aa33
xor edx, edx
mov cl, dl
and cl, 7
shl cl, 3
movabs rax, 0x991135b13b4b4b1b
shr rax, cl
xor byte [rdx + rdi], al
inc rdx
cmp rdx, 6
jb 0x14001aa0b
mov byte [0x140160ec6], 0
cmp dword [rbx - 8], 1
jle 0x14001aa49
mov edx, dword [rbx - 0x10]
lea rcx, [rbp - 0x41]
call fcn.1400251bc
mov rbx, qword [rbp - 0x41]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
lea rdi, [rbx - 0x18]
test rbx, rbx
jne 0x14001aa62
xor eax, eax
jmp 0x14001aa76
movsxd rdx, dword [rdi + 0xc]
mov rcx, rbx
call fcn.1400be194
test eax, eax
js 0x14001ab2a
cmp eax, dword [rdi + 0xc]
jg 0x14001ab2a
mov dword [rdi + 8], eax
mov eax, eax
mov byte [rax + rbx], 0
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x14001aaf4
mov rcx, rdi
call fcn.14002620c
add rax, 0x18
mov qword [rsi], rax
or ecx, 0xffffffff
lock xadd dword [rdi + 0x10], ecx
sub ecx, 1
jg 0x14001aabe
mov rcx, qword [rdi]
mov r8, qword [rcx]
mov rdx, rdi
call qword [rioctlsocket + 8]
mov rax, rsi
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.1400b7620
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r13
pop rdi
pop rbp
ret
lea rdx, [0x14013b692]
mov rcx, rsi
call fcn.140022430
nop
or eax, 0xffffffff
lock xadd dword [rdi + 0x10], eax
sub eax, 1
jg 0x14001aabe
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + ioctlsocket]
jmp 0x14001aabe
mov ecx, 0x80004005
call fcn.1400020e0
nop
mov ecx, 0x80070057
call fcn.1400020e0
int3