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

Disassembly:
push 0x28
mov eax, 0x474fb2
call fcn.00470d79
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 0x430215
push 0x25
push str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerNoMSIInstallerPureCleanZoomEnumUserByWMI.cpp
push ebx
lea ecx, [ebp - 0x28]
call fcn.0040808d
mov dword [ebp - 4], ebx
mov edx, str._RunWMIQuery__Failed_to_call_CoInitializeEx__Result:
push esi
push ecx
mov ecx, 0x49f450
call fcn.0040753e
pop ecx
mov ecx, eax
call fcn.00406182
lea ecx, [ebp - 0x28]
or dword [ebp - 4], 0xffffffff
call fcn.0040822b
jmp 0x43046e
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 0x430258
cmp esi, 0x80010119
je 0x430258
push 0x3d
push str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerNoMSIInstallerPureCleanZoomEnumUserByWMI.cpp
push ebx
lea ecx, [ebp - 0x28]
call fcn.0040808d
mov edi, dword [ebp - 0x10]
mov edx, str._RunWMIQuery__Failed_to_call_CoInitializeSecurity__Result:
mov dword [ebp - 4], edi
jmp 0x4301f0
mov edi, dword [ebp - 0x10]
lea eax, [ebp - 0x20]
push eax
push 0x480ba4
push edi
push ebx
push 0x480b94
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
lea ecx, [ebp - 0x28]
test esi, esi
jns 0x430298
push 0x4a
push str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerNoMSIInstallerPureCleanZoomEnumUserByWMI.cpp
push ebx
call fcn.0040808d
mov dword [ebp - 4], 2
mov edx, str._RunWMIQuery__Failed_to_call_CoCreateInstance__Result:
jmp 0x4301f0
push str.ROOTCIMV2
call fcn.0043003b
mov dword [ebp - 4], 3
mov eax, dword [eax]
test eax, eax
je 0x4302b3
mov ecx, dword [eax]
jmp 0x4302b5
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 [0x4784fc]
call dword [esi + 0xc]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.004300a0
test esi, esi
jns 0x430305
push 0x5b
push str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerNoMSIInstallerPureCleanZoomEnumUserByWMI.cpp
push ebx
lea ecx, [ebp - 0x28]
call fcn.0040808d
mov dword [ebp - 4], 4
mov edx, str._RunWMIQuery__Failed_to_call_ConnectServer__Result:
jmp 0x4301f0
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 0x43033f
push 0x6c
push str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerNoMSIInstallerPureCleanZoomEnumUserByWMI.cpp
push ebx
lea ecx, [ebp - 0x28]
call fcn.0040808d
mov dword [ebp - 4], 5
mov edx, str._RunWMIQuery__Failed_to_call_CoSetProxyBlanket__Result:
jmp 0x4301f0
push str.SELECT__FROM_Win32_UserProfile
lea ecx, [ebp - 0x2c]
call fcn.0043003b
mov esi, eax
push 0x48c260
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 6
call fcn.0043003b
mov byte [ebp - 4], 7
mov ecx, dword [esi]
test ecx, ecx
je 0x430370
mov edx, dword [ecx]
jmp 0x430372
mov edx, ebx
mov eax, dword [eax]
test eax, eax
je 0x43037c
mov ecx, dword [eax]
jmp 0x43037e
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 [0x4784fc]
call dword [esi + 0x50]
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.004300a0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004300a0
mov edi, dword [ebp - 0x10]
test esi, esi
jns 0x4303ee
push 0x7a
push str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerNoMSIInstallerPureCleanZoomEnumUserByWMI.cpp
push ebx
lea ecx, [ebp - 0x2c]
call fcn.0040808d
push esi
push ecx
mov edx, str._RunWMIQuery__Failed_to_call_ExecQuery__Result:
mov dword [ebp - 4], 8
mov ecx, 0x49f450
call fcn.0040753e
pop ecx
mov ecx, eax
call fcn.00406182
lea ecx, [ebp - 0x2c]
jmp 0x430207
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], ebx
jmp 0x43042d
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 [0x4784fc]
call dword [esi + 0x10]
cmp dword [ebp - 0x24], 0
je 0x430436
cmp dword [ebp - 0x18], 0
je 0x43042d
push dword [ebp + 8]
push dword [ebp - 0x18]
call fcn.004304b0
pop ecx
pop ecx
test al, al
je 0x43046b
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x4303f6
jmp 0x43046b
push 0x87
push str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerNoMSIInstallerPureCleanZoomEnumUserByWMI.cpp
push ebx
lea ecx, [ebp - 0x30]
call fcn.0040808d
mov edx, str._RunWMIQuery__pEnumerator__Next_WBEM_INFINITE_uReturn_is_0
mov dword [ebp - 4], 9
mov ecx, 0x49f450
call fcn.0040753e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0040822b
mov bl, byte [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x430485
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4784fc]
call esi
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x43049c
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4784fc]
call esi
cmp byte [ebp - 0x10], 0
je 0x4304a8
call dword [sym.imp.ole32.dll_CoUninitialize]
mov al, bl
call fcn.00470d47
ret