Function at 0x140463b90
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 - 0x27]
sub rsp, 0xd0
mov qword [rbp + 7], 0xfffffffffffffffe
mov qword [rsp + 0x118], rbx
mov r15d, r8d
mov r14, rdx
mov r12, rcx
xor r13d, r13d
mov dword [rbp - 0x19], r13d
lea rsi, [0x140049658]
mov qword [rbp - 0x41], rsi
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r13
lea rax, [rbp - 0x2d]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x29]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
lea rax, [rbp - 0x31]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x25]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x140463cc4
lea rdx, [0x1400afca8]
mov ecx, eax
call fcn.14035c910
mov rax, qword [rbp - 0x41]
mov qword [r12], rax
mov qword [rbp - 0x41], rsi
mov eax, dword [0x140049658]
test eax, eax
je 0x140463c65
cmp eax, 0xffffffff
je 0x140463cbf
or eax, 0xffffffff
lock xadd dword [0x140049658], eax
cmp eax, 1
jne 0x140463cbf
mov rsi, qword [rbp - 0x41]
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 0x140463cb6
sub rbx, 8
mov rcx, qword [rbx]
mov eax, dword [rcx]
test eax, eax
je 0x140463ca0
cmp eax, 0xffffffff
je 0x140463cb1
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140463cb1
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbx]
call fcn.140379300
cmp rbx, rdi
jne 0x140463c82
mov rcx, rsi
call fcn.1404e1e20
nop
jmp 0x140463f8d
mov eax, dword [rbp - 0x31]
inc eax
mov dword [rbp - 0x31], eax
mov edx, dword [rbp - 0x2d]
inc edx
mov dword [rbp - 0x2d], edx
cmp r15d, 1
jne 0x140463cdf
mov edi, dword [rbp - 0x29]
jmp 0x140463ce4
mov edi, dword [rbp - 0x25]
mov edx, eax
lea edx, [rdx*2 + 2]
xor r8d, r8d
lea rcx, [rbp - 0x39]
call fcn.14037a270
nop
mov ebx, r13d
mov edx, 1
test edi, edi
jle 0x140463edc
lea r12, [0x1400495e0]
mov esi, edx
mov qword [rbp - 0x49], r12
mov rax, qword [rbp - 0x39]
movsxd rcx, dword [rax + 4]
shr rcx, 1
mov dword [rbp + 0x7f], ecx
cmp r15d, 1
jne 0x140463d81
cmp dword [rax], r15d
ja 0x140463d35
cmp qword [rax + 0x10], 0x18
je 0x140463d55
mov r8d, r13d
cmp dword [rax + 8], 0x80000000
cmovae r8d, esi
mov edx, dword [rax + 4]
inc edx
lea rcx, [rbp - 0x39]
call fcn.14037c070
mov rax, qword [rbp - 0x39]
mov r8, qword [rax + 0x10]
add r8, rax
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rbp + 0x7f]
mov edx, ebx
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
jmp 0x140463dd7
cmp dword [rax], 1
ja 0x140463d8d
cmp qword [rax + 0x10], 0x18
je 0x140463dad
mov r8d, r13d
cmp dword [rax + 8], 0x80000000
cmovae r8d, esi
mov edx, dword [rax + 4]
inc edx
lea rcx, [rbp - 0x39]
call fcn.14037c070
mov rax, qword [rbp - 0x39]
mov r8, qword [rax + 0x10]
add r8, rax
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rbp + 0x7f]
mov edx, ebx
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x140463e85
mov rax, qword [rbp - 0x39]
mov rdx, qword [rax + 0x10]
add rdx, rax
mov r8d, dword [rbp + 0x7f]
lea rcx, [rbp - 0x21]
call fcn.1402d3550
mov rdx, qword [rbp - 0x49]
mov qword [rbp + 0xf], rdx
mov rcx, qword [rax]
mov qword [rbp - 0x49], rcx
mov qword [rax], rdx
mov rcx, qword [rbp - 0x21]
mov eax, dword [rcx]
test eax, eax
je 0x140463e28
cmp eax, 0xffffffff
je 0x140463e36
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140463e36
mov rcx, qword [rbp - 0x21]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
mov rax, qword [rbp - 0x49]
cmp dword [rax + 4], 0
jne 0x140463e76
or rax, 0xffffffffffffffff
lea rcx, [0x1401ad6e8]
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140463e50
mov dword [rbp - 9], eax
mov qword [rbp - 1], rcx
movaps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp + 0x17], xmm0
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 0x49]
call fcn.140363a80
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x41]
call fcn.1402d73d0
jmp 0x140463e94
lea rdx, [0x1400afcd0]
mov ecx, eax
call fcn.14035c910
nop
mov rcx, qword [rbp - 0x49]
mov eax, dword [rcx]
test eax, eax
je 0x140463eb3
cmp eax, 0xffffffff
je 0x140463ec2
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140463ec2
mov rcx, qword [rbp - 0x49]
mov r8d, 8
lea edx, [r8 - 6]
call fcn.140379300
inc ebx
cmp ebx, edi
jl 0x140463d11
lea rsi, [0x140049658]
mov r12, qword [rbp + 0x67]
mov edx, 1
mov rax, qword [rbp - 0x41]
mov qword [r12], rax
mov qword [rbp - 0x41], rsi
mov rcx, qword [rbp - 0x39]
mov eax, dword [rcx]
test eax, eax
je 0x140463f07
cmp eax, 0xffffffff
je 0x140463f16
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140463f12
mov rcx, qword [rbp - 0x39]
mov r8d, 8
call fcn.140379300
mov rsi, qword [rbp - 0x41]
mov eax, dword [rsi]
test eax, eax
je 0x140463f31
cmp eax, 0xffffffff
je 0x140463f8d
or eax, 0xffffffff
lock xadd dword [rsi], eax
cmp eax, 1
jne 0x140463f8d
mov rsi, qword [rbp - 0x41]
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 0x140463f84
nop
sub rbx, 8
mov rcx, qword [rbx]
mov eax, dword [rcx]
test eax, eax
je 0x140463f6e
cmp eax, 0xffffffff
je 0x140463f7f
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140463f7f
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbx]
call fcn.140379300
cmp rbx, rdi
jne 0x140463f50
mov rcx, rsi
call fcn.1404e1e20
nop
mov rax, r12
mov rbx, qword [rsp + 0x118]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret