Function at 0x140023340
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xd0
mov r13, rcx
xor r12d, r12d
mov qword [rbp - 0x11], r12
mov qword [rbp - 1], r12
mov qword [rbp + 7], r12
lea r8d, [r12 + 0x1c]
lea rdx, str.UW1kcnVfcGNaTkE_bm5Rcm1wYw
lea rcx, [rbp - 0x11]
call fcn.140030750
nop
mov qword [rbp - 0x31], r12
mov qword [rbp - 0x21], r12
mov qword [rbp - 0x19], r12
lea r8d, [r12 + 8]
lea rdx, str.cXJfcnNx
lea rcx, [rbp - 0x31]
call fcn.140030750
nop
lea r14d, [r12 + 3]
mov dword [rbp + 0x6f], r12d
mov dword [rbp + 0x77], 4
mov qword [rbp - 0x79], r12
mov qword [rbp - 0x69], r12
mov qword [rbp - 0x61], r12
lea r15, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae r15, qword [rbp - 0x11]
movabs rbx, 0x7ffffffffffffffe
mov rsi, qword [rbp - 1]
cmp rsi, rbx
ja 0x140023652
lea eax, [r12 + 0xa]
mov qword [rbp - 0x61], 7
cmp rsi, 8
jae 0x140023411
mov qword [rbp - 0x69], rsi
lea r8d, [r12 + 0x10]
mov rdx, r15
lea rcx, [rbp - 0x79]
call fcn.140185440
jmp 0x140023455
mov rdi, rsi
or rdi, 7
cmp rdi, rbx
jbe 0x140023422
mov rdi, rbx
jmp 0x140023429
cmp rdi, rax
cmovb rdi, rax
lea rdx, [rdi + 1]
lea rcx, [rbp - 0x79]
call fcn.140030fc0
mov qword [rbp - 0x79], rax
mov qword [rbp - 0x69], rsi
mov qword [rbp - 0x61], rdi
lea r8, [rsi*2 + 2]
mov rdx, r15
mov rcx, rax
call fcn.140185440
lea rdx, [rbp - 0x79]
lea rcx, [rbp + 0xf]
call fcn.14004bc20
lea rcx, [rbp + 0x7f]
mov qword [rsp + 0x20], rcx
mov r9d, 0xf003f
xor r8d, r8d
mov rdx, qword [rax]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
mov rdx, qword [rbp + 0xf]
add rdx, 0xffffffffffffffe8
mov r15d, 0xffffffff
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400234aa
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test edi, edi
jne 0x1400235ae
mov qword [rbp - 0x59], r12
mov qword [rbp - 0x49], r12
mov qword [rbp - 0x41], r12
lea rsi, [rbp - 0x31]
cmp qword [rbp - 0x19], 8
cmovae rsi, qword [rbp - 0x31]
mov rdi, qword [rbp - 0x21]
cmp rdi, rbx
ja 0x140023658
mov qword [rbp - 0x41], 7
cmp rdi, 8
jae 0x1400234ff
mov qword [rbp - 0x49], rdi
mov r8d, 0x10
mov rdx, rsi
lea rcx, [rbp - 0x59]
call fcn.140185440
jmp 0x140023547
mov rax, rdi
or rax, 7
cmp rax, rbx
ja 0x14002351b
mov rbx, rax
cmp rax, 0xa
mov eax, 0xa
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp - 0x59]
call fcn.140030fc0
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x49], rdi
mov qword [rbp - 0x41], rbx
lea r8, [rdi*2 + 2]
mov rdx, rsi
mov rcx, rax
call fcn.140185440
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x39]
call fcn.14004bc20
lea rcx, [rbp + 0x77]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x6f]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rax]
mov rcx, qword [rbp + 0x7f]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov rdx, qword [rbp - 0x39]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r15d
sub r15d, 1
jg 0x140023598
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, dword [rbp + 0x6f]
test ebx, ebx
cmovne eax, r14d
mov r14d, eax
mov rcx, qword [rbp + 0x7f]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [r13 + 0x178], r14d
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x1400235f2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400235ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002365e
call fcn.140183144
nop
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x14002362e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140023629
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002364c
call fcn.140183144
mov eax, r14d
mov rbx, qword [rsp + 0x110]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140189c24
nop
call fcn.140030df0
nop
call fcn.140030df0
nop
call fcn.140189c24
int3