Function at 0x180002220
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0xc8]
sub rsp, 0x1b0
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov rdi, rdx
mov rsi, rcx
xor r14d, r14d
mov qword [rsp + 0x30], r14
xor edx, edx
mov r8d, 0xff
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp + 0xe0], r14d
mov dword [rbp + 0xe8], 0xff
movdqa xmm0, xmmword [0x1800087b0]
movdqu xmmword [rbp - 0x78], xmm0
mov byte [rsp + 0x78], r14b
lea r8d, [r14 + 0x1f]
lea rdx, str.SOFTWAREMicrosoftCryptography
lea rcx, [rsp + 0x78]
call fcn.180003af0
nop
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 0x10
cmovae rdx, qword [rsp + 0x78]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, eax
test eax, eax
je 0x1800023d3
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 0x10
cmovae rdx, qword [rsp + 0x78]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
movdqa xmm0, xmmword [0x1800087b0]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], r14b
lea r8d, [r14 + 0x41]
lea rdx, str.Unable_to_open_HKLMSoftwareMicrosoftCryptography_registry_key_
lea rcx, [rsp + 0x58]
call fcn.180003af0
nop
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], 0xf
mov byte [rsp + 0x38], r14b
lea r8d, [r14 + 0xe]
lea rdx, str.ComputerId.cpp
lea rcx, [rsp + 0x38]
call fcn.180003af0
mov dword [rsp + 0x20], 0x81
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x58]
mov edx, ebx
mov rcx, rsi
call fcn.180002b00
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x18000250e
inc rdx
mov rax, qword [rsp + 0x58]
mov rcx, rax
cmp rdx, 0x1000
jb 0x1800023c6
lea r8, [rdx + 0x27]
cmp r8, rdx
jbe 0x1800023bf
mov rdx, r8
test cl, 0x1f
jne 0x1800023bf
mov rax, qword [rax - 8]
cmp rax, rcx
jae 0x1800023bf
sub rcx, rax
sub rcx, 8
cmp rcx, 0x1f
jbe 0x1800023c6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.180006714
jmp 0x18000250e
mov dword [rbp + 0xe0], 1
lea rax, [rbp + 0xe8]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xe0]
xor r8d, r8d
lea rdx, str.MachineGuid
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
test eax, eax
jne 0x18000243b
lea rax, [rbp - 0x50]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x180002420
lea rdx, [rbp - 0x50]
mov rcx, rdi
call fcn.180003af0
jmp 0x180002502
movdqa xmm0, xmmword [0x1800087b0]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x38], 0
mov r8d, 0x1d
lea rdx, str.Unable_get_value_MachineGuid_
lea rcx, [rsp + 0x38]
call fcn.180003af0
nop
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], 0xf
mov byte [rsp + 0x58], 0
mov r8d, 0xe
lea rdx, str.ComputerId.cpp
lea rcx, [rsp + 0x58]
call fcn.180003af0
mov dword [rsp + 0x20], 0x7a
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
mov edx, ebx
mov rcx, rsi
call fcn.180002b00
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x180002502
inc rdx
mov rax, qword [rsp + 0x38]
mov rcx, rax
cmp rdx, 0x1000
jb 0x1800024fa
lea r8, [rdx + 0x27]
cmp r8, rdx
jbe 0x1800024f3
mov rdx, r8
test cl, 0x1f
jne 0x1800024f3
mov rax, qword [rax - 8]
cmp rax, rcx
jae 0x1800024f3
sub rcx, rax
sub rcx, 8
cmp rcx, 0x1f
jbe 0x1800024fa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.180006714
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x18000255e
mov rcx, qword [rsp + 0x78]
mov rax, rcx
inc rdx
cmp rdx, 0x1000
jb 0x180002559
lea r8, [rdx + 0x27]
cmp r8, rdx
jbe 0x180002552
mov rdx, r8
test al, 0x1f
jne 0x180002552
mov rcx, qword [rcx - 8]
cmp rcx, rax
jae 0x180002552
sub rax, rcx
sub rax, 8
cmp rax, 0x1f
jbe 0x180002559
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180006714
mov al, 1
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret