Function at 0x1400159b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x5c8]
sub rsp, 0x6b0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1400aa008]
xor rax, rsp
mov qword [rbp + 0x5a0], rax
mov rsi, rcx
xor r14d, r14d
mov edi, r14d
mov ebx, r14d
mov dword [rsp + 0x30], ebx
nop word [rax + rax]
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x390]
call fcn.140052580
lea r8, [rbp + 0x390]
mov edx, ebx
mov ecx, dword [rsi + 0x10]
call fcn.14007b2d0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x180]
call fcn.140052580
mov r8d, 1
lea rdx, str.Property_u
lea rcx, [rbp + 0x180]
call fcn.1400123e0
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x70]
call fcn.140052580
xor bl, bl
mov qword [rsp + 0x38], r14
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp + 0x390]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140015b0e
mov dword [rsp + 0x34], r14d
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x40]
xor r8d, r8d
lea rdx, [rbp + 0x180]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [rsp + 0x34]
dec eax
cmp eax, 0x102
ja 0x140015b03
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
lea rdx, [rbp + 0x180]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
sete bl
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x140015c4b
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
mov r8d, 3
lea rdx, [rbp + 0x70]
lea rcx, [rsp + 0x60]
call fcn.14000d770
nop
mov rcx, qword [rsp + 0x60]
call fcn.140015770
movzx ebx, al
lea rax, [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
cmp rcx, rax
je 0x140015b56
call fcn.14005392c
test bl, bl
je 0x140015c4b
mov rax, qword [rsi]
mov rcx, qword [rax + 8]
mov rbx, rax
mov edx, dword [rsp + 0x30]
cmp byte [rcx + 0x19], 0
jne 0x140015b89
cmp dword [rcx + 0x20], edx
jae 0x140015b7d
mov rcx, qword [rcx + 0x10]
jmp 0x140015b83
mov rbx, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x140015b72
cmp rbx, rax
je 0x140015b93
cmp edx, dword [rbx + 0x20]
jae 0x140015bc8
lea rax, [rsp + 0x30]
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0x38]
mov rcx, rsi
call fcn.140014ae0
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
mov r8, rbx
lea rdx, [rsp + 0x48]
mov rcx, rsi
call fcn.1400163e0
mov rbx, qword [rsp + 0x48]
cmp byte [rbp + 0x70], 0
jne 0x140015bd3
mov r8, r14
jmp 0x140015bea
lea rax, [rbp + 0x70]
or r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140015be0
lea rcx, [rbx + 0x28]
lea rdx, [rbp + 0x70]
call fcn.140003890
mov ebx, dword [rsp + 0x30]
cmp ebx, edi
je 0x140015c47
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
mov r8d, 3
lea rdx, [rbp + 0x70]
lea rcx, [rsp + 0x60]
call fcn.14000d770
nop
mov r9d, edi
mov rdx, qword [rsp + 0x60]
mov rcx, rsi
call fcn.1400160e0
nop
lea rax, [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
cmp rcx, rax
je 0x140015c43
call fcn.14005392c
mov ebx, dword [rsp + 0x30]
inc edi
jmp 0x140015c4f
mov ebx, dword [rsp + 0x30]
inc ebx
mov dword [rsp + 0x30], ebx
cmp ebx, 9
jbe 0x140015a00
mov rcx, qword [rbp + 0x5a0]
xor rcx, rsp
call fcn.140030090
lea r11, [rsp + 0x6b0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret