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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dbdcf
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x65afd4]
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.004128a0
mov dword [ebp - 4], 0
call fcn.00419ac0
cmp dword [eax + 4], 4
jl 0x45d4bb
push ecx
lea ecx, [ebp - 0x30]
call fcn.00411500
xor bl, bl
mov byte [ebp - 0x31], bl
mov byte [ebp - 4], 1
lea esi, [edi + 0x20]
push esi
push 0x61ab70
push 1
push 0
push 0x61ac40
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x45d611
push 0xc
call fcn.00462143
add esp, 4
mov esi, eax
mov dword [ebp - 0x3c], esi
mov byte [ebp - 4], 2
test esi, esi
je 0x45d520
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 0x45d6f3
jmp 0x45d522
xor esi, esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x38], esi
test esi, esi
je 0x45d6fd
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x45d540
mov edx, dword [eax]
jmp 0x45d542
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 0x45d5bb
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x45d5b1
test esi, esi
je 0x45d5b1
mov eax, dword [esi]
test eax, eax
je 0x45d58f
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x45d5a6
push eax
call fcn.0046217b
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.005a8d24
add esp, 8
mov dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x3c]
test eax, eax
js 0x45d5f8
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 0x45d5e8
mov bl, 1
mov byte [ebp - 0x31], bl
mov dword [ebp - 4], 0
jmp 0x45d63a
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 0x45d63a
mov dword [esi], 0
mov dword [edi + 0x24], 0
mov dword [ebp - 4], 0
jmp 0x45d63a
test bl, bl
je 0x45d67e
mov byte [edi + 0x1c], 1
call fcn.00419ac0
cmp dword [eax + 4], 3
jl 0x45d6c8
push 3
call fcn.00419ac0
mov ecx, eax
call fcn.00419ef0
mov esi, eax
call fcn.00419ac0
mov ecx, dword [esi + 0x10]
cmp dword [esi + 0x14], 8
jb 0x45d66d
mov esi, dword [esi]
push ecx
mov edx, esi
mov ecx, eax
call fcn.00411930
mov edx, str.WMI3_inited_ok.
jmp 0x45d6b8
call fcn.00419ac0
cmp dword [eax + 4], 3
jl 0x45d6c8
push 3
call fcn.00419ac0
mov ecx, eax
call fcn.00419ef0
mov esi, eax
call fcn.00419ac0
mov ecx, dword [esi + 0x10]
cmp dword [esi + 0x14], 8
jb 0x45d6a9
mov esi, dword [esi]
push ecx
mov edx, esi
mov ecx, eax
call fcn.00411930
mov edx, str.WMI3_init_failure.
mov ecx, eax
call fcn.004115a0
push eax
call fcn.004127a0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004127e0
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.005a8a56
mov esp, ebp
pop ebp
ret
push 0x8007000e
call fcn.005a9dc0
push 0x8007000e
call fcn.005a9dc0
int3