Function at 0x14009eeb0
Capabilities:
Query or enumerate registry value

Disassembly:
movzx eax, byte [rsp + 0x28]
mov byte [rsp + 0x28], al
jmp 0x14009efc0
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1402a7d08]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbp, rdx
lea rax, [rsp + 0x30]
mov rdx, qword [rcx]
mov edi, r9d
mov rbx, r8
mov qword [rsp + 0x20], rax
mov rsi, rcx
mov r9d, 0x20019
mov rcx, 0xffffffff80000002
xor r8d, r8d
call qword [sym.imp.ADVAPI32.DLL_RegOpenKeyExW]
test eax, eax
je 0x14009f052
mov rcx, qword [0x1402aa8a0]
lea rax, [0x1402aa8a0]
cmp rcx, rax
je 0x14009f048
test dword [rcx + 0x44], 0x200000
je 0x14009f048
cmp byte [rcx + 0x41], 3
jb 0x14009f048
mov r9, qword [rsi]
lea r8, [0x1402317d8]
mov rcx, qword [rcx + 0x38]
mov edx, 0xa
call fcn.140033560
mov eax, 0x6e
jmp 0x14009f250
mov rdx, qword [rsi + 8]
lea r9, [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.DLL_RegQueryValueExW]
test eax, eax
je 0x14009f0cb
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.DLL_RegCloseKey]
mov rcx, qword [0x1402aa8a0]
lea rax, [0x1402aa8a0]
cmp rcx, rax
je 0x14009f0c1
test dword [rcx + 0x44], 0x200000
je 0x14009f0c1
cmp byte [rcx + 0x41], 5
jb 0x14009f0c1
mov r9, qword [rsi + 8]
lea r8, [0x1402317d8]
mov rcx, qword [rcx + 0x38]
mov edx, VariantTimeToDosDateTime
call fcn.140033560
mov eax, 0x490
jmp 0x14009f250
cmp byte [rsp + 0x90], 0
je 0x14009f130
cmp dword [rbx], edi
je 0x14009f191
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.DLL_RegCloseKey]
mov rcx, qword [0x1402aa8a0]
lea rax, [0x1402aa8a0]
cmp rcx, rax
je 0x14009f126
test dword [rcx + 0x44], 0x200000
je 0x14009f126
cmp byte [rcx + 0x41], 3
jb 0x14009f126
mov r9d, dword [rbx]
lea r8, [0x1402317d8]
mov rcx, qword [rcx + 0x38]
mov edx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov dword [rsp + 0x20], edi
call fcn.140025680
mov eax, 0x18
jmp 0x14009f250
cmp dword [rbx], edi
jbe 0x14009f191
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.DLL_RegCloseKey]
mov rcx, qword [0x1402aa8a0]
lea rax, [0x1402aa8a0]
cmp rcx, rax
je 0x14009f187
test dword [rcx + 0x44], 0x200000
je 0x14009f187
cmp byte [rcx + 0x41], 3
jb 0x14009f187
lfence
mov rcx, qword [0x1402aa8a0]
lea r8, [0x1402317d8]
mov r9d, dword [rbx]
mov edx, 0xd
mov dword [rsp + 0x20], edi
mov rcx, qword [rcx + 0x38]
call fcn.140025680
mov eax, 0x7a
jmp 0x14009f250
cmp dword [rsp + 0x38], 1
mov rcx, qword [rsp + 0x30]
je 0x14009f1e1
call qword [sym.imp.ADVAPI32.DLL_RegCloseKey]
mov rcx, qword [0x1402aa8a0]
lea rax, [0x1402aa8a0]
cmp rcx, rax
je 0x14009f1da
test dword [rcx + 0x44], 0x200000
je 0x14009f1da
cmp byte [rcx + 0x41], 3
jb 0x14009f1da
mov rcx, qword [rcx + 0x38]
lea r8, [0x1402317d8]
mov edx, 0xe
call fcn.140024300
mov eax, 0x5b6
jmp 0x14009f250
mov rdx, qword [rsi + 8]
xor r9d, r9d
mov qword [rsp + 0x28], rbx
xor r8d, r8d
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.DLL_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
test eax, eax
je 0x14009f248
call qword [sym.imp.ADVAPI32.DLL_RegCloseKey]
mov rcx, qword [0x1402aa8a0]
lea rax, [0x1402aa8a0]
cmp rcx, rax
je 0x14009f241
test dword [rcx + 0x44], 0x200000
je 0x14009f241
cmp byte [rcx + 0x41], 3
jb 0x14009f241
mov rcx, qword [rcx + 0x38]
lea r8, [0x1402317d8]
mov edx, 0xf
call fcn.140024300
mov eax, 0x1e
jmp 0x14009f250
call qword [sym.imp.ADVAPI32.DLL_RegCloseKey]
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140140100
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret