Function at 0x18002e2d0
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 [0x180223280]
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, [0x180203300]
call fcn.180008f10
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 0x18002e58c
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 0x18002e581
cmp dword [rbp - 0x24], 1
jne 0x18002e581
mov eax, dword [rbp - 0x28]
cmp eax, 2
jbe 0x18002e581
xorps xmm0, xmm0
mov esi, eax
movdqu xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r14
cmp rax, 2
jb 0x18002e423
and rsi, 0xfffffffffffffffe
jne 0x18002e3c9
mov eax, r14d
jmp 0x18002e406
cmp rsi, 0x1000
jb 0x18002e3fe
lea rcx, [rsi + 0x27]
cmp rcx, rsi
jbe 0x18002e5b0
call fcn.18008ef18
mov rcx, rax
test rax, rax
je 0x18002e5b6
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x18002e406
mov rcx, rsi
call fcn.18008ef18
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.1800c0e90
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 0x18002e4a6
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x18002e58c
mov rax, qword [rbp - 0x10]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002e49c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002e5b6
call fcn.18008ef10
jmp 0x18002e58c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r9, qword [rbp - 0x20]
cmp word [r9], 0
jne 0x18002e4f7
mov rax, qword [rbp - 0x10]
sub rax, r9
sar rax, 1
lea rdx, [rax + rax]
mov rax, r9
cmp rdx, 0x1000
jb 0x18002e4ea
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002e5b6
mov rcx, r9
call fcn.18008ef10
jmp 0x18002e58c
mov rdx, qword [rbp - 0x18]
sub rdx, r9
sub rdx, 2
sar rdx, 1
mov rax, qword [rdi + 0x18]
cmp rdx, rax
ja 0x18002e537
mov rsi, rdi
cmp rax, 7
jbe 0x18002e51a
mov rsi, qword [rdi]
mov qword [rdi + 0x10], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
mov rcx, rsi
call fcn.1800c07f0
mov word [rsi + rbx], r14w
jmp 0x18002e540
mov rcx, rdi
call fcn.1800293a0
nop
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x18002e58c
mov rax, qword [rbp - 0x10]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002e49c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002e5b6
jmp 0x18002e49c
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.18008eef0
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.180002b80
nop
call fcn.18009e1e4
int3