Function at 0x140007c14
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov dword [r11 + 0x20], r9d
mov dword [r11 + 0x18], r8d
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
and qword [rbp - 0x20], 0
lea rax, [rbp - 0x20]
mov r9d, 0x2001f
mov qword [r11 - 0x68], rax
xor r8d, r8d
mov rsi, rdx
xor edi, edi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x140007fe6
mov rcx, qword [rbp - 0x20]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x28], rax
lea r14d, [rdi + 4]
lea rax, [rbp - 0x28]
mov dword [rbp - 0x30], r14d
lea r9, [rbp - 0x2c]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.Unknown
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
mov r8d, dword [rbp + 0x30]
lea rbx, [0x14000f038]
test eax, eax
jne 0x140007cbc
cmp dword [rbp - 0x2c], r14d
jne 0x140007cbc
cmp dword [rbp - 0x30], r14d
jne 0x140007cbc
cmp dword [rbp - 0x28], r8d
je 0x140007d26
mov edi, 1
mov rcx, qword [0x14000f038]
cmp rcx, rbx
je 0x140007cea
test dword [rcx + 0x1c], 0x1000
je 0x140007cea
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0x11]
mov r9, rsi
mov dword [rsp + 0x20], r8d
call fcn.140001d20
mov rcx, qword [rbp - 0x20]
lea rax, [rbp + 0x30]
mov dword [rsp + 0x28], r14d
lea rdx, str.Unknown
mov r9d, r14d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x140007fe6
lea rbx, [0x14000f038]
mov rcx, qword [rbp - 0x20]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp - 0x24]
mov dword [rbp - 0x30], r14d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.Untrusted
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
mov r8d, dword [rbp + 0x38]
test eax, eax
jne 0x140007d74
cmp dword [rbp - 0x2c], r14d
jne 0x140007d74
cmp dword [rbp - 0x30], r14d
jne 0x140007d74
cmp dword [rbp - 0x24], r8d
je 0x140007dd7
mov edi, 1
mov rcx, qword [0x14000f038]
cmp rcx, rbx
je 0x140007da2
test dword [rcx + 0x1c], 0x1000
je 0x140007da2
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0x12]
mov r9, rsi
mov dword [rsp + 0x20], r8d
call fcn.140001d20
mov rcx, qword [rbp - 0x20]
lea rax, [rbp + 0x38]
mov dword [rsp + 0x28], r14d
lea rdx, str.Untrusted
mov r9d, r14d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x140007fe6
mov rcx, qword [rbp - 0x20]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp - 0x18]
mov dword [rbp - 0x30], 8
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.NotBefore
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
mov rbx, qword [rbp + 0x40]
test eax, eax
jne 0x140007e39
cmp dword [rbp - 0x2c], 0xb
jne 0x140007e39
cmp dword [rbp - 0x30], 8
jne 0x140007e39
mov rdx, rbx
lea rcx, [rbp - 0x18]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CompareFileTime]
nop dword [rax + rax]
test eax, eax
je 0x140007ea0
mov edi, 1
mov rcx, qword [0x14000f038]
lea rax, [0x14000f038]
cmp rcx, rax
je 0x140007e69
test dword [rcx + 0x1c], 0x1000
je 0x140007e69
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0x13]
mov r9, rsi
call fcn.140001cac
mov rcx, qword [rbp - 0x20]
lea rdx, str.NotBefore
mov dword [rsp + 0x28], 8
mov r9d, 0xb
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x140007fe6
mov rcx, qword [rbp - 0x20]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp - 0x10]
mov dword [rbp - 0x30], 8
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.NotAfter
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
mov r14, qword [rbp + 0x48]
mov ebx, eax
test eax, eax
jne 0x140007f04
cmp dword [rbp - 0x2c], 0xb
jne 0x140007f04
cmp dword [rbp - 0x30], 8
jne 0x140007f04
mov rdx, r14
lea rcx, [rbp - 0x10]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CompareFileTime]
nop dword [rax + rax]
test eax, eax
je 0x140007f67
mov edi, 1
mov rcx, qword [0x14000f038]
lea rax, [0x14000f038]
cmp rcx, rax
je 0x140007f34
test dword [rcx + 0x1c], 0x1000
je 0x140007f34
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0x14]
mov r9, rsi
call fcn.140001cac
mov rcx, qword [rbp - 0x20]
lea rdx, str.NotAfter
mov dword [rsp + 0x28], 8
mov r9d, 0xb
xor r8d, r8d
mov qword [rsp + 0x20], r14
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x140007fe6
test edi, edi
je 0x140007fe6
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
and qword [rsp + 0x30], 0
lea rcx, str..AppID
and dword [rsp + 0x28], 0
xor r9d, r9d
and qword [rbp - 0x20], 0
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x20], 3
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateFileW]
nop dword [rax + rax]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140007fca
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
jmp 0x140007fe6
mov rdx, rsi
mov rcx, rdi
call fcn.1400094b8
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x140007ffb
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
lea r11, [rsp + 0x70]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret