Function at 0x14006fa20
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x4a8]
sub rsp, 0x580
mov qword [rbp], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1403b88b0]
xor rax, rsp
mov qword [rbp + 0x470], rax
mov rsi, rcx
mov rax, qword [rcx + 0x20]
test rax, rax
jne 0x14006fa88
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguidtsupc2plussetting.cpp
mov edx, 0x361
lea rcx, str._VCpl__RETURN_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
jmp 0x140070284
cmp dword [rax + 0x168], 0
jne 0x14006faae
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguidtsupc2plussetting.cpp
mov edx, 0x362
lea rcx, str._VCpl__RETURN_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
jmp 0x140070284
call fcn.1400f5f94
mov rcx, rax
test rax, rax
je 0x1400702bf
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x68], rax
call fcn.1400f5f94
mov rcx, rax
test rax, rax
je 0x1400702ca
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
xor r12d, r12d
mov qword [rbp - 0x20], r12
mov dword [rbp - 0x18], r12d
mov qword [rbp - 0x10], r12
mov qword [rbp - 0x70], r12
mov dword [rbp - 0x68], r12d
mov qword [rbp - 0x60], r12
mov dword [rsp + 0x40], r12d
lea rax, [0x14032a3b0]
mov qword [rbp + 0x30], rax
lea rax, [0x14032a3a0]
mov qword [rbp + 0x38], rax
lea rax, [0x140331448]
mov qword [rbp + 0x40], rax
mov dword [rbp + 0x20], r12d
mov dword [rbp + 0x24], 1
mov dword [rbp + 0x28], 2
mov r14d, dword [rsi + 0x48]
lea rcx, str.Internal
lea rax, str.Internal
test r14d, r14d
cmovne rax, rcx
mov qword [rbp - 0x78], rax
lea rax, [0x1403bae60]
lea r13, [0x1403bae80]
cmovne r13, rax
mov qword [rbp - 8], r13
lea rdx, str.SOFTWAREDTSU2PPresets
mov rdi, 0xffffffffffffffff
mov rax, rdi
inc rax
cmp word [rdx + rax*2], 0
jne 0x14006fb85
mov r8d, eax
lea rcx, [rsp + 0x68]
call fcn.140010390
lea rdx, [0x140329108]
mov rax, rdi
inc rax
cmp word [rdx + rax*2], 0
jne 0x14006fba6
mov r8d, eax
lea rcx, [rsp + 0x68]
call fcn.14001bf50
mov r9d, 0x20019
mov rbx, qword [rsp + 0x68]
mov r8, rbx
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x20]
call fcn.1400146e0
test eax, eax
je 0x14006fc2d
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], r12d
xor r9d, r9d
mov r8, rbx
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x20]
call fcn.1400144b0
test eax, eax
je 0x14006fc2d
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguidtsupc2plussetting.cpp
mov edx, 0x38a
lea rcx, str._VCpl__RETURN_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
jmp 0x14007022a
movups xmm0, xmmword [0x140323568]
movups xmmword [rbp + 8], xmm0
mov eax, dword [0x140323578]
mov dword [rbp + 0x18], eax
mov qword [rbp - 0x58], r12
mov edi, r12d
mov r15, qword [rbp - 0x20]
test r15, r15
je 0x14006fcdd
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 8]
call fcn.1400bd410
test eax, eax
js 0x14006fcc2
mov dword [rsp + 0x70], 4
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x74]
xor r8d, r8d
mov rdi, qword [rbp - 0x58]
mov rdx, rdi
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x14006fcb0
mov ebx, r12d
cmp dword [rsp + 0x74], 4
mov eax, SafeArrayDestroy
cmovne ebx, eax
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov edi, r12d
test ebx, ebx
sete dil
test edi, edi
je 0x14006fcdd
mov r9d, 1
mov r8d, dword [rsp + 0x40]
lea rdx, [rbp + 8]
mov rcx, rsi
call fcn.14000f280
mov ebx, 3
mov eax, 7
test r14d, r14d
cmovne ebx, eax
mov qword [rbp - 0x28], rbx
mov r14, r12
nop dword [rax]
nop dword [rax + rax]
mov dword [rsp + 0x40], r12d
movups xmm0, xmmword [0x140326cd0]
movups xmmword [rbp + 8], xmm0
mov eax, dword [reloc.OLEAUT32.dll_SysReAllocString]
mov dword [rbp + 0x18], eax
mov rax, qword [rsi]
mov r8d, dword [r13 + r14*4]
lea rdx, [rbp + 8]
mov rcx, rsi
call qword [rax + 0x30]
mov qword [rbp - 0x50], r12
mov edi, r12d
test r15, r15
je 0x14006fda8
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 8]
call fcn.1400bd410
test eax, eax
js 0x14006fda8
mov dword [rsp + 0x78], 4
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x7c]
xor r8d, r8d
mov rdi, qword [rbp - 0x50]
mov rdx, rdi
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x14006fd92
mov ebx, r12d
cmp dword [rsp + 0x7c], 4
mov eax, SafeArrayDestroy
cmovne ebx, eax
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov edi, r12d
test ebx, ebx
sete dil
mov rbx, qword [rbp - 0x28]
mov r8d, r12d
test edi, edi
cmovne r8d, dword [rsp + 0x40]
mov r9d, 1
lea rdx, [rbp + 8]
mov rcx, rsi
call fcn.14000f280
inc r14
cmp r14, rbx
jl 0x14006fd00
call fcn.1400f5f94
mov rcx, rax
test rax, rax
je 0x1400702b4
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x48], rax
lea rbx, [0x140328530]
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.140014ab0
mov r14, 0xffffffffffffffff
test al, al
jne 0x14006fe2e
mov rax, r14
inc rax
cmp word [rbx + rax*2], 0
jne 0x14006fe13
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.140010390
nop
movups xmm0, xmmword [0x140326a00]
movups xmmword [rbp + 8], xmm0
mov eax, dword [reloc.OLEAUT32.dll_SysReAllocString]
mov dword [rbp + 0x18], eax
mov qword [rbp - 0x48], r12
test r15, r15
je 0x14006fef4
lea rdx, [rbp - 0x48]
lea rcx, [rbp + 8]
call fcn.1400bd410
test eax, eax
js 0x14006fef4
mov dword [rsp + 0x58], 0x208
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x80]
xor r8d, r8d
mov rbx, qword [rbp - 0x48]
mov rdx, rbx
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14006feeb
mov eax, dword [rbp - 0x80]
dec eax
cmp eax, 1
ja 0x14006feeb
mov eax, dword [rsp + 0x58]
test eax, eax
je 0x14006febd
test al, 1
jne 0x14006feeb
shr rax, 1
cmp word [rbp + rax*2 + 0x4e], 0
je 0x14006fec2
jmp 0x14006feeb
mov word [rbp + 0x50], r12w
lea rcx, [rbp + 0x50]
mov rax, r14
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x14006fed0
mov r8d, eax
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x48]
call fcn.140010390
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov r9d, 1
lea r8, [rsp + 0x48]
lea rdx, [rbp + 8]
mov rcx, rsi
call fcn.1400101a0
movups xmm0, xmmword [0x140326988]
movups xmmword [rbp + 8], xmm0
mov eax, dword [reloc.OLEAUT32.dll_SysReAllocString]
mov dword [rbp + 0x18], eax
mov qword [rbp - 0x40], r12
test r15, r15
je 0x14006ffd9
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 8]
call fcn.1400bd410
test eax, eax
js 0x14006ffd9
mov dword [rsp + 0x5c], 0x208
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x260]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x7c]
xor r8d, r8d
mov rbx, qword [rbp - 0x40]
mov rdx, rbx
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14006ffd0
mov eax, dword [rbp - 0x7c]
dec eax
cmp eax, 1
ja 0x14006ffd0
mov eax, dword [rsp + 0x5c]
test eax, eax
je 0x14006ffa0
test al, 1
jne 0x14006ffd0
shr rax, 1
cmp word [rbp + rax*2 + 0x25e], 0
je 0x14006ffa8
jmp 0x14006ffd0
mov word [rbp + 0x260], r12w
lea rcx, [rbp + 0x260]
mov rax, r14
inc rax
cmp word [rcx + rax*2], 0
jne 0x14006ffb2
mov r8d, eax
lea rdx, [rbp + 0x260]
lea rcx, [rsp + 0x48]
call fcn.140010390
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov r9d, 1
lea r8, [rsp + 0x48]
lea rdx, [rbp + 8]
mov rcx, rsi
call fcn.1400101a0
test r15, r15
je 0x140070002
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x20], r12
mov dword [rbp - 0x18], r12d
mov r13, r12
nop dword [rax]
mov ebx, r12d
mov dword [rsp + 0x60], ebx
lea r15, [rbp + 0x20]
lea rdi, [rbp + 0x30]
mov qword [rbp - 0x30], rdi
nop dword [rax]
nop word [rax + rax]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x50]
call fcn.140014890
mov rax, qword [rbp - 0x78]
mov rdx, qword [rax]
test rdx, rdx
jne 0x140070050
mov eax, r12d
jmp 0x14007005d
mov rax, r14
inc rax
cmp word [rdx + rax*2], 0
jne 0x140070053
mov r8d, eax
lea rcx, [rsp + 0x50]
call fcn.14001bf50
mov rdx, qword [rdi]
test rdx, rdx
jne 0x140070077
mov eax, r12d
jmp 0x14007008a
mov rax, r14
nop word [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x140070080
mov r8d, eax
lea rcx, [rsp + 0x50]
call fcn.14001bf50
mov r8d, 7
lea rdx, str.Default
lea rcx, [rsp + 0x50]
call fcn.14001bf50
mov r9d, 0x20019
mov r8, qword [rsp + 0x50]
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x70]
call fcn.1400146e0
test eax, eax
jne 0x1400701c8
mov r14d, r12d
lea rdi, [0x1403bb070]
nop dword [rax + rax]
mov qword [rbp - 0x38], r12
mov rax, qword [rdi + 8]
movups xmm0, xmmword [rax]
movups xmmword [rbp + 8], xmm0
mov eax, dword [rax + 0x10]
mov dword [rbp + 0x18], eax
lea r9, [rbp - 0x38]
mov r8d, dword [rdi]
lea rdx, [rbp + 8]
lea rcx, [rbp - 0x70]
call fcn.1400be950
test eax, eax
je 0x140070198
mov rbx, qword [rbp - 0x38]
test rbx, rbx
je 0x140070198
mov rax, qword [rsi]
mov r9d, dword [r15]
mov rcx, qword [rbp - 8]
mov r8d, dword [rcx + r13*4]
lea rdx, [rbp + 8]
mov rcx, rsi
call qword [rax + 0x38]
mov ecx, dword [rdi]
sub ecx, 3
je 0x140070181
sub ecx, 1
je 0x14007016f
sub ecx, 7
je 0x14007015d
cmp ecx, 8
jne 0x140070190
lea r9d, [rcx - 7]
mov r8d, dword [rbx]
lea rdx, [rbp + 8]
mov rcx, rsi
call fcn.14000f280
jmp 0x140070190
movzx r8d, word [rbx]
lea rdx, [rbp + 8]
mov rcx, rsi
call fcn.14000f720
jmp 0x140070190
movss xmm2, dword [rbx]
lea rdx, [rbp + 8]
mov rcx, rsi
call fcn.14000f4d0
jmp 0x140070190
mov r8d, dword [rbx]
lea rdx, [rbp + 8]
mov rcx, rsi
call fcn.14000fe10
mov rcx, rbx
call fcn.14028b330
inc r14d
add rdi, 0x20
cmp r14d, 0x23
jb 0x1400700e0
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x1400701bc
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x70], r12
mov dword [rbp - 0x68], r12d
mov ebx, dword [rsp + 0x60]
mov rdi, qword [rbp - 0x30]
inc ebx
mov dword [rsp + 0x60], ebx
add rdi, 8
mov qword [rbp - 0x30], rdi
add r15, 4
cmp ebx, 3
mov r14, 0xffffffffffffffff
jb 0x140070030
inc r13
add qword [rbp - 0x78], 8
cmp r13, qword [rbp - 0x28]
jl 0x140070010
mov rcx, rsi
call fcn.1400702e0
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov rdi, r14
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140070226
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r12, qword [rbp - 0x70]
test r12, r12
je 0x140070239
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x140070249
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140070268
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x140070284
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp + 0x470]
xor rcx, rsp
call fcn.140281bf0
lea r11, [rsp + 0x580]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 0x80004005
call fcn.14000dc70
nop
mov ecx, 0x80004005
call fcn.14000dc70
nop
mov ecx, 0x80004005
call fcn.14000dc70
int3