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

Disassembly:
push 0xffffffffffffffff
push 0x440e4c
mov eax, dword fs:[0]
push eax
sub esp, 0x98
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44f3c0]
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 0x4473cc
mov ebx, 1
push ebx
push edi
push 0x44749c
mov dword [esp + 0xc8], edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
call fcn.00414b50
cmp eax, 2
jg 0x4129a0
cmp esi, edi
jge 0x4129a0
push 2
push 0x2e
push str..WMIClassBase.cpp
lea ecx, [esp + 0x2c]
call fcn.00416e40
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.004041d0
add esp, 0xc
push eax
call fcn.00413010
mov dword [esp + 0xb4], edi
test byte [esp + 0x14], bl
je 0x4129bb
and dword [esp + 0x14], 0xfffffffe
lea ecx, [esp + 0x20]
call fcn.00416ba0
cmp esi, edi
jge 0x4129e1
mov dword [esp + 0xb4], 0xffffffff
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x4129da
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor al, al
jmp 0x412b52
mov esi, dword [esp + 0x18]
push str.rootWMI
lea ebx, [esp + 0x20]
call fcn.00404400
mov byte [esp + 0xb4], 2
mov eax, dword [eax]
test eax, eax
je 0x412a05
mov eax, dword [eax]
jmp 0x412a07
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 0x412a70
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x412a70
test esi, esi
je 0x412a70
mov eax, dword [esi]
test eax, eax
je 0x412a57
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x412a67
push eax
call fcn.004256e9
add esp, 4
push esi
call fcn.00424b3c
add esp, 4
call fcn.00414b50
cmp eax, 2
jg 0x412afe
test ebp, ebp
jge 0x412afe
push str.rootWMI
lea ebx, [esp + 0x20]
call fcn.00404400
mov esi, eax
push 2
push 0x35
mov byte [esp + 0xbc], 3
or dword [esp + 0x1c], 2
push str..WMIClassBase.cpp
lea ecx, [esp + 0x2c]
call fcn.00416e40
mov ecx, 4
mov dword [esp + 0xb4], ecx
or dword [esp + 0x14], ecx
mov ecx, dword [esi]
test ecx, ecx
je 0x412acb
mov ecx, dword [ecx]
jmp 0x412acd
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.004041d0
add esp, 8
push eax
call fcn.00416640
add esp, 8
push eax
call fcn.004041d0
add esp, 0xc
push eax
call fcn.00413010
mov dword [esp + 0xb4], 3
mov ebx, dword [esp + 0x14]
test bl, 4
je 0x412b22
and ebx, 0xfffffffb
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], ebx
call fcn.00416ba0
test bl, 2
je 0x412b30
lea edi, [esp + 0x1c]
call fcn.00404530
test ebp, ebp
mov dword [esp + 0xb4], 0xffffffff
mov eax, dword [esp + 0x18]
setge bl
test eax, eax
je 0x412b50
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