Function at 0x14008dd10
Capabilities:
Query or enumerate registry value

Disassembly:
movzx eax, byte [rsp + 0x28]
mov byte [rsp + 0x28], al
jmp 0x14008de20
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14027ef78]
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.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
je 0x14008deb2
mov rcx, qword [0x14027fe70]
lea rax, [0x14027fe70]
cmp rcx, rax
je 0x14008dea8
test dword [rcx + 0x44], 0x200000
je 0x14008dea8
cmp byte [rcx + 0x41], 3
jb 0x14008dea8
mov r9, qword [rsi]
lea r8, [0x1401f9bb8]
mov rcx, qword [rcx + 0x38]
mov edx, 0xa
call fcn.14002c990
mov eax, 0x6e
jmp 0x14008e0a6
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.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
je 0x14008df2b
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rcx, qword [0x14027fe70]
lea rax, [0x14027fe70]
cmp rcx, rax
je 0x14008df21
test dword [rcx + 0x44], 0x200000
je 0x14008df21
cmp byte [rcx + 0x41], 5
jb 0x14008df21
mov r9, qword [rsi + 8]
lea r8, [0x1401f9bb8]
mov rcx, qword [rcx + 0x38]
mov edx, VariantTimeToDosDateTime
call fcn.14002c990
mov eax, 0x490
jmp 0x14008e0a6
cmp byte [rsp + 0x90], 0
je 0x14008df90
cmp dword [rbx], edi
je 0x14008dfe7
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rcx, qword [0x14027fe70]
lea rax, [0x14027fe70]
cmp rcx, rax
je 0x14008df86
test dword [rcx + 0x44], 0x200000
je 0x14008df86
cmp byte [rcx + 0x41], 3
jb 0x14008df86
mov r9d, dword [rbx]
lea r8, [0x1401f9bb8]
mov rcx, qword [rcx + 0x38]
mov edx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov dword [rsp + 0x20], edi
call fcn.14001dff0
mov eax, 0x18
jmp 0x14008e0a6
cmp dword [rbx], edi
jbe 0x14008dfe7
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rcx, qword [0x14027fe70]
lea rax, [0x14027fe70]
cmp rcx, rax
je 0x14008dfdd
test dword [rcx + 0x44], 0x200000
je 0x14008dfdd
cmp byte [rcx + 0x41], 3
jb 0x14008dfdd
mov r9d, dword [rbx]
lea r8, [0x1401f9bb8]
mov rcx, qword [rcx + 0x38]
mov edx, 0xd
mov dword [rsp + 0x20], edi
call fcn.14001dff0
mov eax, 0x7a
jmp 0x14008e0a6
cmp dword [rsp + 0x38], 1
mov rcx, qword [rsp + 0x30]
je 0x14008e037
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rcx, qword [0x14027fe70]
lea rax, [0x14027fe70]
cmp rcx, rax
je 0x14008e030
test dword [rcx + 0x44], 0x200000
je 0x14008e030
cmp byte [rcx + 0x41], 3
jb 0x14008e030
mov rcx, qword [rcx + 0x38]
lea r8, [0x1401f9bb8]
mov edx, 0xe
call fcn.14001d350
mov eax, 0x5b6
jmp 0x14008e0a6
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.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
test eax, eax
je 0x14008e09e
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rcx, qword [0x14027fe70]
lea rax, [0x14027fe70]
cmp rcx, rax
je 0x14008e097
test dword [rcx + 0x44], 0x200000
je 0x14008e097
cmp byte [rcx + 0x41], 3
jb 0x14008e097
mov rcx, qword [rcx + 0x38]
lea r8, [0x1401f9bb8]
mov edx, 0xf
call fcn.14001d350
mov eax, 0x1e
jmp 0x14008e0a6
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14017e000
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret