Function at 0x14000c070
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 [0x140025040]
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 0x14000c0c0
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 0x14000c181
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.1400071d0
mov rbx, rax
mov rdx, r15
lea rcx, [rsp + 0x58]
call fcn.140009900
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14000c11c
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.1400085a0
lea rdx, [0x1400073b0]
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 0x14000d2f8
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c177
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c177
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400176d4
jmp 0x14000d2f8
mov dword [rbp + 0x98], r13d
mov rdx, r14
cmp qword [r14 + 0x18], 7
jbe 0x14000c195
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 0x14000d1d2
mov eax, dword [rbp + 0x98]
test eax, eax
je 0x14000d1d2
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.140009b20
nop
lea rax, [rbp + 0x108]
cmp qword [rbp + 0x120], 7
cmova rax, qword [rbp + 0x108]
mov rdx, r14
cmp qword [r14 + 0x18], 7
jbe 0x14000c21b
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 0x14000c370
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.1400071d0
mov rbx, rax
mov rdx, r15
lea rcx, [rsp + 0x58]
call fcn.140009900
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14000c279
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.1400085a0
lea rdx, [0x14001c3dc]
mov rcx, rax
call fcn.1400071d0
mov rbx, rax
mov rdx, r14
lea rcx, [rbp - 8]
call fcn.140009900
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14000c2b1
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.1400085a0
lea rdx, [0x1400073b0]
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 0x14000c30b
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c306
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c306
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400176d4
movdqa xmm0, xmmword [0x14001d9b0]
movdqu xmmword [rbp + 8], xmm0
mov byte [rbp - 8], 0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x14000c35c
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c357
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c357
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400176d4
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor bl, bl
jmp 0x14000d181
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov rbx, r13
mov qword [rbp - 0x58], rbx
mov edi, 0xf
mov qword [rbp - 0x50], rdi
mov byte [rbp - 0x68], bl
mov dword [rsp + 0x30], 1
mov esi, 0xc
lea r12, str.0123456789ABCDEF
nop
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x8000000f
jge 0x14000c3b4
dec eax
or eax, 0xfffffff0
inc eax
cdqe
movzx r9d, byte [rax + r12]
cmp rbx, rdi
jae 0x14000c3e0
lea rax, [rbx + 1]
mov qword [rbp - 0x58], rax
lea rax, [rbp - 0x68]
cmp rdi, 0xf
cmova rax, qword [rbp - 0x68]
mov byte [rax + rbx], r9b
mov byte [rax + rbx + 1], 0
jmp 0x14000c3e9
lea rcx, [rbp - 0x68]
call fcn.140007db0
sub rsi, 1
je 0x14000c3f9
mov rdi, qword [rbp - 0x50]
mov rbx, qword [rbp - 0x58]
jmp 0x14000c3a0
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 0x14000c422
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 0x14000c443
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 0x14000c464
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 0x14000c485
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 - 0x28], xmm0
mov qword [rbp - 0x10], 0xf
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x8000000f
jge 0x14000c4c7
dec eax
or eax, 0xfffffff0
inc eax
cdqe
movzx eax, byte [rax + r12]
mov byte [rbp - 0x28], al
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x8000000f
jge 0x14000c4e5
dec eax
or eax, 0xfffffff0
inc eax
cdqe
movzx eax, byte [rax + r12]
mov byte [rbp - 0x27], al
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x8000000f
jge 0x14000c503
dec eax
or eax, 0xfffffff0
inc eax
cdqe
movzx eax, byte [rax + r12]
mov byte [rbp - 0x26], al
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x8000000f
jge 0x14000c521
dec eax
or eax, 0xfffffff0
inc eax
cdqe
movzx ecx, byte [rax + r12]
mov qword [rbp - 0x18], 4
mov byte [rbp - 0x25], cl
mov byte [rbp - 0x24], 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 0x14000c55a
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 0x14000c578
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 0x14000c596
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 0x14000c5b4
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 [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 0x14000c602
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 0x14000c63b
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 0x14000c645
lea rcx, [rsp + 0x38]
call fcn.140007db0
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x8000000f
jge 0x14000c659
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 0x14000c692
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 0x14000c69c
lea rcx, [rsp + 0x38]
call fcn.140007db0
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x8000000f
jge 0x14000c6b0
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 0x14000c6e9
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 0x14000c6f3
lea rcx, [rsp + 0x38]
call fcn.140007db0
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x8000000f
jge 0x14000c707
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 0x14000c740
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 0x14000c74a
lea rcx, [rsp + 0x38]
call fcn.140007db0
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x8000000f
jge 0x14000c75e
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 0x14000c797
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 0x14000c7a1
lea rcx, [rsp + 0x38]
call fcn.140007db0
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x8000000f
jge 0x14000c7b5
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 0x14000c7ee
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 0x14000c7f8
lea rcx, [rsp + 0x38]
call fcn.140007db0
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x8000000f
jge 0x14000c80c
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 0x14000c845
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 0x14000c84f
lea rcx, [rsp + 0x38]
call fcn.140007db0
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x8000000f
jge 0x14000c863
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 0x14000c89c
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 0x14000c8a6
lea rcx, [rsp + 0x38]
call fcn.140007db0
mov r8d, 1
lea rdx, [0x14001c424]
lea rcx, [rsp + 0x38]
call fcn.140006c90
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 - 0x48]
lea r8, [rsp + 0x58]
lea rcx, [rbp - 8]
call fcn.1400109f0
or ebx, 0x40
mov dword [rsp + 0x30], ebx
mov r8d, 1
lea rdx, [0x14001c424]
lea rcx, [rbp - 8]
call fcn.140006c90
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x78], 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 - 0x28]
lea r8, [rsp + 0x78]
lea rcx, [rbp + 0x38]
call fcn.1400109f0
bts ebx, 8
mov dword [rsp + 0x30], ebx
mov r8d, 1
lea rdx, [0x14001c424]
lea rcx, [rbp + 0x38]
call fcn.140006c90
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.1400109f0
bts ebx, 0xa
mov dword [rsp + 0x30], ebx
mov r8d, 1
lea rdx, [0x14001c424]
lea rcx, [rbp + 0x18]
call fcn.140006c90
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, [rbp - 0x68]
lea r8, [rbp + 0x58]
lea rcx, [rbp + 0xc8]
call fcn.1400109f0
nop
mov rdx, qword [rbp + 0x70]
cmp rdx, 0xf
jbe 0x14000ca3f
inc rdx
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ca39
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ca39
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400176d4
nop
mov rdx, qword [rbp + 0x30]
cmp rdx, 0xf
jbe 0x14000ca7d
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ca78
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ca78
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400176d4
movdqa xmm6, xmmword [0x14001d9b0]
movdqu xmmword [rbp + 0x28], xmm6
mov byte [rbp + 0x18], 0
mov rdx, qword [rbp + 0x90]
cmp rdx, 0xf
jbe 0x14000cad0
inc rdx
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000caca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000caca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400176d4
nop
mov rdx, qword [rbp + 0x50]
cmp rdx, 0xf
jbe 0x14000cb0e
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cb09
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000cb09
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400176d4
movdqu xmmword [rbp + 0x48], xmm6
mov byte [rbp + 0x38], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x14000cb57
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cb51
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000cb51
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400176d4
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 0xf
jbe 0x14000cb95
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cb90
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000cb90
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400176d4
movdqu xmmword [rbp + 8], xmm6
mov byte [rbp - 8], 0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x14000cbdf
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cbd9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000cbd9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400176d4
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x14000cc1f
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cc1a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000cc1a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400176d4
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], 0xf
mov byte [rsp + 0x38], 0
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x14000cc71
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cc6b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000cc6b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400176d4
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x14000ccb0
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ccaa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ccaa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400176d4
nop
mov rdx, qword [rbp + 0xc0]
cmp rdx, 0xf
jbe 0x14000ccf5
inc rdx
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ccef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ccef
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400176d4
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x14000cd33
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cd2e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000cd2e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400176d4
cmp qword [rbp + 0xd8], 0
jne 0x14000cd5c
xorps xmm0, xmm0
movups xmmword [rbp + 0xe8], xmm0
movdqa xmm1, xmmword [0x14001d9a0]
mov word [rbp + 0xe8], r13w
jmp 0x14000ce18
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.140009b20
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 0x14000ce56
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 0x14000cfa3
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.1400071d0
mov rbx, rax
mov rdx, r15
lea rcx, [rsp + 0x78]
call fcn.140009900
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14000ceb0
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.1400085a0
lea rdx, [0x14001c3dc]
mov rcx, rax
call fcn.1400071d0
mov rbx, rax
mov rdx, r14
lea rcx, [rsp + 0x58]
call fcn.140009900
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14000cee9
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.1400085a0
lea rdx, [0x1400073b0]
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 0x14000cf45
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cf40
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000cf40
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400176d4
movdqu xmmword [rsp + 0x68], xmm6
mov byte [rsp + 0x58], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x14000cf8f
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cf8a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000cf8a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400176d4
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor bl, bl
jmp 0x14000d0c3
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.1400071d0
mov rbx, rax
mov rdx, r15
lea rcx, [rsp + 0x78]
call fcn.140009900
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14000cfd5
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.1400085a0
lea rdx, [0x14001c3dc]
mov rcx, rax
call fcn.1400071d0
mov rbx, rax
mov rdx, r14
lea rcx, [rsp + 0x58]
call fcn.140009900
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14000d00e
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.1400085a0
lea rdx, [0x1400073b0]
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 0x14000d06a
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d065
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d065
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400176d4
movdqu xmmword [rsp + 0x68], xmm6
mov byte [rsp + 0x58], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x14000d0b4
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d0af
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d0af
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400176d4
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, 1
mov rdx, qword [rbp + 0x100]
cmp rdx, 7
jbe 0x14000d10c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xe8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d107
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d107
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400176d4
movdqa xmm0, xmmword [0x14001d9a0]
movdqu xmmword [rbp + 0xf8], xmm0
mov word [rbp + 0xe8], r13w
mov rdx, qword [rbp + 0xe0]
cmp rdx, 0xf
jbe 0x14000d168
inc rdx
mov rcx, qword [rbp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d163
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d163
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400176d4
mov qword [rbp + 0xd8], r13
mov qword [rbp + 0xe0], 0xf
mov byte [rbp + 0xc8], 0
mov rdx, qword [rbp + 0x120]
cmp rdx, 7
jbe 0x14000d1ca
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x108]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d1c5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d1c5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400176d4
movzx eax, bl
jmp 0x14000d2fa
lea rdx, str._IGNORE__Failed_to_query_reg_value:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400071d0
mov rbx, rax
mov rdx, r15
lea rcx, [rsp + 0x78]
call fcn.140009900
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14000d204
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.1400085a0
lea rdx, [0x14001c3dc]
mov rcx, rax
call fcn.1400071d0
mov rbx, rax
mov rdx, r14
lea rcx, [rsp + 0x58]
call fcn.140009900
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14000d23d
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.1400085a0
lea rdx, [0x1400073b0]
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 0x14000d299
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d294
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d294
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400176d4
movdqa xmm0, xmmword [0x14001d9b0]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x14000d2eb
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d2e6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d2e6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400176d4
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.140017360
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