Function at 0x18002d5e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x18018a280]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rcx
mov qword [rbp - 0x38], rcx
mov dword [rbp - 0x40], 1
xor r14d, r14d
mov qword [rbp - 0x30], r14
mov dword [rbp - 0x24], r14d
mov dword [rbp - 0x28], r14d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r14
mov qword [rcx + 0x18], r14
mov r8d, 3
lea rdx, [0x18016a238]
call fcn.18000acd0
nop
mov dword [rbp - 0x40], 1
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftCryptography
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x18002d89c
lea rax, [rbp - 0x28]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x24]
xor r8d, r8d
lea rdx, str.MachineGuid
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x18002d891
cmp dword [rbp - 0x24], 1
jne 0x18002d891
mov eax, dword [rbp - 0x28]
cmp eax, 2
jbe 0x18002d891
xorps xmm0, xmm0
mov esi, eax
movdqu xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r14
cmp rax, 2
jb 0x18002d733
and rsi, 0xfffffffffffffffe
jne 0x18002d6d9
mov eax, r14d
jmp 0x18002d716
cmp rsi, 0x1000
jb 0x18002d70e
lea rcx, [rsi + 0x27]
cmp rcx, rsi
jbe 0x18002d8c0
call fcn.18008ed38
mov rcx, rax
test rax, rax
je 0x18002d8c6
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x18002d716
mov rcx, rsi
call fcn.18008ed38
mov qword [rbp - 0x20], rax
lea rbx, [rsi + rax]
mov qword [rbp - 0x10], rbx
mov r8, rsi
xor edx, edx
mov rcx, rax
call fcn.1800c4f50
mov qword [rbp - 0x18], rbx
lea rax, [rbp - 0x28]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp - 0x20]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x24]
xor r8d, r8d
lea rdx, str.MachineGuid
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp - 0x30]
test eax, eax
je 0x18002d7b6
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x18002d89c
mov rax, qword [rbp - 0x10]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002d7ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002d8c6
call fcn.18008ed30
jmp 0x18002d89c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r9, qword [rbp - 0x20]
cmp word [r9], 0
jne 0x18002d807
mov rax, qword [rbp - 0x10]
sub rax, r9
sar rax, 1
lea rdx, [rax + rax]
mov rax, r9
cmp rdx, 0x1000
jb 0x18002d7fa
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002d8c6
mov rcx, r9
call fcn.18008ed30
jmp 0x18002d89c
mov rdx, qword [rbp - 0x18]
sub rdx, r9
sub rdx, 2
sar rdx, 1
mov rax, qword [rdi + 0x18]
cmp rdx, rax
ja 0x18002d847
mov rsi, rdi
cmp rax, 7
jbe 0x18002d82a
mov rsi, qword [rdi]
mov qword [rdi + 0x10], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
mov rcx, rsi
call fcn.1800c48b0
mov word [rsi + rbx], r14w
jmp 0x18002d850
mov rcx, rdi
call fcn.180026cc0
nop
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x18002d89c
mov rax, qword [rbp - 0x10]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002d7ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002d8c6
jmp 0x18002d7ac
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rax, rdi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.18008ed10
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.180002c60
nop
call fcn.1800a4178
int3