Function at 0x140090b3c
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, [0x1400cf018]
mov rcx, qword [0x1400cf018]
cmp rcx, rbx
je 0x140090b99
test byte [rcx + 0x1c], 1
je 0x140090b99
cmp byte [rcx + 0x19], 5
jb 0x140090b99
mov edx, 0x37
mov eax, dword [r8]
mov dword [rsp + 0x20], eax
mov r9, rdi
mov rcx, qword [rcx + 0x10]
call fcn.14008f3b8
mov rdx, rdi
mov rcx, r14
call fcn.14008f7d8
mov esi, eax
mov rcx, qword [0x1400cf018]
cmp rcx, rbx
je 0x140090bd3
test byte [rcx + 0x1c], 2
je 0x140090bd3
cmp byte [rcx + 0x19], 5
jb 0x140090bd3
mov edx, 0x38
mov dword [rsp + 0x20], eax
mov r9, rdi
mov rcx, qword [rcx + 0x10]
call fcn.14008f3b8
xor ebx, ebx
mov eax, 0x490
test esi, esi
cmove ebx, eax
mov rdx, rdi
lea rcx, [rbp - 0x28]
call fcn.140004b44
nop
lea rcx, [rbp - 0x28]
call fcn.14002e87c
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 0x140090c56
xor r8d, r8d
lea rdx, [rbp - 0x18]
mov rcx, r14
call fcn.140092554
mov ebx, eax
mov rcx, qword [0x1400cf018]
lea r14, [0x1400cf018]
cmp rcx, r14
je 0x140090c50
test byte [rcx + 0x1c], 2
je 0x140090c50
cmp byte [rcx + 0x19], sil
jb 0x140090c50
lea edx, [rdi + 0x39]
mov r9d, eax
lea r8, [0x1400b9878]
mov rcx, qword [rcx + 0x10]
call fcn.1400035c4
mov rdi, qword [rbp - 0x18]
jmp 0x140090c5d
lea r14, [0x1400cf018]
and dword [r15], 0
and dword [rbp + 0x40], 0
test ebx, ebx
jne 0x140090d46
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]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x140090cae
mov eax, dword [rbp - 0x30]
sub eax, esi
neg eax
sbb ebx, ebx
and ebx, 0xd
mov rcx, qword [0x1400cf018]
cmp rcx, r14
je 0x140090cea
test byte [rcx + 0x1c], 2
je 0x140090cea
cmp byte [rcx + 0x19], sil
jb 0x140090cea
mov edx, 0x3a
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.14008f470
mov rcx, qword [0x1400cf018]
cmp ebx, 2
jne 0x140090d0b
xor ebx, ebx
cmp rcx, r14
je 0x140090d87
test byte [rcx + 0x1c], 2
je 0x140090d4d
cmp byte [rcx + 0x19], sil
jb 0x140090d4d
lea edx, [rbx + 0x3b]
jmp 0x140090d36
test ebx, ebx
jne 0x140090d4d
cmp dword [rbp + 0x40], ebx
je 0x140090d4d
mov dword [r15], 1
mov rcx, qword [0x1400cf018]
cmp rcx, r14
je 0x140090d87
test byte [rcx + 0x1c], 2
je 0x140090d4d
cmp byte [rcx + 0x19], sil
jb 0x140090d4d
lea edx, [rbx + 0x3c]
lea r8, [0x1400b9878]
mov rcx, qword [rcx + 0x10]
call fcn.1400034f0
mov rcx, qword [0x1400cf018]
cmp rcx, r14
je 0x140090d87
test byte [rcx + 0x1c], 1
je 0x140090d87
movzx r9d, byte [rcx + 0x19]
mov eax, ebx
neg eax
sbb edx, edx
and edx, 0xfffffffd
add edx, 5
cmp r9d, edx
jb 0x140090d87
mov edx, 0x3d
mov r9d, ebx
lea r8, [0x1400b9878]
mov rcx, qword [rcx + 0x10]
call fcn.1400035c4
nop
test rdi, rdi
je 0x140090d9c
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
nop
mov rdx, qword [rbp - 0x28]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140090dc1
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [str._E_n_]
mov eax, ebx
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret