Function at 0x1400463a0
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 - 0xa80]
sub rsp, 0xb80
mov rax, qword [0x1400fc3f8]
xor rax, rsp
mov qword [rbp + 0xa70], rax
mov qword [rsp + 0x78], r8
mov rbx, rdx
mov qword [rbp - 0x68], rdx
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rbp + 0x70]
call fcn.14008cc50
mov dword [rsp + 0x70], 0xff
xor r15d, r15d
mov dword [rsp + 0x6c], r15d
lea rax, [rbp]
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x5c]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x54]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x70]
lea rdx, [rbp + 0x70]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x1400467a2
mov ecx, dword [rsp + 0x68]
test ecx, ecx
je 0x1400467a2
mov r14d, r15d
mov dword [rsp + 0x64], r15d
movabs r12, 0x7ffffffffffffffe
nop dword [rax]
nop word [rax + rax]
mov dword [rsp + 0x74], 0x400
mov word [rbp + 0x270], r15w
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x74]
lea r8, [rbp + 0x270]
mov edx, r14d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [rsp + 0x60], eax
test eax, eax
jne 0x14004678f
mov qword [rbp + 0x50], r15
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x68], 7
mov word [rbp + 0x50], r15w
xor r8d, r8d
lea rdx, [0x1400de550]
lea rcx, [rbp + 0x50]
call fcn.140003c40
nop
mov qword [rbp + 0x10], r15
mov qword [rbp + 0x20], r15
mov qword [rbp + 0x28], 7
mov word [rbp + 0x10], r15w
lea rax, [rbp + 0x270]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140046524
lea rdx, [rbp + 0x270]
lea rcx, [rbp + 0x10]
call fcn.140003c40
nop
mov qword [rbp + 0x30], r15
mov qword [rbp + 0x40], r15
mov qword [rbp + 0x48], r15
lea rdi, [rbp + 0x50]
mov rcx, qword [rbp + 0x50]
mov qword [rbp - 0x38], rcx
mov rax, qword [rbp + 0x68]
mov qword [rbp - 0x40], rax
cmp rax, 8
cmovae rdi, rcx
mov rbx, qword [rbp + 0x60]
cmp rbx, 8
jae 0x140046580
movups xmm0, xmmword [rdi]
movaps xmmword [rbp + 0x30], xmm0
mov esi, 7
jmp 0x1400465b6
mov rsi, rbx
or rsi, 7
cmp rsi, r12
cmova rsi, r12
lea rdx, [rsi + 1]
lea rcx, [rbp + 0x30]
call fcn.140003f80
mov qword [rbp + 0x30], rax
lea r8, [rbx*2 + 2]
mov rdx, rdi
mov rcx, rax
call fcn.14008c5a0
movaps xmm0, xmmword [rbp + 0x30]
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp + 0x48], rsi
mov qword [rbp + 0x40], rbx
mov rdi, qword [rsp + 0x78]
mov rax, qword [rdi]
mov qword [rbp - 0x48], rax
mov r10, qword [rax + 8]
mov qword [rbp - 0x80], r10
mov dword [rbp - 0x78], r15d
mov rbx, rax
mov qword [rbp - 0x70], rax
mov r13, qword [rbp + 0x28]
mov r15, qword [rbp + 0x20]
mov r12, qword [rbp + 0x10]
cmp byte [r10 + 0x19], 0
jne 0x14004669d
cmp r13, 8
setae dil
mov qword [rbp - 0x80], r10
lea r9, [r10 + 0x20]
lea rax, [rbp + 0x10]
test dil, dil
cmovne rax, r12
mov r11, qword [r9 + 0x10]
cmp qword [r9 + 0x18], 8
jb 0x140046621
mov r9, qword [r9]
mov rcx, r11
cmp r15, r11
cmovb rcx, r15
test rcx, rcx
je 0x1400467d6
movzx edx, word [r9]
movzx r8d, word [rax]
cmp dx, r8w
jb 0x14004666f
sub r9, rax
cmp dx, r8w
ja 0x1400467cc
cmp rcx, 1
je 0x1400467d6
dec rcx
add rax, 2
movzx edx, word [rax + r9]
movzx r8d, word [rax]
cmp dx, r8w
jae 0x140046649
mov eax, 0xffffffff
test eax, eax
js 0x1400467df
mov dword [rbp - 0x78], 1
mov rbx, r10
mov r10, qword [r10]
cmp byte [r10 + 0x19], 0
je 0x140046600
mov qword [rbp - 0x70], rbx
mov rdi, qword [rsp + 0x78]
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rbp - 0x20], xmm0
movsd xmm0, qword [rbp - 0x70]
movsd qword [rbp - 0x70], xmm0
cmp byte [rbx + 0x19], 0
jne 0x140046802
lea rax, [rbx + 0x20]
mov r10, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x1400466cb
mov rax, qword [rax]
lea r9, [rbp + 0x10]
cmp r13, 8
cmovae r9, r12
mov rcx, r15
cmp r10, r15
cmovb rcx, r10
test rcx, rcx
je 0x1400467f9
movzx edx, word [r9]
movzx r8d, word [rax]
cmp dx, r8w
jb 0x140046725
sub r9, rax
cmp dx, r8w
ja 0x1400467ef
cmp rcx, 1
je 0x1400467f9
dec rcx
add rax, 2
movzx edx, word [r9 + rax]
movzx r8d, word [rax]
cmp dx, r8w
jae 0x1400466ff
mov eax, 0xffffffff
test eax, eax
js 0x140046802
xor r15d, r15d
cmp rsi, 8
jb 0x14004674c
lea r8, [rsi + 1]
mov rdx, qword [rbp + 0x30]
lea rcx, [rbp + 0x30]
call fcn.140003ff0
cmp r13, 8
jb 0x140046763
lea r8, [r13 + 1]
mov rdx, r12
lea rcx, [rbp + 0x10]
call fcn.140003ff0
nop
mov r8, qword [rbp - 0x40]
cmp r8, 8
jb 0x14004677d
inc r8
mov rdx, qword [rbp - 0x38]
lea rcx, [rbp + 0x50]
call fcn.140003ff0
movabs r12, 0x7ffffffffffffffe
mov rbx, qword [rbp - 0x68]
mov eax, dword [rsp + 0x60]
inc r14d
mov dword [rsp + 0x64], r14d
cmp r14d, dword [rsp + 0x68]
jb 0x140046490
mov rcx, qword [rbp + 0xa70]
xor rcx, rsp
call fcn.14008a6c0
mov rbx, qword [rsp + 0xbc0]
add rsp, 0xb80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov eax, 1
jmp 0x140046674
cmp r11, r15
jae 0x14004667c
mov dword [rbp - 0x78], 0
mov r10, qword [r10 + 0x10]
jmp 0x140046689
mov eax, 1
jmp 0x14004672a
cmp r15, r10
jae 0x140046732
movabs rax, 0x2aaaaaaaaaaaaaa
cmp qword [rdi + 8], rax
je 0x1400468f7
mov qword [rbp - 0x30], rdi
xor esi, esi
mov qword [rbp - 0x28], rsi
lea ecx, [rsi + 0x60]
call fcn.140089c64
mov rdi, rax
mov qword [rbp - 0x28], rax
mov qword [rax + 0x20], rsi
mov qword [rax + 0x30], rsi
mov qword [rax + 0x38], rsi
lea rsi, [rbp + 0x10]
cmp r13, 8
cmovae rsi, r12
cmp r15, 8
jae 0x14004685c
movups xmm0, xmmword [rsi]
movups xmmword [rax + 0x20], xmm0
mov r14d, 7
jmp 0x140046898
mov r14, r15
or r14, 7
movabs rax, 0x7ffffffffffffffe
cmp r14, rax
cmova r14, rax
lea rdx, [r14 + 1]
lea rcx, [rdi + 0x20]
call fcn.140003f80
mov qword [rdi + 0x20], rax
lea r8, [r15*2 + 2]
mov rdx, rsi
mov rcx, rax
call fcn.14008c5a0
mov qword [rdi + 0x30], r15
mov qword [rdi + 0x38], r14
xor r15d, r15d
movups xmm0, xmmword [rbp - 0x10]
movups xmmword [rdi + 0x40], xmm0
movaps xmm0, xmmword [rbp + 0x40]
movups xmmword [rdi + 0x50], xmm0
lea esi, [r15 + 7]
mov word [rbp + 0x30], r15w
mov rax, qword [rbp - 0x48]
mov qword [rdi], rax
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], rax
mov word [rdi + 0x18], r15w
mov qword [rbp - 0x28], r15
movups xmm0, xmmword [rbp - 0x20]
movaps xmmword [rbp - 0x20], xmm0
mov r8, rdi
lea rdx, [rbp - 0x20]
mov rcx, qword [rsp + 0x78]
call fcn.140017420
mov r14d, dword [rsp + 0x64]
jmp 0x140046735
call fcn.140012970
int3