Function at 0x14007e5e0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov r11, rsp
push rbp
push rsi
push r12
lea rbp, [r11 - 0x1f8]
sub rsp, 0x2e0
mov rax, qword [0x140150010]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov qword [r11 - 0x20], rdi
mov r8d, 0x208
mov qword [r11 - 0x28], r13
mov qword [r11 - 0x30], r14
mov r14, rdx
mov qword [r11 - 0x38], r15
xor edx, edx
mov r15, rcx
lea rcx, [rbp - 0x60]
call fcn.1400c0ee0
xor r13d, r13d
mov dword [rbp - 0x80], 0x104
lea rax, [rbp - 0x70]
mov dword [rsp + 0x7c], r13d
mov qword [rsp + 0x58], rax
lea r8, [rbp - 0x80]
lea rax, [rbp - 0x78]
mov dword [rsp + 0x78], r13d
mov qword [rsp + 0x50], rax
lea rdx, [rbp - 0x60]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x74], r13d
mov qword [rsp + 0x48], rax
xor r9d, r9d
lea rax, [rsp + 0x64]
mov dword [rsp + 0x70], r13d
mov qword [rsp + 0x40], rax
mov rcx, r14
lea rax, [rsp + 0x70]
mov dword [rsp + 0x64], r13d
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x74]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x60], r13d
mov dword [rbp - 0x78], r13d
mov qword [rbp - 0x70], r13
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryInfoKeyW]
mov ecx, dword [rsp + 0x60]
lea r9, [rbp - 0x60]
mov dword [rsp + 0x50], ecx
lea rdx, str.CRegClient::CloneRegValues
mov ecx, dword [rsp + 0x64]
mov r8d, 0x6a5
mov dword [rsp + 0x48], ecx
mov r12d, eax
mov ecx, dword [rsp + 0x70]
mov dword [rsp + 0x40], ecx
mov ecx, dword [rsp + 0x74]
mov dword [rsp + 0x38], ecx
mov ecx, dword [rsp + 0x78]
mov dword [rsp + 0x30], ecx
mov ecx, dword [rsp + 0x7c]
mov dword [rsp + 0x28], ecx
mov ecx, dword [rbp - 0x80]
mov dword [rsp + 0x20], ecx
lea rcx, str._s__d_Class_s_cchClassName_d_SubKeys_d_cbMaxSubKey_d_cchMaxClass_d_cValues_d_cchMaxValue_d_cbMaxValueData_d
call fcn.14005c7e0
mov ecx, dword [rsp + 0x64]
mov eax, 2
add ecx, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1400bac3c
mov ecx, dword [rsp + 0x60]
mov rdi, rax
call fcn.1400bac3c
mov rsi, rax
mov eax, dword [rsp + 0x70]
test eax, eax
je 0x14007e8f4
mov qword [rsp + 0x310], rbx
mov ebx, r13d
jle 0x14007e8ec
nop dword [rax]
nop dword [rax + rax]
mov ecx, dword [rsp + 0x64]
xor edx, edx
mov dword [rsp + 0x6c], r13d
lea eax, [rcx + 1]
lea r8d, [rcx + 2]
mov dword [rbp - 0x7c], eax
mov eax, dword [rsp + 0x60]
add r8, r8
mov rcx, rdi
mov dword [rsp + 0x68], eax
call fcn.1400c0ee0
mov r8d, dword [rsp + 0x60]
xor edx, edx
mov rcx, rsi
call fcn.1400c0ee0
mov qword [rsp + 0x38], r13
lea r9, [rbp - 0x7c]
mov qword [rsp + 0x30], r13
mov r8, rdi
mov qword [rsp + 0x28], r13
mov edx, ebx
mov rcx, r14
mov qword [rsp + 0x20], r13
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumValueW]
test eax, eax
jne 0x14007e8a7
lea rax, [rsp + 0x68]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x6c]
mov rdx, rdi
mov qword [rsp + 0x20], rsi
mov rcx, r14
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x14007e85b
mov eax, dword [rsp + 0x68]
xor r8d, r8d
mov r9d, dword [rsp + 0x6c]
mov rdx, rdi
mov dword [rsp + 0x28], eax
mov rcx, r15
mov qword [rsp + 0x20], rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
test eax, eax
je 0x14007e8e0
mov ecx, dword [rsp + 0x68]
lea rdx, str.CRegClient::CloneRegValues
mov dword [rsp + 0x30], ecx
mov r9d, eax
mov ecx, dword [rsp + 0x6c]
mov r8d, 0x6ce
mov dword [rsp + 0x28], ecx
lea rcx, str._s__d_RegSetValueEx_Ret_d_ValName_s_Type_d_Len_d
mov qword [rsp + 0x20], rdi
call fcn.14005c7e0
jmp 0x14007e8e0
lea rdx, str.CRegClient::CloneRegValues
cmp eax, 0xea
jne 0x14007e890
mov eax, dword [rsp + 0x68]
lea rcx, str._s__d_RegEnumValue_Idx_d_ERROR_MORE_DATA_dwType_d_dwLen_d
mov dword [rsp + 0x28], eax
mov r9d, ebx
mov eax, dword [rsp + 0x6c]
mov r8d, 0x6d3
mov dword [rsp + 0x20], eax
call fcn.14005c7e0
jmp 0x14007e8e0
mov qword [rsp + 0x20], rdi
lea rcx, str._s__d_RegQueryValueEx_Ret_d_ValName_s
mov r9d, eax
mov r8d, 0x6d7
jmp 0x14007e8db
lea rdx, str.CRegClient::CloneRegValues
mov r9d, ebx
cmp eax, 0xea
jne 0x14007e8ca
mov eax, dword [rbp - 0x7c]
lea rcx, str._s__d_RegEnumValue_Idx_d_ERROR_MORE_DATA_cchValue_d
mov r8d, 0x6dc
jmp 0x14007e8d7
mov r8d, 0x6e0
lea rcx, str._s__d_RegEnumValue_Idx_d_Ret_d
mov dword [rsp + 0x20], eax
call fcn.14005c7e0
inc ebx
cmp ebx, dword [rsp + 0x70]
jl 0x14007e770
mov rbx, qword [rsp + 0x310]
mov r15, qword [rsp + 0x2c0]
mov r14, qword [rsp + 0x2c8]
mov r13, qword [rsp + 0x2d0]
test rdi, rdi
je 0x14007e919
mov rcx, rdi
call fcn.1400ba63c
mov rdi, qword [rsp + 0x2d8]
test rsi, rsi
je 0x14007e92e
mov rcx, rsi
call fcn.1400ba63c
mov eax, r12d
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.1400ba610
add rsp, 0x2e0
pop r12
pop rsi
pop rbp
ret