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

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x398]
sub rsp, 0x480
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14003a008]
xor rax, rsp
mov qword [rbp + 0x370], rax
mov r14, rcx
xor esi, esi
mov dword [rsp + 0x48], esi
call fcn.140001570
mov rdi, rax
test rax, rax
jne 0x140023d1d
mov ecx, 0x80004005
call fcn.140001200
int3
mov rax, qword [rax]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [fcn.14000ce40]
mov rcx, rdi
call rbx
lea rbx, [rax + 0x18]
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x68], 0x400
lea rdx, str.CRLog
lea rcx, [rsp + 0x50]
call fcn.140009180
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140024470
test al, al
jne 0x140023db8
lea rcx, [rsp + 0x60]
call fcn.140009300
mov r15, qword [rsp + 0x60]
lea rcx, [r15 - 0x18]
call fcn.14000a730
add rax, 0x18
mov qword [r14], rax
or esi, 0xffffffff
lock xadd dword [r15 - 8], esi
sub esi, 1
jg 0x140023f70
mov rdi, qword [r15 - 0x18]
mov r8, qword [rdi]
mov rbx, qword [r8 + 8]
mov rcx, rbx
call qword [fcn.14000ce40]
lea rdx, [r15 - 0x18]
jmp 0x140023f6b
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.GUID
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140023e49
lea r8, [rsp + 0x70]
lea rdx, [0x14002a564]
lea rcx, [rsp + 0x60]
call fcn.14000b3a0
mov rbx, qword [rsp + 0x60]
lea r15, [rbx - 0x18]
mov rcx, r15
call fcn.14000a730
add rax, 0x18
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x40]
call fcn.140023900
test al, al
je 0x140023e49
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, r15
call fcn.14000a730
add rax, 0x18
mov qword [r14], rax
or esi, 0xffffffff
jmp 0x140023f4a
lea rcx, [rsp + 0x38]
call fcn.140023b90
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
lea rdi, [rbx - 0x18]
cmp rcx, rdi
je 0x140023e9c
cmp dword [rdi + 0x10], 0
jl 0x140023e8d
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x140023e8d
call fcn.14000a730
mov rbx, rax
mov rcx, rdi
call fcn.1400014b0
lea rax, [rbx + 0x18]
mov qword [rsp + 0x60], rax
jmp 0x140023e9c
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x60]
call fcn.14000a7f0
nop
mov r15, qword [rsp + 0x38]
or esi, 0xffffffff
mov eax, esi
lock xadd dword [r15 - 8], eax
sub eax, 1
jg 0x140023ece
mov rdi, qword [r15 - 0x18]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [fcn.14000ce40]
lea rdx, [r15 - 0x18]
mov rcx, rdi
call rbx
mov rbx, qword [rsp + 0x60]
mov edi, dword [rbx - 0x10]
cmp dword [rbx - 8], 1
jle 0x140023eed
mov edx, edi
lea rcx, [rsp + 0x60]
call fcn.14000b020
mov rbx, qword [rsp + 0x60]
lea eax, [rdi*2 + 1]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
mov r9d, 1
xor r8d, r8d
lea rdx, str.GUID
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x140023f2e
lea rcx, [rsp + 0x60]
call fcn.140009300
mov rbx, qword [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r15, [rbx - 0x18]
mov rcx, r15
call fcn.14000a730
add rax, 0x18
mov qword [r14], rax
lock xadd dword [r15 + 0x10], esi
sub esi, 1
jg 0x140023f70
mov rdi, qword [r15]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [fcn.14000ce40]
mov rdx, r15
mov rcx, rdi
call rbx
mov rax, r14
mov rcx, qword [rbp + 0x370]
xor rcx, rsp
call fcn.140024a00
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret