Function at 0x14001ca98
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x288]
sub rsp, 0x350
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x14006c0f0]
xor rax, rsp
mov qword [rbp + 0x240], rax
mov rdi, r8
mov r15, rdx
mov r13, rcx
mov qword [rbp - 0x58], r8
xor r12d, r12d
mov r14d, r12d
mov dword [rsp + 0x78], r12d
mov dword [rsp + 0x60], r12d
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryInfoKeyW]
nop dword [rax + rax]
test eax, eax
je 0x14001cb40
mov edx, 0x337
jmp 0x14001ce24
mov esi, r12d
cmp dword [rsp + 0x60], r12d
jbe 0x14001cd70
mov ebx, 7
mov dword [rsp + 0x70], 0x104
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x70]
lea r8, [rbp + 0x30]
mov edx, esi
mov rcx, r15
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
nop dword [rax + rax]
cmp eax, 0x103
je 0x14001cd70
test eax, eax
jne 0x14001ce1f
mov qword [rsp + 0x68], r12
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp + 0x30]
mov rcx, r15
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x14001cde3
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], rbx
mov word [rbp - 0x30], r12w
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], rbx
mov word [rbp - 0x50], r12w
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x50]
call fcn.140008078
nop
mov qword [rbp], r12
mov qword [rbp + 8], rbx
mov word [rbp - 0x10], r12w
or r14d, 1
mov dword [rsp + 0x78], r14d
mov rdx, qword [rbp - 0x40]
add rdx, qword [rdi + 0x10]
lea rcx, [rbp - 0x10]
call fcn.14001e6f0
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14001cc2b
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
lea rcx, [rbp - 0x10]
call fcn.1400075ec
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rdx, qword [rbp - 0x50]
mov r8, qword [rbp - 0x40]
lea rcx, [rbp - 0x10]
call fcn.1400075ec
mov r8d, 1
lea rdx, [0x140052ed0]
lea rcx, [rbp - 0x10]
call fcn.1400075ec
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x10], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x20], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], rbx
mov word [rax], r12w
or r14d, 2
and r14d, 0xfffffffe
lea rcx, [rbp - 0x10]
call fcn.140007e78
lea r9, [rbp - 0x30]
lea r8, str.Source
xor edx, edx
mov rcx, qword [rsp + 0x68]
call fcn.140011ddc
test eax, eax
js 0x14001cd08
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rcx, qword [rbp - 0x30]
lea rdx, str.OneSettings
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wcsicmp]
nop dword [rax + rax]
test eax, eax
jne 0x14001cd08
lea rbx, [r13 + 0x1d8]
mov rax, qword [rbx + 8]
cmp qword [rbx + 0x10], rax
je 0x14001ccf9
lea rdx, [rbp + 0x10]
mov rcx, rax
call fcn.140007da0
add qword [rbx + 8], 0x20
jmp 0x14001cd08
lea r8, [rbp + 0x10]
mov rdx, rax
mov rcx, rbx
call fcn.140019364
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x78]
call fcn.140007da0
mov r8, rax
mov rdx, qword [rsp + 0x68]
mov rcx, r13
call fcn.14001ca98
mov ebx, eax
test eax, eax
js 0x14001cda8
lea rcx, [rbp + 0x10]
call fcn.140007e78
nop
lea rcx, [rbp - 0x50]
call fcn.140007e78
nop
lea rcx, [rbp - 0x30]
call fcn.140007e78
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14001cd5f
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
inc esi
cmp esi, dword [rsp + 0x60]
mov ebx, 7
jb 0x14001cb53
mov ebx, r12d
mov rcx, rdi
call fcn.140007e78
mov eax, ebx
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.14004b4d0
mov rbx, qword [rsp + 0x3a8]
add rsp, 0x350
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [rbp + 0x288]
mov r9d, eax
lea r8, str.onecoreenduserwindowsupdate_ruximplugliblibonesettings.cpp
mov edx, 0x35e
call fcn.140003c18
nop
lea rcx, [rbp + 0x10]
call fcn.140007e78
nop
lea rcx, [rbp - 0x50]
call fcn.140007e78
nop
lea rcx, [rbp - 0x30]
call fcn.140007e78
jmp 0x14001ce00
mov rcx, qword [rbp + 0x288]
mov r9d, eax
lea r8, str.onecoreenduserwindowsupdate_ruximplugliblibonesettings.cpp
mov edx, 0x34f
call fcn.14000e238
mov ebx, eax
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14001cd73
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
jmp 0x14001cd73
mov edx, 0x347
lea r8, str.onecoreenduserwindowsupdate_ruximplugliblibonesettings.cpp
mov r9d, eax
mov rcx, qword [rbp + 0x288]
call fcn.14000e238
mov ebx, eax
jmp 0x14001cd73