Function at 0x140001368
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x1401f5698]
xor rax, rsp
mov qword [rbp + 0xb0], rax
xor r12d, r12d
mov r15, rcx
mov ebx, r12d
call fcn.140116544
test al, al
je 0x1400015b5
lea rax, [rsp + 0x60]
mov qword [rsp + 0x60], r12
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400015b5
mov edi, 0x100
mov dword [rsp + 0x5c], r12d
mov r8d, edi
mov dword [rsp + 0x58], r12d
xor edx, edx
mov dword [rsp + 0x54], r12d
lea rcx, [rbp - 0x50]
call fcn.14012d4b0
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x58]
lea rax, [rsp + 0x5c]
mov dword [rsp + 0x50], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [0x140175a60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x60]
lea r9, [rsp + 0x54]
mov r14d, eax
mov dword [rsp + 0x50], edi
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rdx, str.ReleaseId
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rdx, [r15 + 0x14]
mov esi, eax
cmp word [rdx], r12w
je 0x1400014ac
mov qword [rsp + 0x40], r12
lea rcx, str.__SP:
mov qword [rsp + 0x38], r12
xor r9d, r9d
mov qword [rsp + 0x30], r12
xor r8d, r8d
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
call fcn.1401146e0
mov rdi, rax
jmp 0x1400014af
mov rdi, r12
mov ecx, dword [rsp + 0x5c]
test r14d, r14d
jne 0x14000150c
cmp dword [rsp + 0x58], 4
jne 0x14000150c
test ecx, ecx
je 0x14000150c
test esi, esi
jne 0x14000154e
cmp dword [rsp + 0x54], 1
jne 0x14000154e
cmp word [rbp - 0x50], r12w
je 0x14000154e
lea r8d, [r14 + 0xa]
lea rdx, [rsp + 0x70]
call fcn.140001224
mov qword [rsp + 0x40], r12
lea rdx, str.__UBR:
mov qword [rsp + 0x38], r12
mov r9, rdi
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
jmp 0x140001589
test esi, esi
jne 0x140001542
cmp dword [rsp + 0x54], 1
jne 0x140001542
cmp word [rbp - 0x50], r12w
je 0x140001542
mov qword [rsp + 0x40], r12
xor r9d, r9d
mov qword [rsp + 0x38], r12
xor r8d, r8d
mov qword [rsp + 0x30], r12
mov rdx, rdi
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
jmp 0x14000158c
test r14d, r14d
jne 0x140001598
cmp dword [rsp + 0x58], 4
jne 0x140001598
test ecx, ecx
je 0x140001598
mov r8d, 0xa
lea rdx, [rsp + 0x70]
call fcn.140001224
mov qword [rsp + 0x40], r12
lea r9, [0x140175aa0]
mov qword [rsp + 0x38], r12
lea rdx, str.UBR_
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rdi
mov r8, rax
lea rcx, [rbp - 0x50]
call fcn.1401146e0
mov rbx, rax
test rdi, rdi
je 0x1400015a5
mov rcx, rdi
call fcn.140113e18
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rbx, rbx
jne 0x1400015c3
lea rcx, [r15 + 0x14]
xor edx, edx
call fcn.1401145e0
mov rbx, rax
mov rax, rbx
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.14012bda0
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret