Function at 0x140018b90
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x1400b3010]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rbp - 0x78], rcx
xor r13d, r13d
mov dword [rsp + 0x60], r13d
mov dword [rbp - 0x64], 0x104
mov dword [rbp - 0x68], r13d
mov qword [rbp - 0x70], r13
mov eax, dword [rdx + 0x20]
cmp eax, 1
jne 0x140018bf1
mov r14d, 0x20219
jmp 0x140018c03
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 0x140018c22
mov r12, qword [rdx]
cmp r15, 8
jae 0x140018c41
movups xmm0, xmmword [r12]
movups xmmword [rsp + 0x68], xmm0
mov qword [rbp - 0x80], 7
lea rdx, [rsp + 0x68]
jmp 0x140018c92
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 - 0x70]
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 0x140018cfb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018cf6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140018ee1
call fcn.1400371a0
test ebx, ebx
jne 0x140018eb8
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
lea rax, [rbp - 0x60]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [rbp - 0x68]
test eax, eax
je 0x140018e7c
mov ebx, r13d
nop dword [rax]
mov dword [rbp - 0x64], 0x104
mov word [rbp - 0x50], r13w
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x64]
lea r8, [rbp - 0x50]
mov edx, ebx
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x140018e71
mov word [rbp + 0x1b8], r13w
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], r13w
lea rax, [rbp - 0x50]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140018de0
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x68]
call fcn.140003c90
nop
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x140018e27
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 0x140018e38
lea r8, [rsp + 0x68]
mov rcx, rdi
call fcn.14000a540
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x140018e71
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018e6c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140018edb
call fcn.1400371a0
inc ebx
cmp ebx, dword [rbp - 0x68]
jb 0x140018d70
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x140018e8b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rdi
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.140037180
mov rbx, qword [rsp + 0x320]
add rsp, 0x2d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rdx, str.Failed_to_open_registry_key
lea rcx, [rsp + 0x68]
call fcn.140005a10
lea rdx, [0x1400b1a88]
lea rcx, [rsp + 0x68]
call fcn.14005d154
int3
call fcn.1400619fc
int3
call fcn.1400619fc
int3