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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dc42f
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x65bfd4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x40], edi
push str.srl::WMI3::Init
lea ecx, [ebp - 0x30]
call fcn.00412820
mov dword [ebp - 4], 0
call fcn.00419a30
cmp dword [eax + 4], 4
jl 0x45caeb
push ecx
lea ecx, [ebp - 0x30]
call fcn.00411390
xor bl, bl
mov byte [ebp - 0x31], bl
mov byte [ebp - 4], 1
lea esi, [edi + 0x20]
push esi
push 0x61ab78
push 1
push 0
push 0x61ac48
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x45cc41
push 0xc
call fcn.004627a8
add esp, 4
mov esi, eax
mov dword [ebp - 0x3c], esi
mov byte [ebp - 4], 2
test esi, esi
je 0x45cb50
mov dword [esi + 4], 0
mov dword [esi + 8], 1
push str.ROOTWMI
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
je 0x45cd23
jmp 0x45cb52
xor esi, esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x38], esi
test esi, esi
je 0x45cd2d
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x45cb70
mov edx, dword [eax]
jmp 0x45cb72
xor edx, edx
mov ecx, dword [edi + 0x20]
lea esi, [edi + 0x24]
mov eax, dword [ecx]
push esi
push 0
push 0
push 0
push 0
push 0
push 0
push edx
push ecx
call dword [eax + 0xc]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x38]
test esi, esi
je 0x45cbeb
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x45cbe1
test esi, esi
je 0x45cbe1
mov eax, dword [esi]
test eax, eax
je 0x45cbbf
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x45cbd6
push eax
call fcn.004627e0
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.005a9369
add esp, 8
mov dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x3c]
test eax, eax
js 0x45cc28
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [edi + 0x24]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x45cc18
mov bl, 1
mov byte [ebp - 0x31], bl
mov dword [ebp - 4], 0
jmp 0x45cc6a
mov eax, dword [edi + 0x24]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [edi + 0x24], 0
mov eax, dword [edi + 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [edi + 0x20], 0
mov dword [ebp - 4], 0
jmp 0x45cc6a
mov dword [esi], 0
mov dword [edi + 0x24], 0
mov dword [ebp - 4], 0
jmp 0x45cc6a
test bl, bl
je 0x45ccae
mov byte [edi + 0x1c], 1
call fcn.00419a30
cmp dword [eax + 4], 3
jl 0x45ccf8
push 3
call fcn.00419a30
mov ecx, eax
call fcn.00419e60
mov esi, eax
call fcn.00419a30
mov ecx, dword [esi + 0x10]
cmp dword [esi + 0x14], 8
jb 0x45cc9d
mov esi, dword [esi]
push ecx
mov edx, esi
mov ecx, eax
call fcn.004117c0
mov edx, str.WMI3_inited_ok.
jmp 0x45cce8
call fcn.00419a30
cmp dword [eax + 4], 3
jl 0x45ccf8
push 3
call fcn.00419a30
mov ecx, eax
call fcn.00419e60
mov esi, eax
call fcn.00419a30
mov ecx, dword [esi + 0x10]
cmp dword [esi + 0x14], 8
jb 0x45ccd9
mov esi, dword [esi]
push ecx
mov edx, esi
mov ecx, eax
call fcn.004117c0
mov edx, str.WMI3_init_failure.
mov ecx, eax
call fcn.00411430
push eax
call fcn.00412720
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00412760
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005a909b
mov esp, ebp
pop ebp
ret
push 0x8007000e
call fcn.005aa400
push 0x8007000e
call fcn.005aa400
int3