Function at 0x140006550
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x1400b3010]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rbp - 0x78], rcx
xor r13d, r13d
mov dword [rsp + 0x60], r13d
mov dword [rbp - 0x48], r13d
mov qword [rbp - 0x50], r13
mov eax, dword [rdx + 0x20]
cmp eax, 1
jne 0x1400065aa
mov r14d, 0x20219
jmp 0x1400065bc
mov ecx, 0x20119
mov r14d, 0x20019
cmp eax, 2
cmove r14d, ecx
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x80], r13
mov r15, qword [rdx + 0x10]
mov r12, rsi
cmp qword [rdx + 0x18], 8
jb 0x1400065db
mov r12, qword [rdx]
cmp r15, 8
jae 0x1400065fa
movups xmm0, xmmword [r12]
movups xmmword [rsp + 0x68], xmm0
mov qword [rbp - 0x80], 7
lea rdx, [rsp + 0x68]
jmp 0x14000664b
mov rbx, r15
or rbx, 7
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
cmova rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x68]
call fcn.140004280
mov qword [rsp + 0x68], rax
lea r8, [r15*2 + 2]
mov rdx, r12
mov rcx, rax
call fcn.14005d310
mov qword [rbp - 0x80], rbx
lea rdx, [rsp + 0x68]
cmp rbx, 8
cmovae rdx, qword [rsp + 0x68]
mov dword [rsp + 0x60], 2
mov qword [rsp + 0x78], r15
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
mov r9d, r14d
xor r8d, r8d
mov rcx, qword [rsi + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x1400066b4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400066af
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000689f
call fcn.1400371a0
test ebx, ebx
jne 0x14000686a
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi], r13
mov qword [rdi + 8], r13
mov qword [rdi + 0x10], r13
mov dword [rsp + 0x60], 3
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x48]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [rbp - 0x48]
test eax, eax
je 0x14000682e
mov ebx, r13d
nop word [rax + rax]
mov dword [rbp - 0x44], 0xff
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x44]
lea r8, [rbp - 0x30]
mov edx, ebx
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x140006823
mov word [rbp + 0x1ce], r13w
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], r13w
lea rax, [rbp - 0x30]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140006792
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x68]
call fcn.140003c90
nop
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x1400067d9
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x78]
movups xmmword [rdx + 0x10], xmm1
mov edx, 7
mov word [rsp + 0x68], r13w
add qword [rdi + 8], 0x20
jmp 0x1400067ea
lea r8, [rsp + 0x68]
mov rcx, rdi
call fcn.14000a540
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x140006823
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000681e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006899
call fcn.1400371a0
inc ebx
cmp ebx, dword [rbp - 0x48]
jb 0x140006730
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x14000683d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rdi
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.140037180
mov rbx, qword [rsp + 0x330]
add rsp, 0x2e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r9, rsi
mov r8d, ebx
lea rcx, [rbp - 0x70]
call fcn.140005ad0
nop
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.140002100
lea rdx, [0x1400b1a88]
lea rcx, [rsp + 0x68]
call fcn.14005d154
nop
call fcn.1400619fc
int3
call fcn.1400619fc
int3