Function at 0x180006440
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x180124040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rdi, rcx
lea rcx, [rsp + 0x30]
call fcn.18001f400
cmp qword [rax + 0x18], 7
jbe 0x180006473
mov rax, qword [rax]
lea rcx, [rsp + 0x50]
mov r9d, 0x20019
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov rdx, rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rdx, qword [rsp + 0x48]
mov ebx, eax
cmp rdx, 7
jbe 0x1800064dd
mov rcx, qword [rsp + 0x30]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800064d8
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800064d8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180073914
test ebx, ebx
jne 0x180006519
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rdx, str.ConfigData
xor ebx, ebx
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x180006520
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x1800066b8
mov qword [rsp + 0x98], rsi
xorps xmm0, xmm0
mov esi, dword [rsp + 0x58]
mov qword [rsp + 0x70], rbx
movdqu xmmword [rsp + 0x60], xmm0
test rsi, rsi
je 0x18000659c
cmp rsi, 0x1000
jb 0x180006574
lea rcx, [rsi + 0x27]
cmp rcx, rsi
jbe 0x1800066d6
call fcn.180073490
mov rcx, rax
test rax, rax
je 0x180006618
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x18000657c
mov rcx, rsi
call fcn.180073490
lea rbx, [rax + rsi]
mov qword [rsp + 0x60], rax
mov r8, rsi
mov qword [rsp + 0x70], rbx
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x68], rbx
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rdx, str.ConfigData
mov rax, qword [rsp + 0x60]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x50]
test eax, eax
je 0x18000661f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x60]
xor bl, bl
test rcx, rcx
je 0x1800066ad
mov rdx, qword [rsp + 0x70]
mov rax, rcx
sub rdx, rcx
cmp rdx, 0x1000
jb 0x1800066a8
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800066a8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x58], 0x220
jne 0x1800065d7
mov rcx, qword [rsp + 0x60]
mov edx, 4
mov rax, rcx
nop dword [rax]
lea rdi, [rdi + 0x80]
movups xmm0, xmmword [rax]
lea rax, [rax + 0x80]
movups xmmword [rdi - 0x80], xmm0
movups xmm1, xmmword [rax - 0x70]
movups xmmword [rdi - 0x70], xmm1
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rdi - 0x60], xmm0
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rdi - 0x50], xmm1
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rdi - 0x40], xmm0
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rdi - 0x30], xmm1
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rdi - 0x20], xmm0
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rdi - 0x10], xmm1
sub rdx, 1
jne 0x180006640
movups xmm0, xmmword [rax]
mov bl, 1
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
jmp 0x1800065de
call fcn.180073914
mov rsi, qword [rsp + 0x98]
movzx eax, bl
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.180073350
mov rbx, qword [rsp + 0xa0]
add rsp, 0x80
pop rdi
ret
call fcn.180001c40
int3