Function at 0x1400164c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x728]
sub rsp, 0x810
mov qword [rbp - 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x14003d020]
xor rax, rsp
mov qword [rbp + 0x700], rax
mov ebx, ecx
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp + 0x4f0]
call fcn.14001b300
mov r8d, 0x104
lea rdx, [rbp + 0x4f0]
mov rcx, qword [0x14003f2a8]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor edx, edx
mov r8d, 0x202
lea rcx, [rbp + 0x2e0]
call fcn.14001b300
xor r15d, r15d
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], 0x100
lea rax, [rbp + 0x2e0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x4f0]
call fcn.14002169c
mov dword [0x14003d910], ebx
lea rcx, [rbp - 0x60]
call fcn.140015b00
nop
mov rdi, qword [rbp - 0x60]
test rdi, rdi
je 0x1400165e8
mov dword [rsp + 0x58], r15d
mov dword [rsp + 0x5c], 4
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
xor r8d, r8d
lea rdx, str.Verbosity
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400165db
cmp dword [rsp + 0x50], 4
mov eax, dword [rsp + 0x58]
je 0x1400165de
mov eax, r15d
mov dword [0x14003f270], eax
mov rdi, qword [rbp - 0x60]
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp + 0xd0]
call fcn.14001b300
mov byte [0x14003d914], 1
mov rsi, r15
mov qword [rbp - 0x80], r15
mov dword [rbp - 0x78], r15d
mov qword [rbp - 0x70], r15
mov ebx, r15d
mov dword [rbp - 0x68], ebx
test rdi, rdi
je 0x140016666
lea rax, [rbp - 0x38]
mov qword [rbp - 0x40], rax
lea rdx, str.ComponentsNOT
lea rcx, [rbp - 0x40]
call fcn.140018920
nop
mov r9d, 0x20019
mov r8, qword [rbp - 0x40]
mov rdx, rdi
lea rcx, [rbp - 0x80]
call fcn.140015240
nop
lea rax, [rbp - 0x38]
mov rcx, qword [rbp - 0x40]
cmp rcx, rax
je 0x14001665f
call fcn.14001df3c
mov rsi, qword [rbp - 0x80]
mov ebx, dword [rbp - 0x68]
nop word [rax + rax]
mov dword [rsp + 0x50], 0x104
test rsi, rsi
je 0x1400166d3
mov edx, ebx
inc ebx
mov dword [rbp - 0x68], ebx
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x50]
lea r8, [rbp + 0xd0]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x1400166b6
cmp eax, 0x7a
jne 0x1400166d3
lea rdx, [rbp + 0x2e0]
lea rcx, [rbp + 0xd0]
call fcn.1400211b4
test eax, eax
jne 0x140016670
mov byte [0x14003d914], al
mov r14, qword [rbp - 0x60]
mov rdi, r15
mov qword [rsp + 0x60], r15
mov dword [rsp + 0x68], r15d
mov qword [rsp + 0x70], r15
mov ebx, r15d
mov dword [rsp + 0x78], ebx
test r14, r14
je 0x140016741
lea rax, [rbp - 0x38]
mov qword [rbp - 0x40], rax
lea rdx, str.Components
lea rcx, [rbp - 0x40]
call fcn.140018920
nop
mov r9d, 0x20019
mov r8, qword [rbp - 0x40]
mov rdx, r14
lea rcx, [rsp + 0x60]
call fcn.140015240
nop
lea rax, [rbp - 0x38]
mov rcx, qword [rbp - 0x40]
cmp rcx, rax
je 0x140016738
call fcn.14001df3c
mov rdi, qword [rsp + 0x60]
mov ebx, dword [rsp + 0x78]
mov dword [rsp + 0x50], 0x104
test rdi, rdi
je 0x1400167ad
mov edx, ebx
inc ebx
mov dword [rsp + 0x78], ebx
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x50]
lea r8, [rbp + 0xd0]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x140016788
cmp eax, 0x7a
jne 0x1400167ad
mov byte [0x14003d914], 0
lea rdx, [rbp + 0x2e0]
lea rcx, [rbp + 0xd0]
call fcn.1400211b4
test eax, eax
jne 0x140016741
mov byte [0x14003d914], 1
test rdi, rdi
je 0x1400167c0
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x60], r15
mov dword [rsp + 0x68], r15d
test rsi, rsi
je 0x1400167d7
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x80], r15
mov dword [rbp - 0x78], r15d
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x1400167ee
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x60], r15
mov dword [rbp - 0x58], r15d
mov rcx, qword [rbp + 0x700]
xor rcx, rsp
call fcn.140019920
lea r11, [rsp + 0x810]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret