Function at 0x140086ebc
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xac8]
sub rsp, 0xb90
mov qword [rbp + 0x78], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1403bf028]
xor rax, rsp
mov qword [rbp + 0xa80], rax
mov rax, rdx
mov rdi, rcx
mov qword [rbp + 0x20], rcx
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x70], xmm1
movdqa xmmword [rbp - 0x60], xmm0
movdqa xmmword [rbp - 0x50], xmm1
movdqa xmmword [rbp - 0x40], xmm0
movdqa xmmword [rbp - 0x30], xmm1
xor ecx, ecx
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x18], rcx
mov qword [rbp - 0x10], rcx
mov dword [rbp + 0x48], 1
lea rdx, fcn.140084fd0
mov qword [rbp + 0x40], rdx
mov qword [rbp + 0x50], rcx
mov byte [rbp + 0x58], 1
lea r8, [rbp + 0x50]
xor edx, edx
mov rcx, rax
call fcn.14008699c
mov ebx, eax
xor r9d, r9d
test eax, eax
jne 0x140087624
lea r12, [rbp + 0x880]
mov qword [rsp + 0x40], r12
mov ecx, 0x100
mov qword [rsp + 0x78], rcx
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x60], xmm0
mov r15d, r9d
mov qword [rbp + 0x70], r9
lea rdi, [rbp + 0x80]
mov qword [rbp + 8], rdi
mov eax, 0x800
mov qword [rbp], rax
movdqu xmmword [rbp + 0x28], xmm0
mov r13d, r9d
mov qword [rbp + 0x18], r9
mov qword [rbp + 0x38], r9
mov dword [rsp + 0x4c], r9d
mov dword [rsp + 0x50], ecx
mov dword [rsp + 0x48], eax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x80]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r9
lea r9, [rsp + 0x50]
lea r8, [rbp + 0x880]
xor edx, edx
mov rcx, qword [rbp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov rsi, qword [rbp + 0x60]
mov r14, qword [rbp + 0x28]
cmp eax, 0x103
mov ebx, eax
je 0x1400875a5
movabs r11, 0x4924924924924925
movabs r10, 0x6666666666666667
mov r8d, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x70]
cmp eax, 0xea
jne 0x1400870f6
mov eax, 1
shl eax, cl
mov rbx, qword [rbp]
test al, 0x10
je 0x140087559
cmp r8d, ebx
jbe 0x14008709c
lea eax, [rbx + rbx]
cmp r8d, eax
cmovb r8d, eax
mov edx, r8d
shr rdx, 3
mov rax, r13
sub rax, r14
sar rax, 3
cmp rdx, rax
jbe 0x140087083
lea rcx, [rbp + 0x28]
call fcn.1400877a0
mov r13, qword [rbp + 0x38]
mov qword [rbp + 0x18], r13
mov r14, qword [rbp + 0x28]
mov rdi, r14
mov qword [rbp + 8], r14
mov rbx, r13
sub rbx, r14
and ebx, 0xfffffff8
mov qword [rbp], rbx
jmp 0x14008755d
mov eax, dword [rsp + 0x50]
inc eax
mov rdx, qword [rsp + 0x78]
cmp eax, edx
jbe 0x1400870f1
lea eax, [rdx + rdx]
cmp eax, 0x3fff
ja 0x1400870f1
mov edx, eax
mov rax, r15
sub rax, rsi
sar rax, 1
cmp rdx, rax
jbe 0x1400870d6
lea rcx, [rbp + 0x60]
call fcn.1400878b4
mov r15, qword [rbp + 0x70]
mov rsi, qword [rbp + 0x60]
mov r12, rsi
mov qword [rsp + 0x40], rsi
mov rax, r15
sub rax, rsi
sar rax, 1
mov qword [rsp + 0x78], rax
jmp 0x140087562
mov ebx, 0x54f
xor r9d, r9d
test ebx, ebx
jne 0x1400875ab
lea eax, [rbx + 1]
shl eax, cl
test al, 0x10
je 0x140087555
sub ecx, 1
je 0x1400874b8
sub ecx, 2
je 0x1400873a3
sub ecx, 1
je 0x140087309
sub ecx, 3
je 0x1400871d7
cmp ecx, 4
jne 0x140087555
mov rcx, qword [rbp - 0x60]
sub rcx, qword [rbp - 0x68]
mov rax, r10
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
jne 0x140087187
mov rcx, qword [rbp - 0x58]
sub rcx, qword [rbp - 0x68]
mov rax, r10
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, 0x10
jae 0x140087187
lea rcx, [rbp - 0x68]
call fcn.140087c28
xor r9d, r9d
mov rbx, qword [rbp - 0x60]
cmp qword [rbp - 0x58], rbx
je 0x1400871bd
mov qword [rbx + 0x10], r9
mov qword [rbx + 0x18], 7
mov word [rbx], r9w
mov rdx, r12
mov rcx, rbx
call fcn.14000b3a4
mov rax, qword [rdi]
mov qword [rbx + 0x20], rax
add qword [rbp - 0x60], 0x28
jmp 0x140087555
mov r9, rdi
lea r8, [rsp + 0x40]
mov rdx, qword [rbp - 0x60]
lea rcx, [rbp - 0x68]
call fcn.140088718
jmp 0x140087550
mov rax, qword [rbp - 0x20]
cmp rax, qword [rbp - 0x18]
jne 0x14008720e
mov rcx, qword [rbp - 0x10]
sub rcx, rax
mov rax, r11
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, 0x10
jae 0x14008720e
lea rcx, [rbp - 0x20]
call fcn.1400879d0
xor r9d, r9d
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r9
mov edx, 0x10
lea rcx, [rsp + 0x58]
call fcn.140087d94
xor r13d, r13d
mov edi, r13d
mov r14, qword [rbp + 8]
mov rax, r14
mov rbx, qword [rsp + 0x60]
mov qword [rbp + 0x10], rax
cmp qword [rsp + 0x68], rbx
je 0x14008726e
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 7
mov word [rbx], r13w
mov rdx, rax
mov rcx, rbx
call fcn.14000b3a4
add rbx, 0x20
mov qword [rsp + 0x60], rbx
jmp 0x140087284
lea r8, [rbp + 0x10]
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.14008822c
mov rbx, qword [rsp + 0x60]
mov rax, qword [rbx - 0x10]
inc rax
add rdi, rax
lea rax, [r14 + rdi*2]
cmp byte [rax], r13b
jne 0x14008723d
mov r14, qword [rbp + 0x28]
mov r13, qword [rbp + 0x18]
mov rbx, qword [rbp - 0x18]
cmp qword [rbp - 0x10], rbx
je 0x1400872da
xor eax, eax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], 7
mov word [rbx], ax
mov rdx, r12
mov rcx, rbx
call fcn.14000b3a4
lea rcx, [rbx + 0x20]
lea rdx, [rsp + 0x58]
call fcn.14004c7fc
add qword [rbp - 0x18], 0x38
jmp 0x1400872f6
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x40]
mov rdx, qword [rbp - 0x18]
lea rcx, [rbp - 0x20]
call fcn.140088f44
mov r12, qword [rsp + 0x40]
lea rcx, [rsp + 0x58]
call fcn.1400135d8
mov rdi, qword [rbp + 8]
jmp 0x140087555
mov rcx, qword [rbp - 0x78]
sub rcx, qword [rbp - 0x80]
mov rax, r10
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
jne 0x140087355
mov rcx, qword [rbp - 0x70]
sub rcx, qword [rbp - 0x80]
mov rax, r10
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, 0x10
jae 0x140087355
lea rcx, [rbp - 0x80]
call fcn.140087ce0
xor r9d, r9d
mov rbx, qword [rbp - 0x78]
cmp qword [rbp - 0x70], rbx
je 0x140087389
mov qword [rbx + 0x10], r9
mov qword [rbx + 0x18], 7
mov word [rbx], r9w
mov rdx, r12
mov rcx, rbx
call fcn.14000b3a4
mov eax, dword [rdi]
mov dword [rbx + 0x20], eax
add qword [rbp - 0x78], 0x28
jmp 0x140087555
mov r9, rdi
lea r8, [rsp + 0x40]
mov rdx, qword [rbp - 0x78]
lea rcx, [rbp - 0x80]
call fcn.140088430
jmp 0x140087550
mov rcx, qword [rbp - 0x30]
sub rcx, qword [rbp - 0x38]
mov rax, r11
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
jne 0x1400873f4
mov rcx, qword [rbp - 0x28]
sub rcx, qword [rbp - 0x38]
mov rax, r11
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, 0x10
jae 0x1400873f4
lea rcx, [rbp - 0x38]
call fcn.140087a54
mov r8d, dword [rsp + 0x48]
xor r9d, r9d
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r9
add r8, rdi
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.1400682ac
mov rbx, qword [rbp - 0x30]
cmp qword [rbp - 0x28], rbx
je 0x140087461
nop dword [rax]
xor eax, eax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], 7
mov word [rbx], ax
mov rdx, r12
mov rcx, rbx
call fcn.14000b3a4
mov rax, qword [rsp + 0x58]
mov qword [rbx + 0x20], rax
mov rax, qword [rsp + 0x60]
mov qword [rbx + 0x28], rax
mov rax, qword [rsp + 0x68]
mov qword [rbx + 0x30], rax
add qword [rbp - 0x30], 0x38
jmp 0x140087555
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x40]
mov rdx, qword [rbp - 0x30]
lea rcx, [rbp - 0x38]
call fcn.140088d2c
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140087550
mov rdx, rcx
mov rax, qword [rsp + 0x68]
sub rax, rcx
cmp rax, 0x1000
jb 0x1400874ae
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
ja 0x140087731
call fcn.140261814
jmp 0x140087550
mov rax, qword [rbp - 0x48]
sub rax, qword [rbp - 0x50]
test rax, 0xffffffffffffffc0
jne 0x1400874e6
mov rax, qword [rbp - 0x40]
sub rax, qword [rbp - 0x50]
sar rax, 6
cmp rax, 0x10
jae 0x1400874e6
lea rcx, [rbp - 0x50]
call fcn.140087b64
xor r9d, r9d
mov qword [rbp + 0x10], rdi
mov rbx, qword [rbp - 0x48]
cmp qword [rbp - 0x40], rbx
je 0x140087533
mov qword [rbx + 0x10], r9
mov qword [rbx + 0x18], 7
mov word [rbx], r9w
mov rdx, r12
mov rcx, rbx
call fcn.14000b3a4
lea rcx, [rbx + 0x20]
xor eax, eax
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], 7
mov word [rcx], ax
mov rdx, rdi
call fcn.14000b3a4
add qword [rbp - 0x48], 0x40
jmp 0x140087555
lea r9, [rbp + 0x10]
lea r8, [rsp + 0x40]
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x50]
call fcn.140088a0c
nop
nop word [rax + rax]
mov r12, qword [rsp + 0x40]
mov rbx, qword [rbp]
inc dword [rsp + 0x4c]
mov rax, qword [rsp + 0x78]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x48], ebx
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
xor eax, eax
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
mov r8, r12
mov edx, dword [rsp + 0x4c]
mov rcx, qword [rbp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
jmp 0x140087001
xor r9d, r9d
mov ebx, r9d
test r14, r14
je 0x1400875e3
mov rax, r14
sub r13, r14
and r13, 0xfffffffffffffff8
cmp r13, 0x1000
jb 0x1400875d8
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008773a
mov rcx, r14
call fcn.140261814
xor r9d, r9d
test rsi, rsi
je 0x140087620
mov rax, rsi
sub r15, rsi
sar r15, 1
add r15, r15
cmp r15, 0x1000
jb 0x140087612
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140087728
mov rcx, rsi
call fcn.140261814
xor r9d, r9d
nop dword [rax]
mov rdi, qword [rbp + 0x20]
mov dword [rdi], ebx
mov rax, qword [rbp - 0x80]
mov qword [rdi + 8], rax
mov rax, qword [rbp - 0x78]
mov qword [rdi + 0x10], rax
mov rax, qword [rbp - 0x70]
mov qword [rdi + 0x18], rax
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r9
mov rax, qword [rbp - 0x68]
mov qword [rdi + 0x20], rax
mov rax, qword [rbp - 0x60]
mov qword [rdi + 0x28], rax
mov rax, qword [rbp - 0x58]
mov qword [rdi + 0x30], rax
mov qword [rbp - 0x68], r9
movdqa xmmword [rbp - 0x60], xmm0
mov rax, qword [rbp - 0x50]
mov qword [rdi + 0x38], rax
mov rax, qword [rbp - 0x48]
mov qword [rdi + 0x40], rax
mov rax, qword [rbp - 0x40]
mov qword [rdi + 0x48], rax
movdqa xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r9
mov rax, qword [rbp - 0x38]
mov qword [rdi + 0x50], rax
mov rax, qword [rbp - 0x30]
mov qword [rdi + 0x58], rax
mov rax, qword [rbp - 0x28]
mov qword [rdi + 0x60], rax
mov qword [rbp - 0x38], r9
movdqa xmmword [rbp - 0x30], xmm0
mov rax, qword [rbp - 0x20]
mov qword [rdi + 0x68], rax
mov rax, qword [rbp - 0x18]
mov qword [rdi + 0x70], rax
mov rax, qword [rbp - 0x10]
mov qword [rdi + 0x78], rax
mov qword [rbp - 0x20], r9
mov qword [rbp - 0x18], r9
mov qword [rbp - 0x10], r9
lea rax, fcn.140084fd0
mov qword [rbp + 0x40], rax
cmp byte [rbp + 0x58], r9b
je 0x1400876f2
mov rcx, qword [rbp + 0x50]
test rcx, rcx
je 0x1400876f2
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rbp - 0x80]
call fcn.1400867ac
mov rax, rdi
mov rcx, qword [rbp + 0xa80]
xor rcx, rsp
call fcn.1402361b0
mov rbx, qword [rsp + 0xbe0]
add rsp, 0xb90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140261a5c
nop
jmp 0x140087730
nop
call fcn.140261a5c
nop
jmp 0x140087739
nop
call fcn.140261a5c
nop
jmp 0x140087742
nop
nop