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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rsi, rcx
mov qword [rsp + 0x20], rcx
lea r9, [0x14022a158]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x14022a168]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test eax, eax
jns 0x14005fd04
mov edx, 0x5c
lea rbx, str.C:.image_jenkinsworkspaceCC_Windows_Release_2InfraFoundationdevice_infogenerate_notebook_win.h
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x14005fcca
mov edx, 0x5c
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
lea rbx, [rax + 1]
mov dword [rsp + 0x30], edi
lea rax, str.em::WMIQuery::Initialize
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x22
mov r9, rbx
lea r8, str.__s:_d__s__Failed_to_create_IWbemLocator_object._Err_code__0x_x
mov rdx, qword [str.COMMON]
mov ecx, 4
call fcn.1400a0de0
xor al, al
jmp 0x14005feea
mov r14, qword [rsi]
mov rax, qword [r14]
mov rbp, qword [rax + 0x18]
mov ecx, SafeArrayPutElement
call fcn.140101b00
mov rbx, rax
mov qword [rsp + 0x70], rax
xor edi, edi
test rax, rax
je 0x14005fd4d
mov qword [rax + 8], rdi
mov dword [rax + 0x10], 1
lea rcx, str.ROOTCIMV2
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x14005ff0f
jmp 0x14005fd50
mov rbx, rdi
mov qword [rsp + 0x70], rbx
test rbx, rbx
je 0x14005ff04
lea r15, [rsi + 8]
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbx]
mov rcx, r14
call rbp
mov ebp, eax
mov ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
cmp ecx, 1
jne 0x14005fdc9
mov rcx, qword [rbx]
test rcx, rcx
je 0x14005fdaa
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], rdi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14005fdbc
call fcn.140101b3c
mov qword [rbx + 8], rdi
mov edx, SafeArrayPutElement
mov rcx, rbx
call fcn.140101b3c
test ebp, ebp
jns 0x14005fe3d
mov edx, 0x5c
lea rbx, str.C:.image_jenkinsworkspaceCC_Windows_Release_2InfraFoundationdevice_infogenerate_notebook_win.h
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x14005fdf7
mov edx, 0x5c
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
lea rbx, [rax + 1]
mov dword [rsp + 0x30], ebp
lea rax, str.em::WMIQuery::Initialize
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x32
mov r9, rbx
lea r8, str.__s:_d__s__Could_not_connect._Error_code._Err_code__0x_x
mov rdx, qword [str.COMMON]
mov ecx, 4
call fcn.1400a0de0
mov rcx, qword [rsi]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsi], rdi
xor al, al
jmp 0x14005feea
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
lea edx, [r9 + 0xa]
mov rcx, qword [r15]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov ebp, eax
test eax, eax
jns 0x14005fee8
mov edx, 0x5c
lea rbx, str.C:.image_jenkinsworkspaceCC_Windows_Release_2InfraFoundationdevice_infogenerate_notebook_win.h
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x14005fe99
mov edx, 0x5c
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
lea rbx, [rax + 1]
mov dword [rsp + 0x30], ebp
lea rax, str.em::WMIQuery::Initialize
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x44
mov r9, rbx
lea r8, str.__s:_d__s__Could_not_set_proxy_blanket._Err_code__0x_x
mov rdx, qword [str.COMMON]
mov ecx, 4
call fcn.1400a0de0
mov rcx, qword [r15]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [r15], rdi
mov rcx, qword [rsi]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsi], rdi
xor al, al
jmp 0x14005feea
mov al, 1
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
mov ecx, 0x8007000e
call fcn.140102b50
nop
mov ecx, 0x8007000e
call fcn.140102b50
int3