Function at 0x140069460
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xb8]
sub rsp, 0x190
mov qword [rbp - 0x20], 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 + 0x80], rax
mov dword [rsp + 0x48], r8d
mov ebx, edx
mov r13, rcx
cmp qword [rcx + 0x20], 0
jne 0x1400694cd
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguidtss2aposetting.cpp
mov edx, 0x4cf
lea rcx, str._VCpl__RETURN_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
jmp 0x1400699a0
xor edi, edi
mov qword [rsp + 0x58], rdi
mov dword [rsp + 0x60], edi
mov qword [rsp + 0x68], rdi
call fcn.1400f5f94
mov rcx, rax
test rax, rax
je 0x1400699d0
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
lea rsi, str.SOFTWAREDTSPremiumSuitPresets
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.140014ab0
lea r15, [rdi - 1]
test al, al
jne 0x14006953b
mov rax, r15
nop dword [rax]
inc rax
cmp word [rsi + rax*2], 0
jne 0x140069520
mov r8d, eax
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.140010390
nop
lea rdx, [0x140329108]
mov rax, r15
inc rax
cmp word [rdx + rax*2], 0
jne 0x140069545
mov r8d, eax
lea rcx, [rsp + 0x30]
call fcn.14001bf50
movsxd rax, dword [r13 + 0x38]
lea rdx, str.Internal
mov rdx, qword [rdx + rax*8 - 8]
test rdx, rdx
jne 0x140069575
mov eax, edi
jmp 0x14006958a
mov rax, r15
nop dword [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x140069580
mov r8d, eax
lea rcx, [rsp + 0x30]
call fcn.14001bf50
mov r8d, 5
lea rdx, [0x14032a3a0]
lea rcx, [rsp + 0x30]
call fcn.14001bf50
lea rdx, str.Default
mov rax, r15
nop dword [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x1400695c0
mov r8d, eax
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 0x140069971
test ebx, ebx
je 0x1400697e0
mov rax, qword [r13 + 0x20]
test dword [rax + 0x31c], 0x8000
jne 0x1400697e0
lea rax, [0x140326658]
mov qword [rbp + 0x20], rax
lea rax, [0x140326640]
mov qword [rbp + 0x28], rax
lea rax, [0x140326760]
mov qword [rbp + 0x30], rax
lea rax, [0x140326748]
mov qword [rbp + 0x38], rax
lea rax, [0x140326730]
mov qword [rbp + 0x40], rax
lea rax, [0x140326718]
mov qword [rbp + 0x48], rax
lea rax, [0x140326700]
mov qword [rbp + 0x50], rax
lea rax, [0x1403266e8]
mov qword [rbp + 0x58], rax
lea rax, [0x1403266b8]
mov qword [rbp + 0x60], rax
lea rax, [0x1403266a0]
mov qword [rbp + 0x68], rax
lea rax, [0x140326688]
mov qword [rbp + 0x70], rax
lea rax, [0x140326670]
mov qword [rbp + 0x78], rax
mov r14d, edi
lea r12, [rbp + 0x20]
nop dword [rax]
nop word [rax + rax]
mov dword [rsp + 0x38], edi
mov rsi, qword [r12]
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x18], xmm0
mov ecx, dword [rsi + 0x10]
imul eax, dword [r13 + 0x38], 0x3e8
add ecx, eax
mov dword [rbp - 8], ecx
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x50], xmm0
mov eax, dword [rsi + 0x10]
mov dword [rbp - 0x40], eax
mov qword [rsp + 0x70], rdi
mov rbx, qword [rsp + 0x58]
test rbx, rbx
je 0x14006975a
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x50]
call fcn.1400bd410
test eax, eax
js 0x140069756
mov dword [rsp + 0x40], 4
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
xor r8d, r8d
mov rdi, qword [rsp + 0x70]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x140069745
cmp dword [rsp + 0x44], 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 0x140069784
mov rdx, rsi
lea rcx, [rbp - 0x80]
call fcn.1400be150
mov rdx, qword [rbp - 0x80]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140069784
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r9d, 1
mov r8d, dword [rsp + 0x38]
lea rdx, [rbp - 0x18]
mov rcx, r13
call fcn.14000f280
test eax, eax
jne 0x1400697ca
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x78]
call fcn.1400be150
mov rdx, qword [rbp - 0x78]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400697ca
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
inc r14d
add r12, 8
cmp r14d, 0xc
mov edi, 0
jb 0x1400696b0
cmp dword [rsp + 0x48], 0
je 0x14006994d
mov rax, qword [r13 + 0x20]
test dword [rax + 0x31c], 0x10000
jne 0x14006994d
lea rax, [0x1403267d8]
mov qword [rbp - 0x60], rax
lea rax, [0x1403267c0]
mov qword [rbp - 0x58], rax
mov r14d, edi
lea r12, [rbp - 0x60]
jmp 0x140069822
xor edi, edi
mov dword [rsp + 0x3c], edi
mov rsi, qword [r12]
movups xmm0, xmmword [rsi]
movups xmmword [rbp], xmm0
mov ecx, dword [rsi + 0x10]
imul eax, dword [r13 + 0x38], 0x3e8
add ecx, eax
mov dword [rbp + 0x10], ecx
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x38], xmm0
mov eax, dword [rsi + 0x10]
mov dword [rbp - 0x28], eax
mov qword [rsp + 0x78], rdi
mov rbx, qword [rsp + 0x58]
test rbx, rbx
je 0x1400698cc
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x38]
call fcn.1400bd410
test eax, eax
js 0x1400698c8
mov dword [rsp + 0x4c], 4
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
xor r8d, r8d
mov rdi, qword [rsp + 0x78]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x1400698b7
cmp dword [rsp + 0x50], 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 0x1400698f6
mov rdx, rsi
lea rcx, [rbp - 0x70]
call fcn.1400be150
mov rdx, qword [rbp - 0x70]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400698f6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r9d, 1
mov r8d, dword [rsp + 0x3c]
lea rdx, [rbp]
mov rcx, r13
call fcn.14000f280
test eax, eax
jne 0x14006993c
lea rdx, [rbp]
lea rcx, [rbp - 0x68]
call fcn.1400be150
mov rdx, qword [rbp - 0x68]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14006993c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
inc r14d
add r12, 8
cmp r14d, 2
jb 0x140069820
mov rbx, qword [rsp + 0x58]
test rbx, rbx
je 0x140069969
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x60], 0
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r15d
sub r15d, 1
jg 0x140069990
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 0x1400699a0
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.140281bf0
lea r11, [rsp + 0x190]
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