Function at 0x141957130
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov qword [rbp + 0x10], 0xfffffffffffffffe
mov qword [rsp + 0x178], rbx
mov r13d, r8d
mov r12, rdx
mov r14, rcx
xor ebx, ebx
mov dword [rbp - 0x50], ebx
lea rsi, [0x140036818]
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rbx
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x7c]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x141957315
mov edx, eax
lea rcx, [rbp - 0x70]
call fcn.1418ac490
nop
lea rdx, [rbp - 0x78]
mov rcx, rax
call fcn.141881680
nop
mov rcx, qword [rax]
mov r8, qword [rcx + 0x10]
add r8, rcx
mov qword [rbp - 0x30], 2
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x28], xmm0
lea rax, [0x140179e20]
mov qword [rbp - 0x18], rax
lea rdx, [0x140125e88]
lea rcx, [rbp - 0x30]
call fcn.14187f920
nop
mov rcx, qword [rbp - 0x78]
mov eax, dword [rcx]
test eax, eax
je 0x141957237
cmp eax, 0xffffffff
je 0x141957249
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141957249
mov rcx, qword [rbp - 0x78]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.1418993e0
mov r14, qword [rbp + 0x70]
mov rcx, qword [rbp - 0x70]
mov eax, dword [rcx]
test eax, eax
je 0x141957268
cmp eax, 0xffffffff
je 0x141957276
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141957276
mov rcx, qword [rbp - 0x70]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1418993e0
mov rax, qword [rsp + 0x68]
mov qword [r14], rax
mov qword [rsp + 0x68], rsi
mov eax, dword [0x140036818]
test eax, eax
je 0x1419572a7
cmp eax, 0xffffffff
je 0x14195730d
or eax, 0xffffffff
lock xadd dword [0x140036818], eax
cmp eax, 1
jne 0x14195730d
mov rsi, qword [rsp + 0x68]
movsxd rbx, dword [rsi + 0xc]
add rbx, 2
lea rbx, [rsi + rbx*8]
movsxd rdi, dword [rsi + 8]
add rdi, 2
lea rdi, [rsi + rdi*8]
cmp rdi, rbx
je 0x141957304
nop dword [rax]
nop dword [rax + rax]
sub rbx, 8
mov rcx, qword [rbx]
mov eax, dword [rcx]
test eax, eax
je 0x1419572ee
cmp eax, 0xffffffff
je 0x1419572ff
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1419572ff
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbx]
call fcn.1418993e0
cmp rbx, rdi
jne 0x1419572d0
mov rcx, rsi
call fcn.14196a720
nop
mov rax, r14
jmp 0x1419576f0
mov eax, dword [rsp + 0x78]
inc eax
mov dword [rsp + 0x78], eax
mov edx, dword [rsp + 0x7c]
inc edx
mov dword [rsp + 0x7c], edx
cmp r13d, 1
jne 0x141957335
mov r15d, dword [rbp - 0x80]
jmp 0x14195733b
mov r15d, dword [rbp - 0x7c]
mov edx, eax
lea edx, [rdx*2 + 2]
xor r8d, r8d
lea rcx, [rsp + 0x70]
call fcn.141899cb0
nop
mov edi, ebx
mov r14d, 1
test r15d, r15d
jle 0x141957631
lea rcx, [0x1400367e8]
lea rsi, [0x140179e20]
nop
mov qword [rsp + 0x60], rcx
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
shr rcx, 1
mov dword [rbp + 0x88], ecx
cmp r13d, 1
jne 0x1419573ea
cmp dword [rax], r13d
ja 0x141957399
cmp qword [rax + 0x10], 0x18
je 0x1419573bb
mov r8d, ebx
cmp dword [rax + 8], 0x80000000
cmovae r8d, r14d
mov edx, dword [rax + 4]
inc edx
lea rcx, [rsp + 0x70]
call fcn.14189b490
mov rax, qword [rsp + 0x70]
mov r8, qword [rax + 0x10]
add r8, rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 0x88]
mov edx, edi
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
jmp 0x141957445
cmp dword [rax], 1
ja 0x1419573f6
cmp qword [rax + 0x10], 0x18
je 0x141957418
mov r8d, ebx
cmp dword [rax + 8], 0x80000000
cmovae r8d, r14d
mov edx, dword [rax + 4]
inc edx
lea rcx, [rsp + 0x70]
call fcn.14189b490
mov rax, qword [rsp + 0x70]
mov r8, qword [rax + 0x10]
add r8, rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 0x88]
mov edx, edi
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ebx, eax
test eax, eax
jne 0x1419574b0
mov rax, qword [rsp + 0x70]
mov rdx, qword [rax + 0x10]
add rdx, rax
mov r8d, dword [rbp + 0x88]
lea rcx, [rbp - 0x68]
call fcn.1418752c0
mov rdx, qword [rsp + 0x60]
mov qword [rbp + 0x18], rdx
mov rcx, qword [rax]
mov qword [rsp + 0x60], rcx
mov qword [rax], rdx
mov rcx, qword [rbp - 0x68]
mov eax, dword [rcx]
test eax, eax
je 0x14195749a
cmp eax, 0xffffffff
je 0x1419574a8
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1419574a8
mov rcx, qword [rbp - 0x68]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1418993e0
test ebx, ebx
je 0x141957592
mov edx, ebx
lea rcx, [rbp - 0x58]
call fcn.1418ac490
nop
lea rdx, [rbp - 0x60]
mov rcx, rax
call fcn.141881680
nop
mov rcx, qword [rax]
mov r8, qword [rcx + 0x10]
add r8, rcx
mov qword [rbp - 0x10], 2
xor ebx, ebx
xorps xmm0, xmm0
movdqu xmmword [rbp - 8], xmm0
mov qword [rbp + 8], rsi
lea rdx, [0x140125eb0]
lea rcx, [rbp - 0x10]
call fcn.14187f920
nop
mov rcx, qword [rbp - 0x60]
mov eax, dword [rcx]
test eax, eax
je 0x141957519
cmp eax, 0xffffffff
je 0x141957528
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141957528
mov rcx, qword [rbp - 0x60]
mov r8d, 8
mov rdx, r14
call fcn.1418993e0
nop
mov rcx, qword [rbp - 0x58]
mov eax, dword [rcx]
test eax, eax
je 0x141957547
cmp eax, 0xffffffff
je 0x141957556
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141957556
mov rcx, qword [rbp - 0x58]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1418993e0
nop
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx]
test eax, eax
je 0x14195757f
cmp eax, 0xffffffff
je 0x141957618
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141957618
mov rcx, qword [rsp + 0x60]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1418993e0
jmp 0x141957618
mov rax, qword [rsp + 0x60]
cmp dword [rax + 4], 0
jne 0x1419575d7
or rax, 0xffffffffffffffff
lea rcx, [0x140179e38]
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x1419575b0
mov dword [rbp - 0x40], eax
mov qword [rbp - 0x38], rcx
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp + 0x20], xmm0
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.141883e70
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x68]
call fcn.141879460
nop
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx]
test eax, eax
je 0x141957608
cmp eax, 0xffffffff
je 0x141957616
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141957616
mov rcx, qword [rsp + 0x60]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1418993e0
xor ebx, ebx
inc edi
cmp edi, r15d
lea rcx, [0x1400367e8]
jl 0x141957370
lea rsi, [0x140036818]
mov rax, qword [rsp + 0x68]
mov r15, qword [rbp + 0x70]
mov qword [r15], rax
mov qword [rsp + 0x68], rsi
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx]
test eax, eax
je 0x141957663
cmp eax, 0xffffffff
je 0x141957676
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141957671
mov rcx, qword [rsp + 0x70]
mov r8d, 8
mov rdx, r14
call fcn.1418993e0
mov rsi, qword [rsp + 0x68]
mov eax, dword [rsi]
test eax, eax
je 0x141957692
cmp eax, 0xffffffff
je 0x1419576ed
or eax, 0xffffffff
lock xadd dword [rsi], eax
cmp eax, 1
jne 0x1419576ed
mov rsi, qword [rsp + 0x68]
movsxd rbx, dword [rsi + 0xc]
add rbx, 2
lea rbx, [rsi + rbx*8]
movsxd rdi, dword [rsi + 8]
add rdi, 2
lea rdi, [rsi + rdi*8]
cmp rdi, rbx
je 0x1419576e4
nop
sub rbx, 8
mov rcx, qword [rbx]
mov eax, dword [rcx]
test eax, eax
je 0x1419576ce
cmp eax, 0xffffffff
je 0x1419576df
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1419576df
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbx]
call fcn.1418993e0
cmp rbx, rdi
jne 0x1419576b0
mov rcx, rsi
call fcn.14196a720
nop
mov rax, r15
mov rbx, qword [rsp + 0x178]
add rsp, 0x130
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret