Function at 0x1400105dc
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x1a8]
sub rsp, 0x2a0
mov rax, qword [0x140093010]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov bl, 1
mov esi, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
xor r14d, r14d
cmp dword [rax], esi
jle 0x140010666
lea edi, [rsi + 7]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___wargv]
mov rcx, qword [rax]
mov dword [rsp + 0x20], r14d
or r9d, 0xffffffff
lea r8, str.__noupdate
or edx, r9d
mov rcx, qword [rdi + rcx]
call qword [sym.imp.KERNEL32.dll_CompareStringOrdinal]
movzx ebx, bl
cmp eax, 2
cmove ebx, r14d
inc esi
lea rdi, [rdi + 8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
cmp esi, dword [rax]
jl 0x140010626
mov r8d, 0x208
mov dword [rsp + 0x60], r8d
xor edx, edx
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll_memset
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov r9d, 2
lea r8, str.ActivePolicyCode
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionDeviceAccess
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
lea rdx, [0x14005c120]
lea rcx, [rbp - 0x80]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140010856
mov qword [rsp + 0x68], r14
mov dword [rsp + 0x60], 8
mov edx, 8
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1400ad250], eax
jle 0x14001072a
lea rcx, [0x1400ad250]
call fcn.140052658
cmp dword [0x1400ad250], 0xffffffff
jne 0x14001072a
call fcn.14000bc98
lea rcx, [0x140058d90]
call fcn.1400529a0
nop
lea rcx, [0x1400ad250]
call fcn.1400525f8
lea rdx, [0x1400ad1a8]
lea rcx, [rsp + 0x40]
call fcn.14000e3b8
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rdx, qword [rsp + 0x40]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov r9d, 0x40
lea r8, str.LastUpdateCheckTime
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov edi, eax
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14001079e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
call fcn.140009db8
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r14w
test edi, edi
jne 0x1400107da
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov rax, qword [rsp + 0x70]
sub rax, qword [rsp + 0x68]
movabs rcx, 0x6cf6f94800
cmp rax, rcx
jb 0x140010856
mov dword [rsp + 0x60], r14d
xor edx, edx
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetCurrentPackageId]
cmp eax, 0x3d54
setne dil
call fcn.140008030
mov rcx, qword [rax + 8]
cmp dword [rcx], 5
jbe 0x140010851
movabs rdx, 0x400000000000
test qword [rcx + 0x10], rdx
je 0x140010851
mov rax, qword [rcx + 0x18]
and rax, rdx
cmp rax, qword [rcx + 0x18]
jne 0x140010851
mov qword [rsp + 0x70], 0x1000000
movzx eax, dil
mov dword [rsp + 0x68], eax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea rdx, [0x1400837b6]
call fcn.140001d44
test dil, dil
je 0x140010859
mov bl, r14b
mov al, bl
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.1400521d0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret