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

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x3a8]
sub rsp, 0x480
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x140032008]
xor rax, rsp
mov qword [rbp + 0x370], rax
mov rsi, rcx
xor r12d, r12d
mov dword [rsp + 0x50], r12d
call fcn.140001490
mov rcx, rax
test rax, rax
jne 0x14001e71e
mov ecx, 0x80004005
call fcn.1400011d0
int3
mov rax, qword [rax]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x68], 0x400
lea rax, [rsp + 0x30]
mov qword [rsp + 0x40], rax
call fcn.140001490
mov rcx, rax
test rax, rax
jne 0x14001e75c
mov ecx, 0x80004005
call fcn.1400011d0
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
lea rdx, str.CRLog
test rdx, 0xffffffffffff0000
jne 0x14001e79c
movzx edi, dx
mov ecx, edi
call fcn.1400012a0
test rax, rax
je 0x14001e7a7
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140009f50
jmp 0x14001e7a7
lea rcx, [rsp + 0x30]
call fcn.140009680
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.14001ef60
test al, al
jne 0x14001e848
lea rdx, [rbx - 0x18]
mov r14, qword [rdx]
or edi, 0xffffffff
cmp dword [rdx + 8], 0
je 0x14001e816
cmp dword [rdx + 0x10], 0
jge 0x14001e7ef
cmp dword [rbx - 0xc], 0
jge 0x14001e7e5
mov ecx, 0x80070057
call fcn.1400011d0
int3
mov dword [rbx - 0x10], r12d
mov word [rbx], r12w
jmp 0x14001e816
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001e804
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x60], rbx
lea rcx, [rbx - 0x18]
call fcn.140009a50
add rax, 0x18
mov qword [rsi], rax
lock xadd dword [rbx - 8], edi
sub edi, 1
jg 0x14001ea3b
mov rcx, qword [rbx - 0x18]
mov r8, qword [rcx]
lea rdx, [rbx - 0x18]
call qword [r8 + 8]
jmp 0x14001ea3b
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 + 0x38]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001e8d7
lea r8, [rsp + 0x70]
lea rdx, [0x1400242e4]
lea rcx, [rsp + 0x60]
call fcn.14000a530
mov rbx, qword [rsp + 0x60]
lea rcx, [rbx - 0x18]
call fcn.140009a50
add rax, 0x18
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x48]
call fcn.14001e2c0
test al, al
je 0x14001e8d7
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbx - 0x18]
call fcn.140009a50
add rax, 0x18
mov qword [rsi], rax
or edi, 0xffffffff
jmp 0x14001ea23
lea rcx, [rsp + 0x40]
call fcn.14001e530
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
add rbx, 0xffffffffffffffe8
or edi, 0xffffffff
cmp rcx, rbx
je 0x14001e93e
cmp dword [rbx + 0x10], 0
jl 0x14001e92f
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x14001e92f
call fcn.140009a50
mov r14, rax
mov ecx, edi
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x14001e924
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [r8 + 8]
lea rax, [r14 + 0x18]
mov qword [rsp + 0x60], rax
jmp 0x14001e93e
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x60]
call fcn.140009ae0
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001e95c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rsp + 0x60]
mov r14d, dword [rbx - 0x10]
cmp dword [rbx - 8], 1
jle 0x14001e97d
mov edx, r14d
lea rcx, [rsp + 0x60]
call fcn.14000a320
mov rbx, qword [rsp + 0x60]
lea eax, [r14*2 + 1]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
mov r9d, 1
xor r8d, r8d
lea rdx, str.GUID
mov r15, qword [rsp + 0x38]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x14001ea0a
lea rdx, [rbx - 0x18]
mov r14, qword [rdx]
cmp dword [rdx + 8], 0
je 0x14001ea0a
cmp dword [rdx + 0x10], 0
jge 0x14001e9de
cmp dword [rbx - 0xc], 0
jge 0x14001e9d4
mov ecx, 0x80070057
call fcn.1400011d0
int3
mov dword [rbx - 0x10], r12d
mov word [rbx], r12w
jmp 0x14001ea0a
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001e9f3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x60], rbx
mov r15, qword [rsp + 0x38]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbx - 0x18]
call fcn.140009a50
add rax, 0x18
mov qword [rsi], rax
lock xadd dword [rbx - 8], edi
sub edi, 1
jg 0x14001ea3b
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
lea rdx, [rbx - 0x18]
call qword [rax + 8]
mov rax, rsi
mov rcx, qword [rbp + 0x370]
xor rcx, rsp
call fcn.14001f400
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret