Function at 0x140014d40
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov r15, r9
mov r12, r8
mov r14, rdx
mov r13, rcx
mov dword [rax - 0x68], 0x1fffff
lea rcx, [0x1400622e0]
mov rax, qword [0x1400622e0]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x38], rbx
mov rsi, qword [rsp + 0xc0]
mov rax, qword [rsi]
or rdi, 0xffffffffffffffff
cmp dword [rax - 0x10], 0
je 0x140014e2b
lea r8, [0x140043df0]
mov rdx, rsi
lea rcx, [rsp + 0x48]
call fcn.140001550
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x140014e12
cmp dword [rbx + 0x10], 0
jl 0x140014e03
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x140014e03
call fcn.140001870
mov rbp, rax
lock add dword [rbx + 0x10], edi
jg 0x140014df8
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rbp + 0x18]
mov qword [rsp + 0x38], rax
jmp 0x140014e12
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x38]
call fcn.140002fd0
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140014e2b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor r8d, r8d
mov rdx, r12
lea rcx, [rsp + 0x58]
call fcn.140013ee0
nop
mov r8, rax
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x50]
call fcn.1400013d0
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rax]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
setne bl
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140014e8c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140014ea5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test bl, bl
je 0x140014ee5
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x140014ec7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsi]
sub rdx, 0x18
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140014ede
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor al, al
jmp 0x140014fb9
mov ecx, dword [rsp + 0x30]
call fcn.14002911c
mov rbx, rax
mov r8d, dword [rsp + 0x30]
xor edx, edx
mov rcx, rax
call fcn.14002b2f0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rdx, qword [r14]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebp, eax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebp, ebp
jne 0x140014f67
mov ecx, dword [rsp + 0x30]
mov byte [rcx + rbx], bpl
test rbx, rbx
jne 0x140014f47
xor ecx, ecx
jmp 0x140014f59
mov rcx, rdi
nop word [rax + rax]
inc rcx
cmp byte [rbx + rcx], 0
jne 0x140014f50
mov r8d, ecx
mov rdx, rbx
mov rcx, r13
call fcn.140002fd0
mov rcx, rbx
call fcn.14002b458
test ebp, ebp
jne 0x140014f7e
cmp dword [rsp + 0x34], 1
jne 0x140014f7e
mov bl, 1
jmp 0x140014f80
xor bl, bl
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x140014f9e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsi]
sub rdx, 0x18
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140014fb6
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
movzx eax, bl
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret