Function at 0x14000b630
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x240]
sub rsp, 0x340
mov rax, qword [0x140061040]
xor rax, rsp
mov qword [rbp + 0x230], rax
mov r12, rdx
xor edi, edi
mov r15d, edi
mov dword [rsp + 0x30], edi
xorps xmm0, xmm0
movups xmmword [rbp + 0x100], xmm0
xor eax, eax
xor ecx, ecx
cpuid
mov r9d, eax
mov dword [rbp + 0x10c], edx
mov eax, 1
xor ecx, ecx
cpuid
mov dword [rbp + 0x100], eax
mov dword [rbp + 0x104], ebx
mov dword [rbp + 0x108], ecx
mov dword [rsp + 0x20], edx
lea r8, str._08X_08X
lea edx, [rdi + 0xd]
lea rcx, [rbp + 0x100]
call fcn.140002800
mov dword [rbp - 0x48], 0x100
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14000b72d
lea rax, [rbp - 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x130]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.ProductId
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rbp - 0x68]
test eax, eax
je 0x14000b734
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x14000bc67
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
lea rax, [rbp + 0x100]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], dil
jne 0x14000b760
lea rdx, [rbp + 0x100]
lea rcx, [rsp + 0x38]
call fcn.1400026a0
nop
lea rax, [rbp + 0x130]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14000b782
mov r9, rbx
lea r8, [rbp + 0x130]
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.140016340
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm1
mov qword [rax + 0x10], rdi
mov r14d, send
mov qword [rax + 0x18], r14
mov byte [rax], 0
or r15d, 1
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x14000b814
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b80f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b80f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002576c
lea rbx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rbx, qword [rbp - 0x40]
mov esi, dword [rbp - 0x30]
mov dword [rbp - 0x60], 0x20
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], r14
mov byte [rbp - 0x20], 0
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 0x18
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x14000b8af
lea rax, [rbp - 0x58]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x800c
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x14000b8a3
xor r9d, r9d
mov r8d, esi
mov rdx, rbx
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov rcx, qword [rbp - 0x58]
test eax, eax
jne 0x14000b8f3
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
xor edx, edx
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor bl, bl
cmp r14, 0x10
jb 0x14000bc26
lea rdx, [r14 + 1]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000bc20
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000bc20
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov dword [rsp + 0x20], edi
lea r9, [rbp - 0x60]
lea r8, [rbp + 0x110]
mov edx, 2
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov rcx, qword [rbp - 0x58]
test eax, eax
jne 0x14000b92b
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
xor edx, edx
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov bl, 1
jmp 0x14000b8b1
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
xor edx, edx
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x140050f90]
mov qword [rbp], rax
lea rax, [0x1400508d8]
mov qword [rbp + 0x10], rax
lea rcx, [rbp + 0x98]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
or r15d, 0x10
mov dword [rsp + 0x30], r15d
xor r8d, r8d
lea rdx, [rbp + 0x18]
lea rcx, [rbp]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea r13, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx], r13
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 4], edx
lea rcx, [rbp + 0x18]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x80], rdi
mov dword [rbp + 0x88], edi
lea rdx, [0x1400031b0]
lea rcx, [rbp + 0x10]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
mov byte [rdx + rax + 0x58], 0x30
cmp dword [rbp - 0x60], 0
jbe 0x14000ba40
lea rsi, [rbp + 0x110]
nop
mov edx, 2
lea rcx, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov rbx, qword [rax]
mov rcx, qword [rbp + 0x10]
movsxd rdx, dword [rcx + 4]
lea rcx, [rbp + 0x10]
add rcx, rdx
mov rdx, qword [rax + 8]
call rbx
movzx edx, byte [rsi]
lea rcx, [rbp + 0x10]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int____ptr64]
inc edi
lea rsi, [rsi + 1]
cmp edi, dword [rbp - 0x60]
jb 0x14000ba00
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
movdqa xmm3, xmmword [0x140051970]
movdqu xmmword [rbp - 0x78], xmm3
mov byte [rsp + 0x78], 0
or r15d, 4
mov dword [rsp + 0x30], r15d
movups xmmword [rsp + 0x38], xmm0
mov ecx, dword [rbp + 0x88]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x14000ba9d
mov rax, qword [rbp + 0x58]
mov r8, qword [rax]
test r8, r8
je 0x14000ba9d
mov rax, qword [rbp + 0x38]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x80]
cmovb r8, qword [rbp + 0x80]
sub r8, rdx
jmp 0x14000bace
test cl, 4
jne 0x14000bac4
mov rax, qword [rbp + 0x50]
mov rcx, qword [rax]
test rcx, rcx
je 0x14000bac4
mov rax, qword [rbp + 0x30]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x68]
movsxd r8, dword [rax]
add r8, rcx
sub r8, rdx
jmp 0x14000bace
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
test rdx, rdx
je 0x14000bae2
lea rcx, [rsp + 0x78]
call fcn.140012960
movdqu xmm3, xmmword [rbp - 0x78]
movups xmm2, xmmword [rsp + 0x78]
movups xmmword [rbp - 0x20], xmm2
movups xmmword [rbp - 0x10], xmm3
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
movq rax, xmm3
mov r8d, 0x19
cmp rax, r8
cmovb r8, rax
lea rdx, [rbp - 0x20]
movq rcx, xmm2
psrldq xmm3, 8
movq rax, xmm3
cmp rax, 0x10
cmovae rdx, rcx
lea rcx, [rsp + 0x58]
call fcn.1400026a0
lea rax, [rsp + 0x58]
cmp r12, rax
je 0x14000bb95
mov rdx, qword [r12 + 0x18]
cmp rdx, 0x10
jb 0x14000bb79
mov rcx, qword [r12]
inc rdx
cmp rdx, 0x1000
jb 0x14000bb74
add rdx, 0x27
mov rbx, qword [rcx - 8]
sub rcx, rbx
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000bbca
mov rcx, rbx
call fcn.14002576c
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [r12], xmm0
movups xmm1, xmmword [rsp + 0x68]
movups xmmword [r12 + 0x10], xmm1
mov byte [rsp + 0x58], 0
jmp 0x14000bb9a
mov r14, qword [rsp + 0x70]
cmp r14, 0x10
jb 0x14000bbd6
lea rdx, [r14 + 1]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000bbd1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000bbd1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002576c
mov bl, 1
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx], r13
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 4], edx
lea rcx, [rbp + 0x18]
call fcn.1400106c0
lea rcx, [rbp + 0x20]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x98]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov r14, qword [rbp - 8]
jmp 0x14000b8b1
call fcn.14002576c
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x14000bc64
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000bc5f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000bc5f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002576c
movzx eax, bl
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.140025710
lea r11, [rsp + 0x340]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret