Function at 0x140078d20
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov qword [rsp + 0x88], 0xfffffffffffffffe
mov qword [rsp + 0x30], 0
lea rax, str.CRegistryEx::GetDWORD
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 8
lea r9, [0x1400b7a00]
mov r8d, reloc.OLEAUT32.dll_VariantTimeToSystemTime
mov edx, dword [0x1400ec2f0]
lea rcx, [rsp + 0x70]
call fcn.14008f230
nop
mov dword [rsp + 0x40], 0
cmp qword [rsp + 0xb8], 0
je 0x140078da3
mov rax, qword [rsp + 0xb8]
mov eax, dword [rax]
mov dword [rsp + 0x40], eax
cmp qword [rsp + 0xa8], 0
je 0x140078db9
cmp qword [rsp + 0xb0], 0
jne 0x140078dd4
mov dword [rsp + 0x54], 0
lea rcx, [rsp + 0x70]
call fcn.14008f210
mov eax, dword [rsp + 0x54]
jmp 0x140079064
mov rax, qword [rsp + 0xa0]
cmp qword [rax + 0x10], 0
jne 0x140078de8
jmp 0x140078fe4
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0xc0], 0
je 0x140078e7a
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rsp + 0xc0]
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140078e7a
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x30], rax
lea rax, str.Couldnt_open_subkey:__s_n
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
lea r9, [0x1400b7a50]
mov r8d, 0xd0
mov edx, dword [0x1400ec2f0]
lea rcx, [rsp + 0x70]
call fcn.14008ef50
jmp 0x140078fe4
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x30], rax
lea rax, str.Opened_subkey:__s_n
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
lea r9, [0x1400b7a98]
mov r8d, 0xd3
mov edx, dword [0x1400ec2f0]
lea rcx, [rsp + 0x70]
call fcn.14008ef50
mov dword [rsp + 0x4c], 4
mov dword [rsp + 0x44], 0
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
xor r8d, r8d
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x44], eax
cmp qword [rsp + 0xc0], 0
je 0x140078f14
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x44], 0
je 0x140078f59
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x30], eax
lea rax, str.Error_querying_value:__d_n
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
lea r9, [0x1400b7ae8]
mov r8d, 0xe7
mov edx, dword [0x1400ec2f0]
lea rcx, [rsp + 0x70]
call fcn.14008ef50
jmp 0x140078fe4
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x38], eax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x30], rax
lea rax, str.Read_0x_08X_successfully._Type_d._n
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
lea r9, [0x1400b7b40]
mov r8d, 0xeb
mov edx, dword [0x1400ec2f0]
lea rcx, [rsp + 0x70]
call fcn.14008ef50
cmp dword [rsp + 0x48], 4
je 0x140078fc1
cmp dword [rsp + 0x48], 3
jne 0x140078fb7
mov eax, dword [rsp + 0x4c]
cmp rax, 4
je 0x140078fc1
mov dword [rsp + 0x50], 0
jmp 0x140078fc9
mov dword [rsp + 0x50], 1
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x6c], eax
lea rcx, [rsp + 0x70]
call fcn.14008f210
mov eax, dword [rsp + 0x6c]
jmp 0x140079064
cmp qword [rsp + 0xb8], 0
je 0x14007904e
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x30], eax
lea rax, str.Returning_default_value:_0x_08X_n
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
lea r9, [0x1400b7b98]
mov r8d, 0xf3
mov edx, dword [0x1400ec2f0]
lea rcx, [rsp + 0x70]
call fcn.14008ef50
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rsp + 0x40]
mov dword [rax], ecx
mov dword [rsp + 0x68], 1
lea rcx, [rsp + 0x70]
call fcn.14008f210
mov eax, dword [rsp + 0x68]
jmp 0x140079064
mov dword [rsp + 0x58], 0
lea rcx, [rsp + 0x70]
call fcn.14008f210
mov eax, dword [rsp + 0x58]
add rsp, 0x98
ret