Function at 0x140020160
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x140046080]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rsi, rcx
mov qword [rbp - 9], rcx
mov dword [rbp - 0x19], 1
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
xor r14d, r14d
mov qword [rcx + 0x10], r14
mov qword [rcx + 0x18], 7
mov word [rcx], r14w
movups xmmword [rcx + 0x20], xmm0
mov qword [rcx + 0x30], r14
mov qword [rcx + 0x38], 7
mov word [rcx + 0x20], r14w
movups xmmword [rcx + 0x40], xmm0
mov qword [rcx + 0x50], r14
mov qword [rcx + 0x58], 7
mov word [rcx + 0x40], r14w
movups xmmword [rcx + 0x60], xmm0
mov qword [rcx + 0x70], r14
mov qword [rcx + 0x78], 7
mov word [rcx + 0x60], r14w
movups xmmword [rcx + 0x80], xmm0
mov qword [rcx + 0x90], r14
mov qword [rcx + 0x98], 7
mov word [rcx + 0x80], r14w
movups xmmword [rcx + 0xa0], xmm0
mov qword [rcx + 0xb0], r14
mov qword [rcx + 0xb8], 7
mov word [rcx + 0xa0], r14w
movups xmmword [rcx + 0xc0], xmm0
mov qword [rcx + 0xd0], r14
mov qword [rcx + 0xd8], 7
mov word [rcx + 0xc0], r14w
mov dword [rbp - 0x19], 1
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov ebx, eax
test eax, eax
jns 0x1400202b8
lea rdx, str.Failed_to_initialize_COM_library._Error_code__0x
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140023ec0
lea rdx, [0x140005250]
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov edx, ebx
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___long_int____ptr64]
lea rdx, [0x140024ed0]
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 0x140020abc
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x38], r14d
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov edi, 0xffffffff
mov edx, edi
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
mov ebx, eax
test eax, eax
jns 0x140020332
lea rdx, str.Failed_to_initialize_security._Error_code__0x
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140023ec0
lea rdx, [0x140005250]
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov edx, ebx
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___long_int____ptr64]
lea rdx, [0x140024ed0]
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 0x140020ab5
mov qword [rbp + 0xf], r14
lea rax, [rbp + 0xf]
mov qword [rsp + 0x20], rax
lea r9, [0x1400358a8]
xor edx, edx
mov r8d, 1
lea rcx, [0x1400358b8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test eax, eax
jns 0x140020383
lea rdx, str.Failed_to_create_IWbemLocator_object.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140023ec0
mov rcx, rax
lea rdx, str.Error_code__0x
jmp 0x1400202fd
mov qword [rbp + 7], r14
mov rax, qword [rbp + 0xf]
mov rcx, qword [rax]
mov r14, qword [rcx + 0x18]
mov ecx, 0x18
call fcn.140030918
mov rbx, rax
mov qword [rbp - 0x11], rax
test rax, rax
je 0x1400203dc
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], rax
mov dword [rbx + 0x10], 1
lea rcx, str.ROOTCIMV2
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x140020afc
xor ecx, ecx
jmp 0x1400203e0
xor ecx, ecx
mov ebx, ecx
mov qword [rbp - 0x11], rbx
test rbx, rbx
je 0x140020af1
lea rax, [rbp + 7]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbx]
mov rcx, qword [rbp + 0xf]
call r14
mov r14d, eax
lock xadd dword [rbx + 0x10], edi
cmp edi, 1
jne 0x14002045e
mov rcx, qword [rbx]
test rcx, rcx
je 0x14002043b
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], 0
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140020451
call fcn.140030910
mov qword [rbx + 8], 0
mov edx, 0x18
mov rcx, rbx
call fcn.140030910
test r14d, r14d
jns 0x1400204a7
lea rdx, str.Could_not_connect._Error_code__0x
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140023ec0
lea rdx, [0x140005250]
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov edx, r14d
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___long_int____ptr64]
lea rdx, [0x140024ed0]
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 0x140020aab
xor edi, edi
mov dword [rsp + 0x38], edi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xa
mov rcx, qword [rbp + 7]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov ebx, eax
test eax, eax
jns 0x140020520
lea rdx, str.Could_not_set_proxy_blanket._Error_code__0x
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140023ec0
lea rdx, [0x140005250]
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov edx, ebx
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___long_int____ptr64]
lea rdx, [0x140024ed0]
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 0x140020aa1
lea rdx, str.Manufacturer
lea rcx, [rbp - 0x39]
call fcn.14001fd50
nop
lea rdx, str.SELECT_Manufacturer_FROM_Win32_BaseBoard
lea rcx, [rbp - 0x59]
call fcn.14001fd50
nop
mov r9, rsi
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x59]
mov rcx, qword [rbp + 7]
call fcn.14001fe90
nop
mov rdx, qword [rbp - 0x41]
cmp rdx, 7
jbe 0x14002059a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140020595
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140020595
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140030910
movdqa xmm6, xmmword [0x14003dda0]
movdqu xmmword [rbp - 0x49], xmm6
mov word [rbp - 0x59], di
mov rdx, qword [rbp - 0x21]
cmp rdx, 7
jbe 0x1400205ee
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400205e9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400205e9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140030910
lea rdx, str.SerialNumber
lea rcx, [rbp - 0x39]
call fcn.14001fd50
nop
lea rdx, str.SELECT_SerialNumber_FROM_Win32_BIOS
lea rcx, [rbp - 0x59]
call fcn.14001fd50
nop
lea r9, [rsi + 0x20]
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x59]
mov rcx, qword [rbp + 7]
call fcn.14001fe90
nop
mov rdx, qword [rbp - 0x41]
cmp rdx, 7
jbe 0x140020669
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140020664
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140020664
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140030910
movdqu xmmword [rbp - 0x49], xmm6
mov word [rbp - 0x59], di
mov rdx, qword [rbp - 0x21]
cmp rdx, 7
jbe 0x1400206b5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400206b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400206b0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140030910
lea rdx, str.SerialNumber
lea rcx, [rbp - 0x39]
call fcn.14001fd50
nop
lea rdx, str.SELECT_SerialNumber_FROM_Win32_BaseBoard
lea rcx, [rbp - 0x59]
call fcn.14001fd50
nop
lea r9, [rsi + 0x40]
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x59]
mov rcx, qword [rbp + 7]
call fcn.14001fe90
nop
mov rdx, qword [rbp - 0x41]
cmp rdx, 7
jbe 0x140020730
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002072b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002072b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140030910
movdqu xmmword [rbp - 0x49], xmm6
mov word [rbp - 0x59], di
mov rdx, qword [rbp - 0x21]
cmp rdx, 7
jbe 0x14002077c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140020777
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140020777
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140030910
lea rdx, str.ProcessorId
lea rcx, [rbp - 0x39]
call fcn.14001fd50
nop
lea rdx, str.SELECT_ProcessorId_FROM_Win32_Processor
lea rcx, [rbp - 0x59]
call fcn.14001fd50
nop
lea r9, [rsi + 0x60]
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x59]
mov rcx, qword [rbp + 7]
call fcn.14001fe90
nop
mov rdx, qword [rbp - 0x41]
cmp rdx, 7
jbe 0x1400207f7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400207f2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400207f2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140030910
movdqu xmmword [rbp - 0x49], xmm6
mov word [rbp - 0x59], di
mov rdx, qword [rbp - 0x21]
cmp rdx, 7
jbe 0x140020843
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002083e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002083e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140030910
lea rdx, str.SerialNumber
lea rcx, [rbp - 0x39]
call fcn.14001fd50
nop
lea rdx, str.SELECT_SerialNumber_FROM_Win32_DiskDrive
lea rcx, [rbp - 0x59]
call fcn.14001fd50
nop
lea r9, [rsi + 0x80]
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x59]
mov rcx, qword [rbp + 7]
call fcn.14001fe90
nop
mov rdx, qword [rbp - 0x41]
cmp rdx, 7
jbe 0x1400208c1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400208bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400208bc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140030910
movdqu xmmword [rbp - 0x49], xmm6
mov word [rbp - 0x59], di
mov rdx, qword [rbp - 0x21]
cmp rdx, 7
jbe 0x14002090d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140020908
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140020908
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140030910
lea rdx, str.HWProfileGuid
lea rcx, [rbp - 0x39]
call fcn.14001fd50
nop
lea rdx, str.SELECT_HWProfileGuid_FROM_Win32_ComputerSystem
lea rcx, [rbp - 0x59]
call fcn.14001fd50
nop
lea r9, [rsi + 0xa0]
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x59]
mov rcx, qword [rbp + 7]
call fcn.14001fe90
nop
mov rdx, qword [rbp - 0x41]
cmp rdx, 7
jbe 0x14002098b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140020986
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140020986
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140030910
movdqu xmmword [rbp - 0x49], xmm6
mov word [rbp - 0x59], di
mov rdx, qword [rbp - 0x21]
cmp rdx, 7
jbe 0x1400209d7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400209d2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400209d2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140030910
lea rdx, str.UUID
lea rcx, [rbp - 0x39]
call fcn.14001fd50
nop
lea rdx, str.SELECT_UUID_FROM_Win32_ComputerSystemProduct
lea rcx, [rbp - 0x59]
call fcn.14001fd50
nop
lea r9, [rsi + 0xc0]
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x59]
mov rcx, qword [rbp + 7]
call fcn.14001fe90
nop
mov rdx, qword [rbp - 0x41]
cmp rdx, 7
jbe 0x140020a55
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140020a50
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140020a50
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140030910
movdqu xmmword [rbp - 0x49], xmm6
mov word [rbp - 0x59], di
mov rdx, qword [rbp - 0x21]
cmp rdx, 7
jbe 0x140020aa1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140020a9c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140020a9c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140030910
mov rcx, qword [rbp + 7]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0xf]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
nop
mov rax, rsi
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1400308f0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 0x8007000e
call fcn.1400305b0
nop
mov ecx, 0x8007000e
call fcn.1400305b0
int3