Function at 0x42ecac
Capabilities:
Connect to wmi namespace via wbemlocator
Reference wmi statements

Disassembly:
push 0x28
mov eax, 0x468493
call fcn.0046494e
xor ebx, ebx
push 2
push ebx
mov byte [ebp - 0x10], bl
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov esi, eax
test esi, esi
jns 0x42ed12
push 0x25
push str.c:jenkinsworkspaceClientClientWindows_releaseclient_srcinstallwindowsNoMSIInstallerPureCleanZoomEnumUserByWMI.cpp
push ebx
lea ecx, [ebp - 0x28]
call fcn.0040c45a
mov dword [ebp - 4], ebx
mov edx, str._RunWMIQuery__Failed_to_call_CoInitializeEx__Result:
push esi
push ecx
mov ecx, 0x490340
call fcn.0040b7dd
pop ecx
mov ecx, eax
call fcn.0040a31e
lea ecx, [ebp - 0x28]
or dword [ebp - 4], 0xffffffff
call fcn.0040c5f9
jmp 0x42ef6b
push ebx
push ebx
push ebx
push 3
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push ebx
mov dword [ebp - 0x10], 1
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov esi, eax
test esi, esi
jns 0x42ed55
cmp esi, 0x80010119
je 0x42ed55
push 0x3d
push str.c:jenkinsworkspaceClientClientWindows_releaseclient_srcinstallwindowsNoMSIInstallerPureCleanZoomEnumUserByWMI.cpp
push ebx
lea ecx, [ebp - 0x28]
call fcn.0040c45a
mov edi, dword [ebp - 0x10]
mov edx, str._RunWMIQuery__Failed_to_call_CoInitializeSecurity__Result:
mov dword [ebp - 4], edi
jmp 0x42eced
mov edi, dword [ebp - 0x10]
lea eax, [ebp - 0x20]
push eax
push 0x474c24
push edi
push ebx
push 0x474c14
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
lea ecx, [ebp - 0x28]
test esi, esi
jns 0x42ed95
push 0x4a
push str.c:jenkinsworkspaceClientClientWindows_releaseclient_srcinstallwindowsNoMSIInstallerPureCleanZoomEnumUserByWMI.cpp
push ebx
call fcn.0040c45a
mov dword [ebp - 4], 2
mov edx, str._RunWMIQuery__Failed_to_call_CoCreateInstance__Result:
jmp 0x42eced
push str.ROOTCIMV2
call fcn.0042ebee
mov dword [ebp - 4], 3
mov eax, dword [eax]
test eax, eax
je 0x42edb0
mov ecx, dword [eax]
jmp 0x42edb2
mov ecx, ebx
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x14]
push edx
push ebx
push ebx
mov esi, dword [eax]
push ebx
push ebx
push ebx
push ebx
push ecx
mov ecx, dword [esi + 0xc]
push eax
call dword [0x46b4a4]
call dword [esi + 0xc]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.0042ec53
test esi, esi
jns 0x42ee02
push 0x5b
push str.c:jenkinsworkspaceClientClientWindows_releaseclient_srcinstallwindowsNoMSIInstallerPureCleanZoomEnumUserByWMI.cpp
push ebx
lea ecx, [ebp - 0x28]
call fcn.0040c45a
mov dword [ebp - 4], 4
mov edx, str._RunWMIQuery__Failed_to_call_ConnectServer__Result:
jmp 0x42eced
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push dword [ebp - 0x14]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov esi, eax
test esi, esi
jns 0x42ee3c
push 0x6c
push str.c:jenkinsworkspaceClientClientWindows_releaseclient_srcinstallwindowsNoMSIInstallerPureCleanZoomEnumUserByWMI.cpp
push ebx
lea ecx, [ebp - 0x28]
call fcn.0040c45a
mov dword [ebp - 4], 5
mov edx, str._RunWMIQuery__Failed_to_call_CoSetProxyBlanket__Result:
jmp 0x42eced
push str.SELECT__FROM_Win32_UserProfile
lea ecx, [ebp - 0x2c]
call fcn.0042ebee
mov esi, eax
push 0x47f7a8
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 6
call fcn.0042ebee
mov byte [ebp - 4], 7
mov ecx, dword [esi]
test ecx, ecx
je 0x42ee6d
mov edx, dword [ecx]
jmp 0x42ee6f
mov edx, ebx
mov eax, dword [eax]
test eax, eax
je 0x42ee79
mov ecx, dword [eax]
jmp 0x42ee7b
mov ecx, ebx
mov eax, dword [ebp - 0x14]
lea edi, [ebp - 0x1c]
push edi
push ebx
push 0x30
mov esi, dword [eax]
push edx
push ecx
push eax
mov ecx, dword [esi + 0x50]
call dword [0x46b4a4]
call dword [esi + 0x50]
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.0042ec53
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0042ec53
mov edi, dword [ebp - 0x10]
test esi, esi
jns 0x42eeeb
push 0x7a
push str.c:jenkinsworkspaceClientClientWindows_releaseclient_srcinstallwindowsNoMSIInstallerPureCleanZoomEnumUserByWMI.cpp
push ebx
lea ecx, [ebp - 0x2c]
call fcn.0040c45a
push esi
push ecx
mov edx, str._RunWMIQuery__Failed_to_call_ExecQuery__Result:
mov dword [ebp - 4], 8
mov ecx, 0x490340
call fcn.0040b7dd
pop ecx
mov ecx, eax
call fcn.0040a31e
lea ecx, [ebp - 0x2c]
jmp 0x42ed04
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], ebx
jmp 0x42ef2a
mov esi, dword [eax]
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [esi + 0x10]
push edi
push 0xffffffffffffffff
push eax
call dword [0x46b4a4]
call dword [esi + 0x10]
cmp dword [ebp - 0x24], 0
je 0x42ef33
cmp dword [ebp - 0x18], 0
je 0x42ef2a
push dword [ebp + 8]
push dword [ebp - 0x18]
call fcn.0042efad
pop ecx
pop ecx
test al, al
je 0x42ef68
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x42eef3
jmp 0x42ef68
push 0x87
push str.c:jenkinsworkspaceClientClientWindows_releaseclient_srcinstallwindowsNoMSIInstallerPureCleanZoomEnumUserByWMI.cpp
push ebx
lea ecx, [ebp - 0x30]
call fcn.0040c45a
mov edx, str._RunWMIQuery__pEnumerator__Next_WBEM_INFINITE_uReturn_is_0
mov dword [ebp - 4], 9
mov ecx, 0x490340
call fcn.0040b7dd
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0040c5f9
mov bl, byte [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x42ef82
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x46b4a4]
call esi
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x42ef99
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x46b4a4]
call esi
cmp byte [ebp - 0x10], 0
je 0x42efa5
call dword [sym.imp.ole32.dll_CoUninitialize]
mov al, bl
call fcn.00464928
ret