Function at 0x1400ab540
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov qword [rbp + 0x27], 0xfffffffffffffffe
mov qword [rsp + 0xe8], rbx
mov rbx, r8
mov rdi, rdx
mov r12, rcx
xor r13d, r13d
mov dword [rbp + 0x7f], r13d
lea rsi, [0x1415d9378]
mov qword [rbp - 0x49], rsi
lock inc dword [0x1415d9378]
mov rdx, r8
lea rcx, [rbp - 0x39]
call fcn.1400ab420
nop
mov rdx, rbx
lea rcx, [rbp - 0x31]
call fcn.14009ceb0
nop
mov qword [rbp - 0x21], r13
lea rcx, [rbp - 0x31]
call fcn.140012e50
mov rdx, rax
lea rax, [rbp - 0x21]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400ab610
mov qword [r12], rsi
lock inc dword [0x1415d9378]
mov dword [rbp + 0x7f], 1
mov rcx, qword [rbp - 0x31]
lock dec dword [rcx]
jne 0x1400ab5f8
mov rcx, qword [rbp - 0x31]
call fcn.140012a00
nop
mov rax, qword [rbp - 0x39]
lock dec dword [rax]
jne 0x1400ab60b
mov rcx, qword [rbp - 0x39]
call fcn.140012a00
nop
jmp 0x1400ab9cc
lea rcx, [rbp - 0x39]
call fcn.140012e50
mov rdx, rax
lea rax, [rbp - 0x19]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rbp - 9]
xor r8d, r8d
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1400ab686
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [r12], rsi
lock inc dword [0x1415d9378]
mov dword [rbp + 0x7f], 1
mov rcx, qword [rbp - 0x31]
lock dec dword [rcx]
jne 0x1400ab66e
mov rcx, qword [rbp - 0x31]
call fcn.140012a00
nop
mov rax, qword [rbp - 0x39]
lock dec dword [rax]
jne 0x1400ab681
mov rcx, qword [rbp - 0x39]
call fcn.140012a00
nop
jmp 0x1400ab9cc
xor r8d, r8d
mov edx, dword [rbp - 0x19]
lea rcx, [rbp - 0x41]
call fcn.14000cb80
nop
mov rax, qword [rbp - 0x41]
mov ecx, dword [rax]
mov rax, qword [rbp - 0x41]
cmp ecx, 1
jne 0x1400ab6af
lea rcx, [rax + 0x18]
cmp qword [rax + 0x10], rcx
je 0x1400ab6bf
mov edx, dword [rax + 8]
lea rcx, [rbp - 0x41]
call fcn.14000cc90
mov rax, qword [rbp - 0x41]
mov rbx, qword [rax + 0x10]
lea rcx, [rbp - 0x39]
call fcn.140012e50
mov rdx, rax
lea rax, [rbp - 0x19]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1400ab74b
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [r12], rsi
lock inc dword [0x1415d9378]
mov dword [rbp + 0x7f], 1
mov rcx, qword [rbp - 0x41]
lock dec dword [rcx]
jne 0x1400ab720
mov rcx, qword [rbp - 0x41]
call fcn.14000c4e0
nop
mov rax, qword [rbp - 0x31]
lock dec dword [rax]
jne 0x1400ab733
mov rcx, qword [rbp - 0x31]
call fcn.140012a00
nop
mov rax, qword [rbp - 0x39]
lock dec dword [rax]
jne 0x1400ab746
mov rcx, qword [rbp - 0x39]
call fcn.140012a00
nop
jmp 0x1400ab9cc
or ebx, 0xffffffff
mov edx, dword [rbp - 9]
cmp edx, 7
ja case.0x1400ab76c.6
lea r8, [0x140000000]
mov ecx, dword [r8 + rdx*4 + 0xab9fc]
add rcx, r8
jmp rcx
mov rax, qword [rbp - 0x41]
mov r8d, ebx
mov rdx, qword [rax + 0x10]
lea rcx, [rbp + 7]
call fcn.140016c40
nop
mov rdx, rax
lea rcx, [rbp - 0x49]
call fcn.140012be0
nop
mov rax, qword [rbp + 7]
lock dec dword [rax]
jne 0x1400ab976
mov rcx, qword [rbp + 7]
call fcn.140012a00
jmp 0x1400ab976
lea rax, [0x1415d9430]
mov qword [rbp - 0x11], rax
lock inc dword [0x1415d9430]
mov rax, qword [rbp - 0x41]
mov r8d, ebx
mov rdx, qword [rax + 0x10]
lea rcx, [rbp - 0x29]
call fcn.140016c40
nop
mov rax, qword [rbp - 0x29]
mov ecx, dword [rax + 8]
lea edi, [rcx + 1]
test ecx, ecx
je 0x1400ab82b
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x11]
call fcn.140008810
nop
mov rax, qword [rbp - 0x29]
lock dec dword [rax]
jne 0x1400ab800
mov rcx, qword [rbp - 0x29]
call fcn.140012a00
mov rax, qword [rbp - 0x41]
mov rcx, qword [rax + 0x10]
movsxd rax, edi
lea rdx, [rcx + rax*2]
mov r8d, ebx
lea rcx, [rbp - 0x29]
call fcn.140016c40
nop
mov rax, qword [rbp - 0x29]
mov ecx, dword [rax + 8]
lea edi, [rdi + rcx + 1]
test ecx, ecx
jne 0x1400ab7e0
lock dec dword [rax]
jne 0x1400ab839
mov rcx, qword [rbp - 0x29]
call fcn.140012a00
mov edx, ebx
lea rcx, [0x1415921e8]
call fcn.140010a40
mov qword [rbp - 1], rax
lea r8, [rbp - 1]
lea rdx, [rbp + 0x1f]
lea rcx, [rbp - 0x11]
call fcn.14001c170
nop
mov rdx, rax
lea rcx, [rbp - 0x49]
call fcn.140012be0
nop
mov rax, qword [rbp + 0x1f]
lock dec dword [rax]
jne 0x1400ab87d
mov rcx, qword [rbp + 0x1f]
call fcn.140012a00
nop
mov rax, qword [rbp - 1]
lock dec dword [rax]
jne 0x1400ab890
mov rcx, qword [rbp - 1]
call fcn.140012a00
nop
mov rax, qword [rbp - 0x11]
test rax, rax
je 0x1400ab976
lock dec dword [rax]
jne 0x1400ab976
mov rsi, qword [rbp - 0x11]
movsxd rax, dword [rsi + 0xc]
lea rdi, [rsi + rax*8 + 0x18]
movsxd rax, dword [rsi + 8]
lea r13, [rsi + rax*8 + 0x18]
cmp r13, rdi
je 0x1400ab8da
sub rdi, 8
mov rcx, qword [rdi]
lock dec dword [rcx]
jne 0x1400ab8d5
mov rcx, qword [rdi]
call fcn.140012a00
cmp rdi, r13
jne 0x1400ab8c1
mov eax, dword [rsi]
test eax, eax
jne 0x1400ab976
mov rcx, rsi
call fcn.14000c4e0
jmp 0x1400ab976
mov rcx, qword [rbp - 0x41]
mov eax, dword [rcx + 8]
cdq
sub eax, edx
sar eax, 1
mov r8d, eax
mov rdx, qword [rcx + 0x10]
lea rcx, [rbp + 0xf]
call fcn.140016c40
nop
mov rdx, rax
lea rcx, [rbp - 0x49]
call fcn.140012be0
nop
mov rax, qword [rbp + 0xf]
lock dec dword [rax]
jne 0x1400ab976
mov rcx, qword [rbp + 0xf]
call fcn.140012a00
jmp 0x1400ab976
mov rax, qword [rbp - 0x41]
mov rcx, qword [rax + 0x10]
mov r8d, 0xa
mov edx, dword [rcx]
lea rcx, [rbp + 0x17]
call fcn.140015850
nop
mov rdx, rax
lea rcx, [rbp - 0x49]
call fcn.140012be0
nop
mov rax, qword [rbp + 0x17]
lock dec dword [rax]
jne 0x1400ab976
mov rcx, qword [rbp + 0x17]
call fcn.140012a00
jmp 0x1400ab976
lea rcx, [0x1415aa468]
call fcn.14001b2c0
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r11, qword [rbp - 0x49]
mov qword [r12], r11
lock inc dword [r11]
mov dword [rbp + 0x7f], 1
mov rax, qword [rbp - 0x41]
lock dec dword [rax]
jne 0x1400ab9a6
mov rcx, qword [rbp - 0x41]
call fcn.14000c4e0
nop
mov rax, qword [rbp - 0x31]
lock dec dword [rax]
jne 0x1400ab9b9
mov rcx, qword [rbp - 0x31]
call fcn.140012a00
nop
mov rax, qword [rbp - 0x39]
lock dec dword [rax]
jne 0x1400ab9cc
mov rcx, qword [rbp - 0x39]
call fcn.140012a00
nop
mov rax, qword [rbp - 0x49]
lock dec dword [rax]
jne 0x1400ab9de
mov rcx, qword [rbp - 0x49]
call fcn.140012a00
mov rax, r12
mov rbx, qword [rsp + 0xe8]
add rsp, 0xb0
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret