Function at 0x140068c50
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x118]
sub rsp, 0x1f0
mov qword [rbp + 8], 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 + 0xe0], rax
mov dword [rbp - 0x80], r8d
mov r12d, edx
mov dword [rbp - 0x74], edx
mov rbx, rcx
mov qword [rsp + 0x50], rcx
cmp qword [rcx + 0x20], 0
jne 0x140068cc5
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguidtss2aposetting.cpp
mov edx, 0x44f
lea rcx, str._VCpl__RETURN_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
jmp 0x140069420
lea rax, [0x14032a3b0]
mov qword [rbp + 0x68], rax
lea rax, [0x14032a3a0]
mov qword [rbp + 0x70], rax
lea rax, [0x140331448]
mov qword [rbp + 0x78], rax
movdqa xmm0, xmmword [0x140347e30]
movdqu xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], 1
xor r15d, r15d
mov dword [rbp + 0x40], 1
mov dword [rbp + 0x44], 2
mov dword [rbp + 0x48], 4
mov qword [rsp + 0x58], r15
mov dword [rsp + 0x60], r15d
mov qword [rsp + 0x68], r15
call fcn.1400f5f94
mov rcx, rax
test rax, rax
je 0x140069450
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
lea rdi, str.SOFTWAREDTSPremiumSuitPresets
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140014ab0
lea r14, [r15 - 1]
test al, al
jne 0x140068d7c
mov rax, r14
inc rax
cmp word [rdi + rax*2], 0
jne 0x140068d61
mov r8d, eax
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140010390
nop
mov dword [rsp + 0x38], r15d
mov r9d, 0x20019
mov r8, qword [rsp + 0x30]
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x58]
call fcn.1400146e0
mov r13d, SafeArrayDestroy
test eax, eax
jne 0x140068e62
mov qword [rbp - 0x48], r15
mov edi, r15d
mov rsi, qword [rsp + 0x58]
test rsi, rsi
je 0x140068e5d
lea rdx, [rbp - 0x48]
lea rcx, [0x1403235c8]
call fcn.1400bd410
test eax, eax
js 0x140068e31
mov dword [rsp + 0x70], 4
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x74]
xor r8d, r8d
mov rdi, qword [rbp - 0x48]
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x140068e1a
mov ebx, r15d
cmp dword [rsp + 0x74], 4
cmovne ebx, r13d
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov edi, r15d
test ebx, ebx
sete dil
mov rbx, qword [rsp + 0x50]
test edi, edi
je 0x140068e4f
mov r9d, 1
mov r8d, dword [rsp + 0x38]
lea rdx, [0x1403235c8]
mov rcx, rbx
call fcn.14000f280
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x58], r15
mov dword [rsp + 0x60], r15d
mov dword [rsp + 0x48], r15d
mov r13, r15
mov qword [rbp - 0x68], r15
nop
mov dword [rsp + 0x44], r15d
lea rdi, [rbp + 0x40]
mov qword [rbp - 0x70], rdi
lea rsi, [rbp + 0x68]
mov qword [rbp - 0x50], rsi
nop word [rax + rax]
mov r8d, 0x20
lea rdx, str.SOFTWAREDTSPremiumSuitPresets
lea rcx, [rsp + 0x30]
call fcn.140010390
mov r8d, 1
lea rdx, [0x140329108]
lea rcx, [rsp + 0x30]
call fcn.14001bf50
lea rax, str.Internal
mov rdx, qword [rax + r13]
test rdx, rdx
jne 0x140068ed2
xor eax, eax
jmp 0x140068edf
mov rax, r14
inc rax
cmp word [rdx + rax*2], 0
jne 0x140068ed5
mov r8d, eax
lea rcx, [rsp + 0x30]
call fcn.14001bf50
mov rdx, qword [rsi]
test rdx, rdx
jne 0x140068ef8
xor eax, eax
jmp 0x140068f0a
mov rax, r14
nop dword [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x140068f00
mov r8d, eax
lea rcx, [rsp + 0x30]
call fcn.14001bf50
mov r8d, 7
lea rdx, str.Default
lea rcx, [rsp + 0x30]
call fcn.14001bf50
mov r9d, 0x20019
mov r8, qword [rsp + 0x30]
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x58]
call fcn.1400146e0
test eax, eax
jne 0x1400693a9
test r12d, r12d
je 0x1400691ba
mov rax, qword [rbx + 0x20]
test dword [rax + 0x31c], 0x8000
jne 0x1400691ba
lea rax, [0x140326658]
mov qword [rbp + 0x80], rax
lea rax, [0x140326640]
mov qword [rbp + 0x88], rax
lea rax, [0x140326760]
mov qword [rbp + 0x90], rax
lea rax, [0x140326748]
mov qword [rbp + 0x98], rax
lea rax, [0x140326730]
mov qword [rbp + 0xa0], rax
lea rax, [0x140326718]
mov qword [rbp + 0xa8], rax
lea rax, [0x140326700]
mov qword [rbp + 0xb0], rax
lea rax, [0x1403266e8]
mov qword [rbp + 0xb8], rax
lea rax, [0x1403266b8]
mov qword [rbp + 0xc0], rax
lea rax, [0x1403266a0]
mov qword [rbp + 0xc8], rax
lea rax, [0x140326688]
mov qword [rbp + 0xd0], rax
lea rax, [0x140326670]
mov qword [rbp + 0xd8], rax
xor edx, edx
mov esi, edx
mov r12d, dword [rbp + r13 + 0x54]
mov r13d, dword [rbp + r13 + 0x50]
mov r15d, dword [rdi]
lea r14, [rbp + 0x80]
jmp 0x140069042
xor edx, edx
mov dword [rsp + 0x3c], edx
mov rcx, qword [r14]
movups xmm0, xmmword [rcx]
movups xmmword [rbp + 0x28], xmm0
mov eax, dword [rcx + 0x10]
mov dword [rbp + 0x38], eax
movups xmm0, xmmword [rcx]
movups xmmword [rbp - 0x10], xmm0
mov eax, dword [rcx + 0x10]
mov dword [rbp], eax
mov qword [rbp - 0x60], rdx
mov edi, edx
mov rbx, qword [rsp + 0x58]
test rbx, rbx
je 0x1400690e0
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x10]
call fcn.1400bd410
test eax, eax
js 0x1400690dc
mov dword [rsp + 0x78], 4
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x7c]
xor r8d, r8d
mov rdi, qword [rbp - 0x60]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x1400690cb
cmp dword [rsp + 0x7c], 4
mov eax, SafeArrayDestroy
cmovne ebx, eax
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
xor edi, edi
test ebx, ebx
sete dil
test edi, edi
jne 0x14006910d
lea rdx, [rbp + 0x28]
lea rcx, [rbp - 0x28]
call fcn.1400be150
mov rdx, qword [rbp - 0x28]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14006910d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, dword [rbp + 0x38]
test r13d, r13d
je 0x14006911c
add eax, 0xbb8
jmp 0x14006912d
test r12d, r12d
je 0x140069128
add eax, 0x3e8
jmp 0x14006912d
add eax, 0x7d0
cmp r15d, 4
jne 0x14006913a
add eax, 0x9c40
jmp 0x14006914c
cmp r15d, 2
jne 0x140069147
add eax, 0x4e20
jmp 0x14006914c
add eax, 0x2710
mov dword [rbp + 0x38], eax
mov r9d, 1
mov r8d, dword [rsp + 0x3c]
lea rdx, [rbp + 0x28]
mov rbx, qword [rsp + 0x50]
mov rcx, rbx
call fcn.14000f280
test eax, eax
jne 0x14006919c
lea rdx, [rbp + 0x28]
lea rcx, [rbp - 0x40]
call fcn.1400be150
mov rdx, qword [rbp - 0x40]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14006919c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
inc esi
add r14, 8
cmp esi, 0xc
jb 0x140069040
mov r14, 0xffffffffffffffff
mov rdi, qword [rbp - 0x70]
mov r13, qword [rbp - 0x68]
cmp dword [rbp - 0x80], 0
je 0x140069370
mov rax, qword [rbx + 0x20]
test dword [rax + 0x31c], 0x10000
jne 0x140069370
lea rax, [0x1403267d8]
mov qword [rbp - 0x20], rax
lea rax, [0x1403267c0]
mov qword [rbp - 0x18], rax
xor ecx, ecx
mov r14d, ecx
mov r12d, dword [rbp + r13 + 0x54]
mov r13d, dword [rbp + r13 + 0x50]
mov r15d, dword [rdi]
lea rsi, [rbp - 0x20]
jmp 0x140069212
xor ecx, ecx
mov dword [rsp + 0x40], ecx
mov rax, qword [rsi]
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x10], xmm0
mov eax, dword [rax + 0x10]
mov dword [rbp + 0x20], eax
mov qword [rbp - 0x58], rcx
mov edi, ecx
mov rbx, qword [rsp + 0x58]
test rbx, rbx
je 0x14006929f
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0x10]
call fcn.1400bd410
test eax, eax
js 0x14006929b
mov dword [rbp - 0x7c], 4
lea rax, [rbp - 0x7c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x78]
xor r8d, r8d
mov rdi, qword [rbp - 0x58]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x14006928a
cmp dword [rbp - 0x78], 4
mov eax, SafeArrayDestroy
cmovne ebx, eax
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
xor edi, edi
test ebx, ebx
sete dil
test edi, edi
jne 0x1400692cc
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x38]
call fcn.1400be150
mov rdx, qword [rbp - 0x38]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400692cc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, dword [rbp + 0x20]
test r13d, r13d
je 0x1400692db
add eax, 0xbb8
jmp 0x1400692ec
test r12d, r12d
je 0x1400692e7
add eax, 0x3e8
jmp 0x1400692ec
add eax, 0x7d0
cmp r15d, 4
jne 0x1400692f9
add eax, 0x9c40
jmp 0x14006930b
cmp r15d, 2
jne 0x140069306
add eax, 0x4e20
jmp 0x14006930b
add eax, 0x2710
mov dword [rbp + 0x20], eax
mov r9d, 1
mov r8d, dword [rsp + 0x40]
lea rdx, [rbp + 0x10]
mov rcx, qword [rsp + 0x50]
call fcn.14000f280
test eax, eax
jne 0x140069358
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x30]
call fcn.1400be150
mov rdx, qword [rbp - 0x30]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140069358
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
inc r14d
add rsi, 8
cmp r14d, 2
jb 0x140069210
mov r14, 0xffffffffffffffff
mov rbx, qword [rsp + 0x58]
test rbx, rbx
je 0x14006938c
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x60], 0
mov rdi, qword [rbp - 0x70]
mov rsi, qword [rbp - 0x50]
mov r15d, dword [rsp + 0x44]
mov r13, qword [rbp - 0x68]
mov r12d, dword [rbp - 0x74]
inc r15d
mov dword [rsp + 0x44], r15d
add rsi, 8
mov qword [rbp - 0x50], rsi
add rdi, 4
mov qword [rbp - 0x70], rdi
cmp r15d, 3
mov rbx, qword [rsp + 0x50]
jb 0x140068e90
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
add r13, 8
mov qword [rbp - 0x68], r13
cmp eax, 3
mov r15d, 0
jb 0x140068e70
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r14d
sub r14d, 1
jg 0x140069410
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140069420
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.140281bf0
lea r11, [rsp + 0x1f0]
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
int3