Function at 0x1400ec830
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, [0x1402a2fa8]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1402a2fb8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test eax, eax
jns 0x1400ec8d4
mov edx, 0x5c
lea rbx, str.C:.image_jenkinsworkspaceCC_Windows_Release_2VECommonCommonDeviceInfogenerate_notebook_win.h
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x1400ec89a
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.14007f790
xor al, al
jmp 0x1400ecaba
mov r14, qword [rsi]
mov rax, qword [r14]
mov rbp, qword [rax + 0x18]
mov ecx, SafeArrayPutElement
call fcn.14017fa34
mov rbx, rax
mov qword [rsp + 0x70], rax
xor edi, edi
test rax, rax
je 0x1400ec91d
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 0x1400ecadf
jmp 0x1400ec920
mov rbx, rdi
mov qword [rsp + 0x70], rbx
test rbx, rbx
je 0x1400ecad4
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 0x1400ec999
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400ec97a
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], rdi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400ec98c
call fcn.14017fa70
mov qword [rbx + 8], rdi
mov edx, SafeArrayPutElement
mov rcx, rbx
call fcn.14017fa70
test ebp, ebp
jns 0x1400eca0d
mov edx, 0x5c
lea rbx, str.C:.image_jenkinsworkspaceCC_Windows_Release_2VECommonCommonDeviceInfogenerate_notebook_win.h
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x1400ec9c7
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.14007f790
mov rcx, qword [rsi]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsi], rdi
xor al, al
jmp 0x1400ecaba
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 0x1400ecab8
mov edx, 0x5c
lea rbx, str.C:.image_jenkinsworkspaceCC_Windows_Release_2VECommonCommonDeviceInfogenerate_notebook_win.h
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x1400eca69
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.14007f790
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 0x1400ecaba
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.140180a80
nop
mov ecx, 0x8007000e
call fcn.140180a80
int3