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

Disassembly:
push 0xffffffffffffffff
push 0x4422ec
mov eax, dword fs:[0]
push eax
sub esp, 0x98
push ebx
push ebp
push esi
push edi
mov eax, dword [0x451390]
xor eax, esp
push eax
lea eax, [esp + 0xac]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
lea eax, [esp + 0x18]
push eax
push 0x4493a4
mov ebx, 1
push ebx
push edi
push 0x449474
mov dword [esp + 0xc8], edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
call fcn.00416ae0
cmp eax, 2
jg 0x413b60
cmp esi, edi
jge 0x413b60
push 2
push 0x2e
push str..WMIWMIClassBase.cpp
lea ecx, [esp + 0x2c]
call fcn.00418f40
push esi
push ecx
add eax, 4
push str.Create_IWbemLocator_object_failed__hr_
mov byte [esp + 0xc0], bl
push eax
mov dword [esp + 0x24], ebx
call fcn.00401ce0
add esp, 0xc
push eax
call fcn.0040ec80
mov dword [esp + 0xb4], edi
test byte [esp + 0x14], bl
je 0x413b7b
and dword [esp + 0x14], 0xfffffffe
lea ecx, [esp + 0x20]
call fcn.00418ca0
cmp esi, edi
jge 0x413ba1
mov dword [esp + 0xb4], 0xffffffff
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x413b9a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor al, al
jmp 0x413d12
mov esi, dword [esp + 0x18]
push str.rootWMI
lea ebx, [esp + 0x20]
call fcn.0040a580
mov byte [esp + 0xb4], 2
mov eax, dword [eax]
test eax, eax
je 0x413bc5
mov eax, dword [eax]
jmp 0x413bc7
xor eax, eax
mov edx, dword [esp + 0xbc]
mov ecx, dword [esi]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
mov eax, dword [ecx + 0xc]
push esi
call eax
mov ebp, eax
mov byte [esp + 0xb4], 0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x413c30
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x413c30
test esi, esi
je 0x413c30
mov eax, dword [esi]
test eax, eax
je 0x413c17
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x413c27
push eax
call fcn.0042658a
add esp, 4
push esi
call fcn.004260c9
add esp, 4
call fcn.00416ae0
cmp eax, 2
jg 0x413cbe
test ebp, ebp
jge 0x413cbe
push str.rootWMI
lea ebx, [esp + 0x20]
call fcn.0040a580
mov esi, eax
push 2
push 0x35
mov byte [esp + 0xbc], 3
or dword [esp + 0x1c], 2
push str..WMIWMIClassBase.cpp
lea ecx, [esp + 0x2c]
call fcn.00418f40
mov ecx, 4
mov dword [esp + 0xb4], ecx
or dword [esp + 0x14], ecx
mov ecx, dword [esi]
test ecx, ecx
je 0x413c8b
mov ecx, dword [ecx]
jmp 0x413c8d
xor ecx, ecx
push ebp
push ecx
push str.__hr_
push ecx
add eax, 4
push str.Connect_to_WMI_namespace_failed:
push eax
call fcn.00401ce0
add esp, 8
push eax
call fcn.00418740
add esp, 8
push eax
call fcn.00401ce0
add esp, 0xc
push eax
call fcn.0040ec80
mov dword [esp + 0xb4], 3
mov ebx, dword [esp + 0x14]
test bl, 4
je 0x413ce2
and ebx, 0xfffffffb
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], ebx
call fcn.00418ca0
test bl, 2
je 0x413cf0
lea edi, [esp + 0x1c]
call fcn.0040a610
test ebp, ebp
mov dword [esp + 0xb4], 0xffffffff
mov eax, dword [esp + 0x18]
setge bl
test eax, eax
je 0x413d10
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov al, bl
mov ecx, dword [esp + 0xac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa4
ret 4