Function at 0x140001dd0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14000b010]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rsi, rdx
cmp ecx, 3
je 0x140001e43
xor edi, edi
mov qword [rbp - 0x49], rdi
mov qword [rbp - 0x41], 0xf
mov byte [rbp - 0x59], dil
lea r8d, [rdi + 0x30]
lea rdx, str.ERROR_:_Invalid_number_of_command_line_arguments
lea rcx, [rbp - 0x59]
call fcn.1400023f0
lea rcx, [rbp - 0x59]
call fcn.140002ef0
lea eax, [rdi + 1]
jmp 0x1400021ff
call fcn.140001500
mov r9, qword [rsi + 8]
movdqa xmm0, xmmword [0x140007cc0]
movdqu xmmword [rbp + 0x17], xmm0
xor edi, edi
mov word [rbp + 7], di
mov r12, 0xffffffffffffffff
mov rdx, r12
nop dword [rax]
inc rdx
cmp word [r9 + rdx*2], di
jne 0x140001e70
lea rcx, [rbp + 7]
cmp rdx, 7
ja 0x140001e9e
mov qword [rbp + 0x17], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov word [rbp + rbx + 7], di
jmp 0x140001ea4
call fcn.140002920
nop
xor edx, edx
lea r8d, [rdx + 0xa]
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstol]
mov r15d, eax
movdqa xmm0, xmmword [0x140007cc0]
movdqu xmmword [rbp - 0x49], xmm0
mov word [rbp - 0x59], di
lea r9, str.SOFTWARENVIDIA_CorporationGlobalGFExperienceOC
mov edx, 0x32
lea rcx, [rbp - 0x59]
call fcn.140002920
nop
lea rdx, [rbp - 0x59]
cmp qword [rbp - 0x41], 8
cmovae rdx, qword [rbp - 0x59]
lea rax, [rbp - 1]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x11]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov qword [rbp - 0x29], rdi
mov qword [rbp - 0x21], 0xf
mov byte [rbp - 0x39], 0
test eax, eax
je 0x140001f64
movsxd rdx, eax
lea rax, str.ERROR_:_Failed_to_create_key_with_error
add rdx, rax
mov r8, r12
inc r8
cmp byte [rdx + r8], 0
jne 0x140001f46
lea rcx, [rbp - 0x39]
call fcn.1400023f0
lea rcx, [rbp - 0x39]
call fcn.140002ef0
jmp 0x140001f8e
mov r8d, 0x20
lea rdx, str.INFO_:_Successfully_created_key
lea rcx, [rbp - 0x39]
call fcn.1400023f0
lea rcx, [rbp - 0x39]
call fcn.140002ef0
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp - 0x41]
cmp rdx, 8
jb 0x140001fd1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001fcc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001fcc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005530
lea rax, [rbp - 0x59]
mov qword [rbp - 0x11], rax
mov qword [rbp - 0x49], rdi
mov qword [rbp - 0x41], rdi
mov r14, qword [rbp + 0x17]
lea rsi, [rbp + 7]
cmp qword [rbp + 0x1f], 8
cmovae rsi, qword [rbp + 7]
cmp r14, 8
jae 0x14000200a
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x59], xmm0
mov ebx, 7
jmp 0x14000209d
mov rbx, r14
or rbx, 7
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
cmova rbx, rax
lea rax, [rbx + 1]
lea rdx, [rax + rax]
movabs rcx, 0x7fffffffffffffff
cmp rax, rcx
jbe 0x14000203e
mov rdx, r12
jmp 0x140002047
cmp rdx, 0x1000
jb 0x140002074
lea rcx, [rdx + 0x27]
cmp rcx, rdx
cmovbe rcx, r12
call fcn.1400054f4
mov rcx, rax
test rax, rax
je 0x14000206d
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140002086
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rdx, rdx
je 0x140002083
mov rcx, rdx
call fcn.1400054f4
jmp 0x140002086
mov rax, rdi
mov qword [rbp - 0x59], rax
lea r8, [r14*2 + 2]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp - 0x49], r14
mov qword [rbp - 0x41], rbx
mov qword [rbp - 0x29], rdi
mov qword [rbp - 0x21], 7
mov word [rbp - 0x39], di
lea r9, str.SOFTWARENVIDIA_CorporationGlobalGFExperienceOC
mov edx, 0x32
lea rcx, [rbp - 0x39]
call fcn.140002920
nop
mov r8d, r15d
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x39]
call fcn.140001010
movdqa xmm0, xmmword [0x140007cc0]
movdqu xmmword [rbp - 0x49], xmm0
mov word [rbp - 0x59], di
lea r9, str.SOFTWARENVIDIA_CorporationGlobalGFExperienceOC
mov edx, 0x32
lea rcx, [rbp - 0x59]
call fcn.140002920
mov dword [rbp - 1], edi
mov dword [rbp - 9], 4
lea rdx, [rbp - 0x59]
cmp qword [rbp - 0x41], 8
cmovae rdx, qword [rbp - 0x59]
lea rax, [rbp - 0x11]
mov qword [rsp + 0x20], rax
mov r9d, 0x101
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140002176
lea rdx, [rbp + 7]
cmp qword [rbp + 0x1f], 8
cmovae rdx, qword [rbp + 7]
lea rax, [rbp - 9]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 1]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbp - 0x41]
cmp rdx, 8
jb 0x1400021ba
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400021b4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400021b4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005530
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 8
jb 0x1400021fd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400021f8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400021f8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005530
xor eax, eax
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400054d0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret