Function at 0x14000a6b0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x140]
sub rsp, 0x240
movaps xmmword [rsp + 0x230], xmm6
mov rax, qword [0x14001f040]
xor rax, rsp
mov qword [rbp + 0x128], rax
mov r14, r8
mov r15, rdx
xor r13d, r13d
mov dword [rsp + 0x30], r13d
cmp qword [rdx + 0x18], 7
jbe 0x14000a700
mov rdx, qword [rdx]
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14000a7c1
lea rdx, str.Failed_to_open_reg_key:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400071f0
mov rbx, rax
mov rdx, r15
lea rcx, [rsp + 0x58]
call fcn.140011f20
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14000a75c
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.1400085c0
lea rdx, [0x1400073d0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x14000b81a
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a7b7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000a7b7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013d44
jmp 0x14000b81a
mov dword [rbp + 0x98], r13d
mov rdx, r14
cmp qword [r14 + 0x18], 7
jbe 0x14000a7d5
mov rdx, qword [r14]
lea rax, [rbp + 0x98]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000b80d
mov eax, dword [rbp + 0x98]
test eax, eax
je 0x14000b80d
mov r8d, eax
shr r8, 1
xorps xmm0, xmm0
movups xmmword [rbp + 0x108], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x118], xmm1
lea rcx, [rbp + 0x108]
call fcn.14000db30
nop
lea rax, [rbp + 0x108]
cmp qword [rbp + 0x120], 7
cmova rax, qword [rbp + 0x108]
mov rdx, r14
cmp qword [r14 + 0x18], 7
jbe 0x14000a85b
mov rdx, qword [r14]
lea rcx, [rbp + 0x98]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14000a9b0
lea rdx, str.Failed_to_read_reg_value:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400071f0
mov rbx, rax
mov rdx, r15
lea rcx, [rsp + 0x58]
call fcn.140011f20
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14000a8b9
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.1400085c0
lea rdx, [0x1400181fc]
mov rcx, rax
call fcn.1400071f0
mov rbx, rax
mov rdx, r14
lea rcx, [rbp - 0x28]
call fcn.140011f20
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14000a8f1
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.1400085c0
lea rdx, [0x1400073d0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x14000a94b
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a946
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000a946
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013d44
movdqa xmm0, xmmword [0x1400196a0]
movdqu xmmword [rbp - 0x18], xmm0
mov byte [rbp - 0x28], 0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x14000a99c
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a997
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000a997
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013d44
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor bl, bl
jmp 0x14000b7bf
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov rbx, r13
mov qword [rbp - 0x78], rbx
mov edi, 0xf
mov qword [rbp - 0x70], rdi
mov byte [rsp + 0x78], bl
mov dword [rsp + 0x30], 1
mov esi, 0xc
lea r12, str.0123456789ABCDEF
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x8000000f
jge 0x14000a9f4
dec eax
or eax, 0xfffffff0
inc eax
cdqe
movzx r9d, byte [rax + r12]
cmp rbx, rdi
jae 0x14000aa22
lea rax, [rbx + 1]
mov qword [rbp - 0x78], rax
lea rax, [rsp + 0x78]
cmp rdi, 0xf
cmova rax, qword [rsp + 0x78]
mov byte [rax + rbx], r9b
mov byte [rax + rbx + 1], 0
jmp 0x14000aa2c
lea rcx, [rsp + 0x78]
call fcn.140007dd0
sub rsi, 1
je 0x14000aa3c
mov rdi, qword [rbp - 0x70]
mov rbx, qword [rbp - 0x78]
jmp 0x14000a9e0
xorps xmm0, xmm0
movups xmmword [rbp + 0xa8], xmm0
mov qword [rbp + 0xc0], 0xf
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x8000000f
jge 0x14000aa65
dec eax
or eax, 0xfffffff0
inc eax
cdqe
movzx eax, byte [rax + r12]
mov byte [rbp + 0xa8], al
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x8000000f
jge 0x14000aa86
dec eax
or eax, 0xfffffff0
inc eax
cdqe
movzx eax, byte [rax + r12]
mov byte [rbp + 0xa9], al
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x8000000f
jge 0x14000aaa7
dec eax
or eax, 0xfffffff0
inc eax
cdqe
movzx eax, byte [rax + r12]
mov byte [rbp + 0xaa], al
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x8000000f
jge 0x14000aac8
dec eax
or eax, 0xfffffff0
inc eax
cdqe
movzx ecx, byte [rax + r12]
mov qword [rbp + 0xb8], 4
mov byte [rbp + 0xab], cl
mov byte [rbp + 0xac], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x30], 0xf
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x8000000f
jge 0x14000ab0a
dec eax
or eax, 0xfffffff0
inc eax
cdqe
movzx eax, byte [rax + r12]
mov byte [rbp - 0x48], al
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x8000000f
jge 0x14000ab28
dec eax
or eax, 0xfffffff0
inc eax
cdqe
movzx eax, byte [rax + r12]
mov byte [rbp - 0x47], al
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x8000000f
jge 0x14000ab46
dec eax
or eax, 0xfffffff0
inc eax
cdqe
movzx eax, byte [rax + r12]
mov byte [rbp - 0x46], al
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x8000000f
jge 0x14000ab64
dec eax
or eax, 0xfffffff0
inc eax
cdqe
movzx ecx, byte [rax + r12]
mov qword [rbp - 0x38], 4
mov byte [rbp - 0x45], cl
mov byte [rbp - 0x44], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x50], 0xf
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x8000000f
jge 0x14000ab9d
dec eax
or eax, 0xfffffff0
inc eax
cdqe
movzx eax, byte [rax + r12]
mov byte [rbp - 0x68], al
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x8000000f
jge 0x14000abbb
dec eax
or eax, 0xfffffff0
inc eax
cdqe
movzx eax, byte [rax + r12]
mov byte [rbp - 0x67], al
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x8000000f
jge 0x14000abd9
dec eax
or eax, 0xfffffff0
inc eax
cdqe
movzx eax, byte [rax + r12]
mov byte [rbp - 0x66], al
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x8000000f
jge 0x14000abf7
dec eax
or eax, 0xfffffff0
inc eax
cdqe
movzx ecx, byte [rax + r12]
mov qword [rbp - 0x58], 4
mov byte [rbp - 0x65], cl
mov byte [rbp - 0x64], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], 0xf
mov byte [rsp + 0x38], 0
mov ebx, 0x1f
mov dword [rsp + 0x30], ebx
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x8000000f
jge 0x14000ac45
dec eax
or eax, 0xfffffff0
inc eax
cdqe
movzx r9d, byte [rax + r12]
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
cmp rcx, rdx
jae 0x14000ac7e
lea rax, [rcx + 1]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x38]
cmp rdx, 0xf
cmova rax, qword [rsp + 0x38]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14000ac88
lea rcx, [rsp + 0x38]
call fcn.140007dd0
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x8000000f
jge 0x14000ac9c
dec eax
or eax, 0xfffffff0
inc eax
cdqe
movzx r9d, byte [rax + r12]
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
cmp rcx, rdx
jae 0x14000acd5
lea rax, [rcx + 1]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x38]
cmp rdx, 0xf
cmova rax, qword [rsp + 0x38]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14000acdf
lea rcx, [rsp + 0x38]
call fcn.140007dd0
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x8000000f
jge 0x14000acf3
dec eax
or eax, 0xfffffff0
inc eax
cdqe
movzx r9d, byte [rax + r12]
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
cmp rcx, rdx
jae 0x14000ad2c
lea rax, [rcx + 1]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x38]
cmp rdx, 0xf
cmova rax, qword [rsp + 0x38]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14000ad36
lea rcx, [rsp + 0x38]
call fcn.140007dd0
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x8000000f
jge 0x14000ad4a
dec eax
or eax, 0xfffffff0
inc eax
cdqe
movzx r9d, byte [rax + r12]
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
cmp rcx, rdx
jae 0x14000ad83
lea rax, [rcx + 1]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x38]
cmp rdx, 0xf
cmova rax, qword [rsp + 0x38]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14000ad8d
lea rcx, [rsp + 0x38]
call fcn.140007dd0
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x8000000f
jge 0x14000ada1
dec eax
or eax, 0xfffffff0
inc eax
cdqe
movzx r9d, byte [rax + r12]
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
cmp rcx, rdx
jae 0x14000adda
lea rax, [rcx + 1]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x38]
cmp rdx, 0xf
cmova rax, qword [rsp + 0x38]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14000ade4
lea rcx, [rsp + 0x38]
call fcn.140007dd0
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x8000000f
jge 0x14000adf8
dec eax
or eax, 0xfffffff0
inc eax
cdqe
movzx r9d, byte [rax + r12]
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
cmp rcx, rdx
jae 0x14000ae31
lea rax, [rcx + 1]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x38]
cmp rdx, 0xf
cmova rax, qword [rsp + 0x38]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14000ae3b
lea rcx, [rsp + 0x38]
call fcn.140007dd0
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x8000000f
jge 0x14000ae4f
dec eax
or eax, 0xfffffff0
inc eax
cdqe
movzx r9d, byte [rax + r12]
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
cmp rcx, rdx
jae 0x14000ae88
lea rax, [rcx + 1]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x38]
cmp rdx, 0xf
cmova rax, qword [rsp + 0x38]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14000ae92
lea rcx, [rsp + 0x38]
call fcn.140007dd0
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x8000000f
jge 0x14000aea6
dec eax
or eax, 0xfffffff0
inc eax
cdqe
movzx r9d, byte [rax + r12]
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
cmp rcx, rdx
jae 0x14000aedf
lea rax, [rcx + 1]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x38]
cmp rdx, 0xf
cmova rax, qword [rsp + 0x38]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14000aee9
lea rcx, [rsp + 0x38]
call fcn.140007dd0
mov r8d, 1
lea rdx, [0x14001816c]
lea rcx, [rsp + 0x38]
call fcn.140006ca0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rax + 0x18], 0xf
mov qword [rax + 0x10], r13
mov byte [rax], 0
or ebx, 0x20
mov dword [rsp + 0x30], ebx
lea r9, [rbp - 0x68]
lea r8, [rsp + 0x58]
lea rcx, [rbp - 0x28]
call fcn.14000de80
or ebx, 0x40
mov dword [rsp + 0x30], ebx
mov r8d, 1
lea rdx, [0x14001816c]
lea rcx, [rbp - 0x28]
call fcn.140006ca0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 8], xmm1
mov qword [rax + 0x18], 0xf
mov qword [rax + 0x10], r13
mov byte [rax], 0
bts ebx, 7
mov dword [rsp + 0x30], ebx
lea r9, [rbp - 0x48]
lea r8, [rbp - 8]
lea rcx, [rbp + 0x38]
call fcn.14000de80
bts ebx, 8
mov dword [rsp + 0x30], ebx
mov r8d, 1
lea rdx, [0x14001816c]
lea rcx, [rbp + 0x38]
call fcn.140006ca0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x88], xmm1
mov qword [rax + 0x18], 0xf
mov qword [rax + 0x10], r13
mov byte [rax], 0
bts ebx, 9
mov dword [rsp + 0x30], ebx
lea r9, [rbp + 0xa8]
lea r8, [rbp + 0x78]
lea rcx, [rbp + 0x18]
call fcn.14000de80
bts ebx, 0xa
mov dword [rsp + 0x30], ebx
mov r8d, 1
lea rdx, [0x14001816c]
lea rcx, [rbp + 0x18]
call fcn.140006ca0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x68], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
bts ebx, 0xb
mov dword [rsp + 0x30], ebx
lea r9, [rsp + 0x78]
lea r8, [rbp + 0x58]
lea rcx, [rbp + 0xc8]
call fcn.14000de80
nop
mov rdx, qword [rbp + 0x70]
cmp rdx, 0xf
jbe 0x14000b081
inc rdx
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b07b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b07b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013d44
nop
mov rdx, qword [rbp + 0x30]
cmp rdx, 0xf
jbe 0x14000b0bf
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b0ba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b0ba
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013d44
movdqa xmm6, xmmword [0x1400196a0]
movdqu xmmword [rbp + 0x28], xmm6
mov byte [rbp + 0x18], 0
mov rdx, qword [rbp + 0x90]
cmp rdx, 0xf
jbe 0x14000b112
inc rdx
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b10c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b10c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013d44
nop
mov rdx, qword [rbp + 0x50]
cmp rdx, 0xf
jbe 0x14000b150
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b14b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b14b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013d44
movdqu xmmword [rbp + 0x48], xmm6
mov byte [rbp + 0x38], 0
mov rdx, qword [rbp + 0x10]
cmp rdx, 0xf
jbe 0x14000b198
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b192
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b192
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013d44
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x14000b1d6
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b1d1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b1d1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013d44
movdqu xmmword [rbp - 0x18], xmm6
mov byte [rbp - 0x28], 0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x14000b220
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b21a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b21a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013d44
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x14000b260
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b25b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b25b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013d44
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], 0xf
mov byte [rsp + 0x38], 0
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x14000b2b2
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b2ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b2ac
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013d44
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x14000b2f1
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b2eb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b2eb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013d44
nop
mov rdx, qword [rbp + 0xc0]
cmp rdx, 0xf
jbe 0x14000b336
inc rdx
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b330
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b330
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013d44
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x14000b375
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b370
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b370
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013d44
cmp qword [rbp + 0xd8], 0
jne 0x14000b39e
xorps xmm0, xmm0
movups xmmword [rbp + 0xe8], xmm0
movdqa xmm1, xmmword [0x140019690]
mov word [rbp + 0xe8], r13w
jmp 0x14000b45a
lea r8, [rbp + 0xc8]
cmp qword [rbp + 0xe0], 0xf
cmova r8, qword [rbp + 0xc8]
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
mov r9d, dword [rbp + 0xd8]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rbx, eax
xorps xmm0, xmm0
movups xmmword [rbp + 0xa8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xb8], xmm1
mov r8, rbx
lea rcx, [rbp + 0xa8]
call fcn.14000db30
lea rdx, [rbp + 0xa8]
cmp qword [rbp + 0xc0], 7
cmova rdx, qword [rbp + 0xa8]
lea r8, [rbp + 0xc8]
cmp qword [rbp + 0xe0], 0xf
cmova r8, qword [rbp + 0xc8]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rdx
mov r9d, dword [rbp + 0xd8]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movups xmm0, xmmword [rbp + 0xa8]
movups xmmword [rbp + 0xe8], xmm0
movups xmm1, xmmword [rbp + 0xb8]
movdqu xmmword [rbp + 0xf8], xmm1
movd eax, xmm1
lea r8d, [rax*2 + 2]
lea rcx, [rbp + 0xe8]
psrldq xmm1, 8
movq rax, xmm1
cmp rax, 7
cmova rcx, qword [rbp + 0xe8]
mov rdx, r14
cmp qword [r14 + 0x18], 7
jbe 0x14000b498
mov rdx, qword [r14]
mov dword [rsp + 0x28], r8d
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x14000b5e3
lea rdx, str.Failed_to_set_reg_value:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400071f0
mov rbx, rax
mov rdx, r15
lea rcx, [rbp - 8]
call fcn.140011f20
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14000b4f1
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.1400085c0
lea rdx, [0x1400181fc]
mov rcx, rax
call fcn.1400071f0
mov rbx, rax
mov rdx, r14
lea rcx, [rsp + 0x58]
call fcn.140011f20
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14000b52a
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.1400085c0
lea rdx, [0x1400073d0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x14000b586
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b581
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b581
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013d44
movdqu xmmword [rsp + 0x68], xmm6
mov byte [rsp + 0x58], 0
mov rdx, qword [rbp + 0x10]
cmp rdx, 0xf
jbe 0x14000b5cf
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b5ca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b5ca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013d44
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor bl, bl
jmp 0x14000b701
lea rdx, str.Spoofed___
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400071f0
mov rbx, rax
mov rdx, r15
lea rcx, [rbp - 8]
call fcn.140011f20
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14000b614
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.1400085c0
lea rdx, [0x1400181fc]
mov rcx, rax
call fcn.1400071f0
mov rbx, rax
mov rdx, r14
lea rcx, [rsp + 0x58]
call fcn.140011f20
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14000b64d
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.1400085c0
lea rdx, [0x1400073d0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x14000b6a9
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b6a4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b6a4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013d44
movdqu xmmword [rsp + 0x68], xmm6
mov byte [rsp + 0x58], 0
mov rdx, qword [rbp + 0x10]
cmp rdx, 0xf
jbe 0x14000b6f2
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b6ed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b6ed
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013d44
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, 1
mov rdx, qword [rbp + 0x100]
cmp rdx, 7
jbe 0x14000b74a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xe8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b745
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b745
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013d44
movdqa xmm0, xmmword [0x140019690]
movdqu xmmword [rbp + 0xf8], xmm0
mov word [rbp + 0xe8], r13w
mov rdx, qword [rbp + 0xe0]
cmp rdx, 0xf
jbe 0x14000b7a6
inc rdx
mov rcx, qword [rbp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b7a1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b7a1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013d44
mov qword [rbp + 0xd8], r13
mov qword [rbp + 0xe0], 0xf
mov byte [rbp + 0xc8], 0
mov rdx, qword [rbp + 0x120]
cmp rdx, 7
jbe 0x14000b808
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x108]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b803
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b803
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013d44
movzx eax, bl
jmp 0x14000b81c
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov rcx, qword [rbp + 0x128]
xor rcx, rsp
call fcn.1400139d0
mov rbx, qword [rsp + 0x280]
movaps xmm6, xmmword [rsp + 0x230]
add rsp, 0x240
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret