Function at 0x140014520
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
push rbp
push r14
push r15
lea rbp, [rax - 0xa8]
sub rsp, 0x190
mov rax, qword [0x14001c008]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov rsi, qword [rbp + 0xd8]
mov r14, qword [rbp + 0xe0]
xor ebx, ebx
mov edi, r8d
mov byte [rsp + 0x41], bl
mov byte [rsp + 0x40], bl
mov byte [rsp + 0x42], bl
cmp dword [rsi], ebx
je 0x140014818
cmp dword [rbp + 0xd0], ebx
je 0x140014818
test ecx, ecx
jne 0x140014592
test edx, edx
je 0x140014818
mov r15d, 1
cmp r9d, r15d
je 0x140014816
lea rdx, [rsp + 0x44]
lea rcx, [rsp + 0x41]
call qword [sym.imp.winbio.dll_WinBioGetEnabledSetting]
cmp dword [rsp + 0x44], ebx
jne 0x1400145e5
lea rax, [0x1400016f0]
mov r8d, 0xc00000e5
mov qword [rsp + 0x30], rax
lea rax, [0x140001eb0]
mov ebx, r8d
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x284
jmp 0x1400147f5
cmp byte [rsp + 0x41], bl
je 0x140014691
lea rdx, [rsp + 0x44]
lea rcx, [rsp + 0x40]
call qword [sym.imp.winbio.dll_WinBioGetLogonSetting]
cmp dword [rsp + 0x44], ebx
jne 0x140014633
lea rax, [0x1400016f0]
mov r8d, 0xc00000e5
mov qword [rsp + 0x30], rax
lea rax, [0x140001eb0]
mov ebx, r8d
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x28f
jmp 0x1400147f5
cmp byte [rsp + 0x40], bl
je 0x140014691
test edi, edi
je 0x140014687
lea rdx, [rsp + 0x44]
lea rcx, [rsp + 0x42]
call qword [sym.imp.winbio.dll_WinBioGetDomainLogonSetting]
cmp dword [rsp + 0x44], ebx
jne 0x140014681
lea rax, [0x1400016f0]
mov r8d, 0xc00000e5
mov qword [rsp + 0x30], rax
lea rax, [0x140001eb0]
mov ebx, r8d
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x29c
jmp 0x1400147f5
cmp byte [rsp + 0x42], bl
je 0x140014691
mov edi, 2
jmp 0x140014813
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x60], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov edi, 2
test eax, eax
je 0x1400146c0
mov al, byte [rbp + 0x7a]
sub al, dil
cmp al, r15b
ja 0x1400146c0
mov dword [r14], r15d
jmp 0x140014816
cmp dword [0x14001cc08], ebx
je 0x140014813
lea rax, [rsp + 0x4c]
lea r8, [0x140001ee0]
lea rdx, [0x140001f10]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
mov r9d, 0x10
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x4c], 4
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov ecx, eax
add eax, 0xfffffffe
cmp eax, r15d
ja 0x140014727
mov ecx, ebx
mov eax, ebx
mov dword [rsp + 0x48], ebx
jmp 0x14001472b
mov eax, dword [rsp + 0x48]
test ecx, ecx
je 0x140014765
lea rax, [0x1400016f0]
movzx ebx, cx
mov qword [rsp + 0x30], rax
or ebx, 0xc0070000
lea rax, [0x140001f68]
test ecx, ecx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2d8
cmovle ebx, ecx
mov r8d, ebx
jmp 0x1400147f5
test eax, eax
jne 0x140014813
lea rax, [rsp + 0x4c]
lea r8, [0x140001f88]
lea rdx, [0x140001f10]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
mov r9d, 0x10
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x4c], 4
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov edx, eax
add eax, 0xfffffffe
cmp eax, r15d
jbe 0x140014813
test edx, edx
je 0x14001480d
lea rax, [0x1400016f0]
movzx ecx, dx
mov qword [rsp + 0x30], rax
or ecx, 0xc0070000
lea rax, [0x140001f68]
test edx, edx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2fd
cmovle ecx, edx
mov ebx, ecx
mov r8d, ecx
lea r9, [0x140001ca0]
lea rdx, [0x1400016b8]
mov ecx, r15d
call fcn.140013c30
jmp 0x140014818
cmp dword [rsp + 0x48], ebx
jne 0x140014818
mov dword [r14], edi
mov dword [rsi], ebx
mov eax, ebx
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.140019b50
lea r11, [rsp + 0x190]
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