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

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x140178010]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov r14, rdx
mov r15, rcx
xor edx, edx
lea rcx, [rbp - 0x60]
mov r8d, 0x208
call fcn.1400e5b40
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.14006dd20
mov ecx, dword [rsp + 0x64]
mov eax, 2
add ecx, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1400df70c
mov ecx, dword [rsp + 0x60]
mov rdi, rax
call fcn.1400df70c
mov rsi, rax
mov eax, dword [rsp + 0x70]
test eax, eax
je 0x140092764
mov qword [rsp + 0x310], rbx
mov ebx, r13d
jle 0x14009275c
nop word [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.1400e5b40
mov r8d, dword [rsp + 0x60]
xor edx, edx
mov rcx, rsi
call fcn.1400e5b40
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 0x140092717
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 0x1400926cb
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 0x140092750
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.14006dd20
jmp 0x140092750
lea rdx, str.CRegClient::CloneRegValues
cmp eax, 0xea
jne 0x140092700
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.14006dd20
jmp 0x140092750
mov qword [rsp + 0x20], rdi
lea rcx, str._s__d_RegQueryValueEx_Ret_d_ValName_s
mov r9d, eax
mov r8d, 0x6d7
jmp 0x14009274b
lea rdx, str.CRegClient::CloneRegValues
mov r9d, ebx
cmp eax, 0xea
jne 0x14009273a
mov eax, dword [rbp - 0x7c]
lea rcx, str._s__d_RegEnumValue_Idx_d_ERROR_MORE_DATA_cchValue_d
mov r8d, 0x6dc
jmp 0x140092747
mov r8d, 0x6e0
lea rcx, str._s__d_RegEnumValue_Idx_d_Ret_d
mov dword [rsp + 0x20], eax
call fcn.14006dd20
inc ebx
cmp ebx, dword [rsp + 0x70]
jl 0x1400925e0
mov rbx, qword [rsp + 0x310]
mov rcx, rdi
call fcn.1400df368
mov rcx, rsi
call fcn.1400df368
mov eax, r12d
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.1400df340
add rsp, 0x2c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret