Function at 0x14008dd20
Capabilities:
Query or enumerate registry value

Disassembly:
movzx eax, byte [rsp + 0x28]
mov byte [rsp + 0x28], al
jmp 0x14008de30
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14028cab8]
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 0x14008dec2
mov rcx, qword [0x14028d9b0]
lea rax, [0x14028d9b0]
cmp rcx, rax
je 0x14008deb8
test dword [rcx + 0x44], 0x200000
je 0x14008deb8
cmp byte [rcx + 0x41], 3
jb 0x14008deb8
mov r9, qword [rsi]
lea r8, [0x140205bb8]
mov rcx, qword [rcx + 0x38]
mov edx, 0xa
call fcn.14002c9a0
mov eax, 0x6e
jmp 0x14008e0b6
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 0x14008df3b
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rcx, qword [0x14028d9b0]
lea rax, [0x14028d9b0]
cmp rcx, rax
je 0x14008df31
test dword [rcx + 0x44], 0x200000
je 0x14008df31
cmp byte [rcx + 0x41], 5
jb 0x14008df31
mov r9, qword [rsi + 8]
lea r8, [0x140205bb8]
mov rcx, qword [rcx + 0x38]
mov edx, VariantTimeToDosDateTime
call fcn.14002c9a0
mov eax, 0x490
jmp 0x14008e0b6
cmp byte [rsp + 0x90], 0
je 0x14008dfa0
cmp dword [rbx], edi
je 0x14008dff7
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rcx, qword [0x14028d9b0]
lea rax, [0x14028d9b0]
cmp rcx, rax
je 0x14008df96
test dword [rcx + 0x44], 0x200000
je 0x14008df96
cmp byte [rcx + 0x41], 3
jb 0x14008df96
mov r9d, dword [rbx]
lea r8, [0x140205bb8]
mov rcx, qword [rcx + 0x38]
mov edx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov dword [rsp + 0x20], edi
call fcn.14001dff0
mov eax, 0x18
jmp 0x14008e0b6
cmp dword [rbx], edi
jbe 0x14008dff7
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rcx, qword [0x14028d9b0]
lea rax, [0x14028d9b0]
cmp rcx, rax
je 0x14008dfed
test dword [rcx + 0x44], 0x200000
je 0x14008dfed
cmp byte [rcx + 0x41], 3
jb 0x14008dfed
mov r9d, dword [rbx]
lea r8, [0x140205bb8]
mov rcx, qword [rcx + 0x38]
mov edx, 0xd
mov dword [rsp + 0x20], edi
call fcn.14001dff0
mov eax, 0x7a
jmp 0x14008e0b6
cmp dword [rsp + 0x38], 1
mov rcx, qword [rsp + 0x30]
je 0x14008e047
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rcx, qword [0x14028d9b0]
lea rax, [0x14028d9b0]
cmp rcx, rax
je 0x14008e040
test dword [rcx + 0x44], 0x200000
je 0x14008e040
cmp byte [rcx + 0x41], 3
jb 0x14008e040
mov rcx, qword [rcx + 0x38]
lea r8, [0x140205bb8]
mov edx, 0xe
call fcn.14001d350
mov eax, 0x5b6
jmp 0x14008e0b6
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 0x14008e0ae
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rcx, qword [0x14028d9b0]
lea rax, [0x14028d9b0]
cmp rcx, rax
je 0x14008e0a7
test dword [rcx + 0x44], 0x200000
je 0x14008e0a7
cmp byte [rcx + 0x41], 3
jb 0x14008e0a7
mov rcx, qword [rcx + 0x38]
lea r8, [0x140205bb8]
mov edx, 0xf
call fcn.14001d350
mov eax, 0x1e
jmp 0x14008e0b6
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.140189c60
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret