Function at 0x7ff738e01f10
Capabilities:
Encode data using xor
Hash data using fnv
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xd30]
sub rsp, 0xe30
mov rax, qword [0x7ff738e30008]
xor rax, rsp
mov qword [rbp + 0xd20], rax
xorps xmm0, xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
xor r14d, r14d
mov qword [rbp - 0x78], r14
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
lea rdx, [rbp + 0x20]
call fcn.7ff738e01680
nop
mov rdi, qword [rbp + 0x28]
mov rbx, qword [rdi]
mov rcx, qword [rbp - 0x80]
cmp rbx, rdi
je 0x7ff738e01fc1
lea r8, [rbx + 0x10]
cmp rcx, qword [rbp - 0x78]
je 0x7ff738e01fa5
mov rdx, r8
call fcn.7ff738e032c0
mov rcx, qword [rbp - 0x80]
add rcx, 0x20
mov qword [rbp - 0x80], rcx
jmp 0x7ff738e01fb6
mov rdx, rcx
lea rcx, [rsp + 0x78]
call fcn.7ff738e03af0
mov rcx, qword [rbp - 0x80]
mov rax, qword [rbx]
mov rbx, rax
cmp rax, rdi
jne 0x7ff738e01f85
mov edx, r14d
mov dword [rsp + 0x44], edx
mov rax, qword [rsp + 0x78]
cmp rax, rcx
je 0x7ff738e01fe1
inc edx
add rax, 0x20
cmp rax, rcx
jne 0x7ff738e01fd2
mov dword [rsp + 0x44], edx
mov ebx, 1
mov dword [rsp + 0x40], ebx
lea rdx, [0x7ff738e25b88]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.7ff738e038e0
mov r9, rax
mov rdx, r14
mov rcx, qword [rbp - 0x80]
mov r8, qword [rsp + 0x78]
sub rcx, r8
sar rcx, 5
test rcx, rcx
je 0x7ff738e02915
mov edi, ebx
mov qword [rsp + 0x50], rbx
nop dword [rax]
nop word [rax + rax]
mov dword [rsp + 0x48], ebx
shl rdx, 5
add rdx, r8
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x7ff738e02049
mov rdx, qword [rdx]
mov rcx, r9
call fcn.7ff738e04660
lea rdx, [0x7ff738e03ab0]
mov rcx, rax
call qword [sym.imp.msvcp140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___class_std::basic_istream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_istream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [0x7ff738e25b98]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.7ff738e038e0
mov qword [rsp + 0x60], rax
lea r13, [rdi - 1]
mov rcx, qword [rbp - 0x80]
mov rdx, qword [rsp + 0x78]
sub rcx, rdx
sar rcx, 5
cmp rcx, r13
jbe 0x7ff738e02915
mov r12, r13
shl r12, 5
lea rsi, [rdx + r12]
mov rdi, qword [rsi + 0x10]
mov r8, rsi
mov r15, qword [rsi + 0x18]
cmp r15, 0x10
jb 0x7ff738e020b5
mov r8, qword [rsi]
movabs rcx, 0xcbf29ce484222325
mov rdx, r14
test rdi, rdi
je 0x7ff738e020e9
movabs r15, 0x100000001b3
movzx eax, byte [rdx + r8]
xor rcx, rax
imul rcx, r15
inc rdx
cmp rdx, rdi
jb 0x7ff738e020d1
mov r15, qword [rsi + 0x18]
and rcx, qword [rbp + 0x50]
add rcx, rcx
mov rax, qword [rbp + 0x38]
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [rbp + 0x28]
je 0x7ff738e02901
mov r14, qword [rax + rcx*8]
nop word [rax + rax]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x7ff738e02122
mov rdx, qword [rdx]
mov rcx, rsi
cmp r15, 0x10
jb 0x7ff738e0212e
mov rcx, qword [rsi]
cmp rdi, rax
jne 0x7ff738e0213f
mov r8, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x7ff738e0214e
cmp rbx, r14
je 0x7ff738e02901
mov rbx, qword [rbx + 8]
jmp 0x7ff738e02110
test rbx, rbx
je 0x7ff738e02901
lea rdx, [rbx + 0x30]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x7ff738e02169
mov rdx, qword [rdx]
mov rcx, qword [rsp + 0x60]
call fcn.7ff738e04660
lea rdx, [0x7ff738e03ab0]
mov rcx, rax
call qword [sym.imp.msvcp140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___class_std::basic_istream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_istream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rax, qword [rbp - 0x80]
mov rcx, qword [rsp + 0x78]
sub rax, rcx
sar rax, 5
cmp rax, r13
jbe 0x7ff738e02915
lea rdx, [rcx + r12]
cmp qword [rdx + 0x18], 0x10
jb 0x7ff738e021b3
mov rbx, qword [rdx]
mov rdi, rbx
add rbx, qword [rdx + 0x10]
jmp 0x7ff738e021bd
mov rbx, qword [rdx + 0x10]
add rbx, rdx
mov rdi, rdx
xor r14d, r14d
mov qword [rbp - 0x30], r14
mov ecx, r14d
mov qword [rbp - 0x20], rcx
mov r8d, 7
mov qword [rbp - 0x18], r8
mov word [rbp - 0x30], r14w
mov rdx, rbx
sub rdx, rdi
cmp rdx, r8
jbe 0x7ff738e021f9
lea rcx, [rbp - 0x30]
call fcn.7ff738e04820
mov ecx, r14d
mov qword [rbp - 0x20], rcx
mov r8, qword [rbp - 0x18]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x60], rax
cmp rdi, rbx
je 0x7ff738e0224d
movsx r9d, byte [rdi]
cmp rcx, r8
jae 0x7ff738e02232
lea rax, [rcx + 1]
mov qword [rbp - 0x20], rax
lea rax, [rbp - 0x30]
cmp r8, 8
cmovae rax, qword [rbp - 0x30]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], r14w
jmp 0x7ff738e0223b
lea rcx, [rbp - 0x30]
call fcn.7ff738e041c0
inc rdi
mov r8, qword [rbp - 0x18]
cmp rdi, rbx
je 0x7ff738e0224d
mov rcx, qword [rbp - 0x20]
jmp 0x7ff738e02207
lea r13, [rbp - 0x30]
cmp r8, 8
cmovae r13, qword [rbp - 0x30]
mov qword [rsp + 0x68], r14
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [0x7ff738e25bb0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.advapi32.dll_RegOpenKeyExW]
test eax, eax
jne 0x7ff738e0277f
mov r12d, r14d
mov dword [rsp + 0x70], 0x400
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x70]
lea r8, [rbp + 0x520]
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.advapi32.dll_RegEnumKeyExW]
test eax, eax
jne 0x7ff738e02772
nop
mov qword [rsp + 0x60], r14
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [rbp + 0x520]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.advapi32.dll_RegOpenKeyExW]
test eax, eax
jne 0x7ff738e02731
mov dword [rbp + 0x10], 0x400
lea rax, [rbp + 0x10]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x7ff738e25c50]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.advapi32.dll_RegQueryValueExW]
test eax, eax
jne 0x7ff738e02726
lea rax, [rbp + 0x60]
mov r8, r13
sub r8, rax
nop word [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x7ff738e02364
add rax, 2
test ecx, ecx
jne 0x7ff738e02350
test edx, edx
jne 0x7ff738e02726
lea rdx, [rbp - 0x70]
call fcn.7ff738e01280
nop
mov qword [rbp - 0x10], r14
mov qword [rbp], r14
mov qword [rbp + 8], r14
mov rbx, qword [rbp - 0x60]
lea rsi, [rbp - 0x70]
mov rdi, qword [rbp - 0x70]
mov r15, qword [rbp - 0x58]
cmp r15, 0x10
cmovae rsi, rdi
cmp rbx, 0x10
jae 0x7ff738e023b8
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], rbx
mov qword [rbp + 8], 0xf
jmp 0x7ff738e02442
mov rdi, rbx
or rdi, 0xf
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
cmova rdi, rax
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x7ff738e0240c
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x7ff738e0290f
mov rcx, rax
call fcn.7ff738e21b50
mov rcx, rax
test rax, rax
je 0x7ff738e02862
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x7ff738e0241b
test rcx, rcx
je 0x7ff738e02418
call fcn.7ff738e21b50
jmp 0x7ff738e0241b
mov rax, r14
mov qword [rbp - 0x10], rax
lea r8, [rbx + 1]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp], rbx
mov qword [rbp + 8], rdi
mov r15, qword [rbp - 0x58]
mov rbx, qword [rbp - 0x60]
mov rdi, qword [rbp - 0x70]
lea rax, [rbp - 0x70]
cmp r15, 0x10
jb 0x7ff738e02459
mov rcx, rdi
lea rsi, [rdi + rbx]
lea r14, [rdi + rbx]
jmp 0x7ff738e02468
lea r14, [rax + rbx]
lea rsi, [rbp - 0x70]
add rsi, rbx
lea rcx, [rbp - 0x70]
mov r8, rsi
sub r8, rcx
mov edx, 0x2d
call sub.VCRUNTIME140.dll_memchr
mov rcx, rsi
test rax, rax
cmovne rcx, rax
mov rdx, rcx
cmp rcx, rsi
je 0x7ff738e024b2
inc rcx
cmp rcx, rsi
je 0x7ff738e024b2
movzx eax, byte [rcx]
cmp al, 0x2d
je 0x7ff738e0249e
mov byte [rdx], al
inc rdx
inc rcx
cmp rcx, rsi
jne 0x7ff738e02492
mov r15, qword [rbp - 0x58]
mov rbx, qword [rbp - 0x60]
mov rdi, qword [rbp - 0x70]
lea rax, [rbp - 0x70]
sub r14, rdx
cmp r15, 0x10
jb 0x7ff738e024c4
sub rdx, rdi
jmp 0x7ff738e024cb
sub rdx, rax
lea rdi, [rbp - 0x70]
mov rax, rbx
sub rax, rdx
cmp rax, r14
cmovb r14, rax
lea rcx, [rdi + rdx]
sub rbx, r14
mov qword [rbp - 0x60], rbx
sub rbx, rdx
lea r8, [rbx + 1]
lea rdx, [rcx + r14]
call sub.VCRUNTIME140.dll_memcpy_1
lea rcx, [rbp - 0x70]
mov rbx, qword [rbp - 0x60]
cmp qword [rbp - 0x58], 0x10
jb 0x7ff738e0250b
mov rdi, qword [rbp - 0x70]
add rbx, rdi
jmp 0x7ff738e02512
add rbx, rcx
lea rdi, [rbp - 0x70]
xor r14d, r14d
mov qword [rbp - 0x50], r14
mov ecx, r14d
mov qword [rbp - 0x40], rcx
mov r8d, 7
mov qword [rbp - 0x38], r8
mov word [rbp - 0x50], r14w
mov rdx, rbx
sub rdx, rdi
cmp rdx, r8
jbe 0x7ff738e0254e
lea rcx, [rbp - 0x50]
call fcn.7ff738e04820
mov ecx, r14d
mov qword [rbp - 0x40], rcx
mov r8, qword [rbp - 0x38]
lea rax, [rbp - 0x50]
mov qword [rsp + 0x58], rax
cmp rdi, rbx
je 0x7ff738e025a6
nop dword [rax]
movsx r9d, byte [rdi]
cmp rcx, r8
jae 0x7ff738e0258b
lea rax, [rcx + 1]
mov qword [rbp - 0x40], rax
lea rax, [rbp - 0x50]
cmp r8, 8
cmovae rax, qword [rbp - 0x50]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], r14w
jmp 0x7ff738e02594
lea rcx, [rbp - 0x50]
call fcn.7ff738e041c0
inc rdi
mov r8, qword [rbp - 0x38]
cmp rdi, rbx
je 0x7ff738e025a6
mov rcx, qword [rbp - 0x40]
jmp 0x7ff738e02560
lea rcx, [rbp - 0x50]
cmp r8, 8
cmovae rcx, qword [rbp - 0x50]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x7ff738e025c0
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
lea rdx, [0x7ff738e25c68]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.advapi32.dll_RegSetValueExW]
test eax, eax
jne 0x7ff738e0264f
lea rdx, [0x7ff738e25c88]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.7ff738e038e0
lea rdx, [rbp - 0x10]
cmp qword [rbp + 8], 0x10
cmovae rdx, qword [rbp - 0x10]
mov r8, qword [rbp]
mov rcx, rax
call fcn.7ff738e04660
lea rdx, [0x7ff738e03ab0]
mov rcx, rax
call qword [sym.imp.msvcp140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___class_std::basic_istream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_istream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov r8, r13
xor edx, edx
call fcn.7ff738e02920
mov r8, r13
mov edx, 1
call fcn.7ff738e02920
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x7ff738e0268f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff738e0268a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff738e0285b
call fcn.7ff738e21b94
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], r14w
mov rdx, qword [rbp + 8]
cmp rdx, 0x10
jb 0x7ff738e026db
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff738e026d6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff738e02862
call fcn.7ff738e21b94
mov qword [rbp], r14
mov qword [rbp + 8], 0xf
mov byte [rbp - 0x10], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x7ff738e02726
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff738e02721
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff738e02869
call fcn.7ff738e21b94
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.advapi32.dll_RegCloseKey]
mov dword [rsp + 0x70], 0x400
inc r12d
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x70]
lea r8, [rbp + 0x520]
mov edx, r12d
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.advapi32.dll_RegEnumKeyExW]
test eax, eax
je 0x7ff738e022d0
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x7ff738e027a2
lea rdx, [0x7ff738e25ca0]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.7ff738e038e0
lea rdx, [0x7ff738e03ab0]
mov rcx, rax
call qword [sym.imp.msvcp140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___class_std::basic_istream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_istream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [0x7ff738e25ce8]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.7ff738e038e0
lea rdx, [0x7ff738e03ab0]
mov rcx, rax
call qword [sym.imp.msvcp140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___class_std::basic_istream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_istream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ebx, dword [rsp + 0x40]
inc ebx
mov dword [rsp + 0x40], ebx
mov rdi, qword [rsp + 0x50]
inc rdi
mov qword [rsp + 0x50], rdi
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x7ff738e02818
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff738e02813
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff738e02870
call fcn.7ff738e21b94
mov eax, dword [rsp + 0x44]
inc eax
cmp ebx, eax
jge 0x7ff738e02877
lea rdx, [0x7ff738e25b88]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.7ff738e038e0
mov r9, rax
movsxd rdx, dword [rsp + 0x48]
mov rax, qword [rbp - 0x80]
mov r8, qword [rsp + 0x78]
sub rax, r8
sar rax, 5
cmp rax, rdx
jbe 0x7ff738e02915
jmp 0x7ff738e02030
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, [rbp + 0x20]
call fcn.7ff738e01da0
nop
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x7ff738e028d1
mov rdx, qword [rbp - 0x80]
call fcn.7ff738e04130
mov rdx, qword [rbp - 0x78]
mov rcx, qword [rsp + 0x78]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff738e028cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff738e028cc
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff738e21b94
mov rcx, qword [rbp + 0xd20]
xor rcx, rsp
call fcn.7ff738e21b30
lea r11, [rsp + 0xe30]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rcx, [0x7ff738e25d28]
call qword [sym.imp.msvcp140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
nop
call fcn.7ff738e011a0
nop
call fcn.7ff738e034e0
int3