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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dbf7f
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::WMI2::Init
lea ecx, [ebp - 0x30]
call fcn.004128a0
mov dword [ebp - 4], 0
call fcn.00419ac0
cmp dword [eax + 4], 4
jl 0x45e5eb
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 0x45e741
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 0x45e650
mov dword [esi + 4], 0
mov dword [esi + 8], 1
push str.ROOTSecurityCenter2
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
je 0x45e832
jmp 0x45e652
xor esi, esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x38], esi
test esi, esi
je 0x45e83c
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x45e670
mov edx, dword [eax]
jmp 0x45e672
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 0x45e6eb
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x45e6e1
test esi, esi
je 0x45e6e1
mov eax, dword [esi]
test eax, eax
je 0x45e6bf
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x45e6d6
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 0x45e728
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 0x45e718
mov bl, 1
mov byte [ebp - 0x31], bl
mov dword [ebp - 4], 0
jmp 0x45e76a
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 0x45e76a
mov dword [esi], 0
mov dword [edi + 0x24], 0
mov dword [ebp - 4], 0
jmp 0x45e76a
test bl, bl
je 0x45e7b6
mov byte [edi + 0x1c], 1
call fcn.00419ac0
cmp dword [eax + 4], 3
jl 0x45e807
push 3
push ecx
call fcn.00419ac0
add esp, 4
mov ecx, eax
call fcn.00419ef0
mov esi, eax
call fcn.00419ac0
mov ecx, dword [esi + 0x10]
cmp dword [esi + 0x14], 8
jb 0x45e7a5
mov esi, dword [esi]
push ecx
mov edx, esi
mov ecx, eax
call fcn.00411930
mov edx, str.WMI2_inited_ok.
jmp 0x45e7f4
call fcn.00419ac0
cmp dword [eax + 4], 3
jl 0x45e807
push 3
push ecx
call fcn.00419ac0
add esp, 4
mov ecx, eax
call fcn.00419ef0
mov esi, eax
call fcn.00419ac0
mov ecx, dword [esi + 0x10]
cmp dword [esi + 0x14], 8
jb 0x45e7e5
mov esi, dword [esi]
push ecx
mov edx, esi
mov ecx, eax
call fcn.00411930
mov edx, str.WMI2_init_failure.
add esp, 4
mov ecx, eax
call fcn.004115a0
push eax
call fcn.004127a0
add esp, 4
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