Function at 0x1400b9468
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov r15, r8
mov rdi, rdx
mov r14, rcx
lea rbx, [0x140106190]
mov rcx, qword [0x140106190]
cmp rcx, rbx
je 0x1400b94c5
test byte [rcx + 0x1c], 1
je 0x1400b94c5
cmp byte [rcx + 0x19], 5
jb 0x1400b94c5
mov edx, 0x40
mov eax, dword [r8]
mov dword [rsp + 0x20], eax
mov r9, rdi
mov rcx, qword [rcx + 0x10]
call fcn.1400b769c
mov rdx, rdi
mov rcx, r14
call fcn.1400b7c60
mov esi, eax
mov rcx, qword [0x140106190]
cmp rcx, rbx
je 0x1400b94ff
test byte [rcx + 0x1c], 2
je 0x1400b94ff
cmp byte [rcx + 0x19], 5
jb 0x1400b94ff
mov edx, 0x41
mov dword [rsp + 0x20], eax
mov r9, rdi
mov rcx, qword [rcx + 0x10]
call fcn.1400b769c
xor ebx, ebx
mov eax, 0x490
test esi, esi
cmove ebx, eax
mov rdx, rdi
lea rcx, [rbp - 0x28]
call fcn.140004b74
nop
lea rcx, [rbp - 0x28]
call fcn.140034130
xor edi, edi
mov qword [rbp - 0x18], rdi
and qword [rbp - 0x10], rdi
and qword [rbp - 8], rdi
lea esi, [rdi + 4]
test ebx, ebx
jne 0x1400b9582
xor r8d, r8d
lea rdx, [rbp - 0x18]
mov rcx, r14
call fcn.1400bb53c
mov ebx, eax
mov rcx, qword [0x140106190]
lea r14, [0x140106190]
cmp rcx, r14
je 0x1400b957c
test byte [rcx + 0x1c], 2
je 0x1400b957c
cmp byte [rcx + 0x19], sil
jb 0x1400b957c
lea edx, [rdi + 0x42]
mov r9d, eax
lea r8, [0x1400e7b20]
mov rcx, qword [rcx + 0x10]
call fcn.140003634
mov rdi, qword [rbp - 0x18]
jmp 0x1400b9589
lea r14, [0x140106190]
and dword [r15], 0
and dword [rbp + 0x40], 0
test ebx, ebx
jne 0x1400b966c
mov dword [rbp + 0x48], esi
lea rax, [rbp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x30]
xor r8d, r8d
mov rdx, qword [rbp - 0x28]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x1400b95d4
mov eax, dword [rbp - 0x30]
sub eax, esi
neg eax
sbb ebx, ebx
and ebx, 0xd
mov rcx, qword [0x140106190]
cmp rcx, r14
je 0x1400b9610
test byte [rcx + 0x1c], 2
je 0x1400b9610
cmp byte [rcx + 0x19], sil
jb 0x1400b9610
mov edx, 0x43
mov dword [rsp + 0x28], ebx
mov eax, dword [rbp + 0x40]
mov dword [rsp + 0x20], eax
mov r9, qword [rbp - 0x28]
mov rcx, qword [rcx + 0x10]
call fcn.1400b7858
mov rcx, qword [0x140106190]
cmp ebx, 2
jne 0x1400b9631
xor ebx, ebx
cmp rcx, r14
je 0x1400b96ad
test byte [rcx + 0x1c], 2
je 0x1400b9673
cmp byte [rcx + 0x19], sil
jb 0x1400b9673
lea edx, [rbx + 0x44]
jmp 0x1400b965c
test ebx, ebx
jne 0x1400b9673
cmp dword [rbp + 0x40], ebx
je 0x1400b9673
mov dword [r15], 1
mov rcx, qword [0x140106190]
cmp rcx, r14
je 0x1400b96ad
test byte [rcx + 0x1c], 2
je 0x1400b9673
cmp byte [rcx + 0x19], sil
jb 0x1400b9673
lea edx, [rbx + 0x45]
lea r8, [0x1400e7b20]
mov rcx, qword [rcx + 0x10]
call fcn.140003574
mov rcx, qword [0x140106190]
cmp rcx, r14
je 0x1400b96ad
test byte [rcx + 0x1c], 1
je 0x1400b96ad
movzx r9d, byte [rcx + 0x19]
mov eax, ebx
neg eax
sbb edx, edx
and edx, 0xfffffffd
add edx, 5
cmp r9d, edx
jl 0x1400b96ad
mov edx, 0x46
mov r9d, ebx
lea r8, [0x1400e7b20]
mov rcx, qword [rcx + 0x10]
call fcn.140003634
nop
test rdi, rdi
je 0x1400b96bc
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp - 0x28]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400b96e1
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006e230.0]
mov eax, ebx
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret