Function at 0x14001a790
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1420]
mov eax, 0x1520
call fcn.140026960
sub rsp, rax
mov rax, qword [0x140033040]
xor rax, rsp
mov qword [rbp + 0x1410], rax
xor r13d, r13d
mov r14d, r13d
mov dword [rsp + 0x40], r13d
mov dword [rbp + 0x10], 0x4d36e96c
mov dword [rbp + 0x14], 0x11cee325
mov dword [rbp + 0x18], 0x8c1bf
mov dword [rbp + 0x1c], 0x1803e12b
mov r9d, 2
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x10]
call qword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
mov r15, rax
mov qword [rsp + 0x68], rax
cmp rax, 0xffffffffffffffff
jne 0x14001a845
call fcn.14001a530
lea rdx, str.Error_:_An_error_occurred__please_contact.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14001e020
lea rdx, [0x14001e1f0]
mov rcx, rax
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::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x14001acb2
mov dword [rbp + 0x60], 0x20
mov r12d, r13d
lea r8, [rbp + 0x60]
xor edx, edx
mov rcx, rax
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x14001ac6a
nop word [rax + rax]
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], r13
mov qword [rbp + 0x58], 7
mov word [rbp + 0x40], r13w
lea r8, [rbp + 0x40]
lea rdx, [rbp + 0x60]
mov rcx, r15
call fcn.14001a660
test al, al
je 0x14001ac0f
movaps xmm0, xmmword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890abcdefghijklmnopqrstuvwxyz]
movaps xmmword [rbp - 0x70], xmm0
movaps xmm1, xmmword [0x14002b1b0]
movaps xmmword [rbp - 0x60], xmm1
movaps xmm0, xmmword [0x14002b1c0]
movaps xmmword [rbp - 0x50], xmm0
movaps xmm1, xmmword [0x14002b1d0]
movaps xmmword [rbp - 0x40], xmm1
movaps xmm0, xmmword [0x14002b1e0]
movaps xmmword [rbp - 0x30], xmm0
movaps xmm1, xmmword [0x14002b1f0]
movaps xmmword [rbp - 0x20], xmm1
movaps xmm0, xmmword [0x14002b200]
movaps xmmword [rbp - 0x10], xmm0
movsd xmm0, qword [0x14002b210]
movsd qword [rbp], xmm0
mov eax, dword [0x14002b218]
mov dword [rbp + 8], eax
movzx eax, word [0x14002b21c]
mov word [rbp + 0xc], ax
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rbp + 0x1404], 0xffffffff
mov dword [rbp + 0x84], eax
mov edx, 1
nop dword [rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rbp + rdx*4 + 0x84], eax
inc rdx
cmp rdx, 0x270
jb 0x14001a930
mov dword [rbp + 0x80], 0x270
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov rbx, r13
mov qword [rsp + 0x58], rbx
mov edi, 7
mov qword [rsp + 0x60], rdi
mov word [rsp + 0x48], r13w
or r14d, 1
mov dword [rsp + 0x40], r14d
mov esi, 0x18
mov r15d, 0x80000000
lea rcx, [rbp + 0x80]
call fcn.14001fe00
mov ecx, eax
imul rax, rcx, 0x3e
cmp eax, 3
ja 0x14001a9c7
nop word [rax + rax]
lea rcx, [rbp + 0x80]
call fcn.14001fe00
mov ecx, eax
imul rax, rcx, 0x3e
cmp eax, 4
jb 0x14001a9b0
shr rax, 0x20
sub rax, r15
xor rax, 0xffffffff80000000
movzx r9d, word [rbp + rax*2 - 0x70]
cmp rbx, rdi
jae 0x14001aa04
lea rax, [rbx + 1]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x48]
cmp rdi, 7
cmova rax, qword [rsp + 0x48]
mov word [rax + rbx*2], r9w
mov word [rax + rbx*2 + 2], r13w
jmp 0x14001aa0e
lea rcx, [rsp + 0x48]
call fcn.14001ec30
sub rsi, 1
je 0x14001aa23
mov rdi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x58]
jmp 0x14001a990
lea r8, [rsp + 0x48]
lea rdx, [0x14002b24c]
lea rcx, [rbp + 0x20]
call fcn.14001e390
nop
and r14d, 0xfffffffe
mov dword [rsp + 0x40], r14d
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
mov r15, qword [rsp + 0x68]
jbe 0x14001aa89
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001aa84
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001ace2
call fcn.14002598c
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], r13w
mov eax, dword [rbp + 0x30]
lea eax, [rax*2 + 2]
lea r9, [rbp + 0x20]
cmp qword [rbp + 0x38], 7
cmova r9, qword [rbp + 0x20]
mov dword [rsp + 0x20], eax
mov r8d, 0xc
lea rdx, [rbp + 0x60]
mov rcx, r15
call qword [sym.imp.SETUPAPI.dll_SetupDiSetDeviceRegistryPropertyW]
test eax, eax
jne 0x14001aafd
call fcn.14001a530
lea rdx, str.Error_:_An_error_occurred__please_contact.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14001e020
lea rdx, [0x14001e1f0]
mov rcx, rax
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::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x14001abce
call fcn.14001a530
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
movabs rax, 0x7ffffffffffffffe
mov rcx, qword [rbp + 0x30]
sub rax, rcx
cmp rax, 0xa
jb 0x14001acfe
lea rax, [rbp + 0x20]
cmp qword [rbp + 0x38], 7
cmova rax, qword [rbp + 0x20]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0xa
lea r9, str.New_HWID:
lea rcx, [rsp + 0x70]
call fcn.14001f720
or r14d, 2
mov dword [rsp + 0x40], r14d
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 7
cmova rdx, qword [rsp + 0x70]
mov r8, qword [rbp - 0x80]
mov rcx, rbx
call fcn.14001f920
lea rdx, [0x14001e7d0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x14001abce
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001abc8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001ace9
call fcn.14002598c
nop
mov rdx, qword [rbp + 0x38]
cmp rdx, 7
jbe 0x14001ac0f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001ac09
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001acf0
call fcn.14002598c
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 7
jbe 0x14001ac4f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001ac4a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001acf7
call fcn.14002598c
inc r12d
lea r8, [rbp + 0x60]
mov edx, r12d
mov rcx, r15
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
jne 0x14001a870
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x14001aca9
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x103
je 0x14001aca9
call fcn.14001a530
lea rdx, str.Error_:_An_error_occurred__please_contact.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14001e020
lea rdx, [0x14001e1f0]
mov rcx, rax
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::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, r15
call qword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov rcx, qword [rbp + 0x1410]
xor rcx, rsp
call fcn.140025930
lea r11, [rsp + 0x1520]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.14000c240
int3