Function at 0x45b880
Capabilities:
Connect to wmi namespace via wbemlocator
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f4bf7
mov eax, dword fs:[0]
push eax
sub esp, 0x854
mov eax, dword [0x5365f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x854], eax
lea eax, [edi + 4]
xor esi, esi
mov dword [ebp - 0x860], edi
mov dword [ebp - 0x858], ecx
mov dword [ebp - 0x84c], edx
mov dword [ebp - 0x850], eax
mov dword [eax], esi
mov dword [ebp - 4], 1
lea eax, [edi + 8]
mov dword [ebp - 0x85c], eax
mov dword [eax], esi
mov byte [ebp - 4], 3
lea eax, [edi + 0xc]
mov dword [ebp - 0x85c], eax
mov dword [eax], esi
mov byte [ebp - 4], 5
lea eax, [edi + 0x10]
mov dword [ebp - 0x85c], eax
mov dword [eax], esi
mov byte [ebp - 4], 7
mov dword [edi + 0x8a0], 0x51918c
mov byte [edi + 0x8a4], 0
call fcn.0045cff0
mov byte [edi + 0x8a4], al
mov byte [ebp - 4], 8
xor eax, eax
mov dword [edi + 0x8bc], 7
mov dword [edi + 0x8b8], esi
mov word [edi + 0x8a8], ax
mov byte [ebp - 4], 9
mov dword [edi], esi
mov dword [edi + 0x14], esi
mov dword [edi + 0x18], esi
push esi
mov eax, 0x517384
lea esi, [edi + 0x8a8]
call fcn.004027c0
mov eax, dword [ebp - 0x854]
test eax, eax
je 0x45bd1a
cmp dword [ebp - 0x858], 0
je 0x45bd1a
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push eax
call esi
mov dword [edi + 0x18], eax
test eax, eax
je 0x45bd1a
mov ecx, dword [ebp - 0x858]
push ecx
call esi
mov dword [edi + 0x14], eax
test eax, eax
je 0x45bd1a
mov eax, 0x517384
lea ecx, [ebp - 0x848]
call fcn.00401c60
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x850], 0
mov byte [ebp - 4], 0xc
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x45b9e4
push 0x16
mov eax, str.CoInitializeEx_failed.
lea esi, [ebp - 0x848]
call fcn.004027c0
lea edx, [ebp - 0x850]
push edx
push 0x5048d0
push 1
push 0
push 0x5049a0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jns 0x45ba1b
lea eax, [ebp - 0x848]
push eax
mov eax, str.Failed_to_create_IWbemLocator_object.
call fcn.00401cd0
jmp 0x45bc7d
cmp dword [ebp - 0x84c], 0
je 0x45bb95
xor ecx, ecx
push ecx
mov eax, 0x517384
lea esi, [ebp - 0x82c]
mov dword [ebp - 0x818], 7
mov dword [ebp - 0x81c], 0
mov word [ebp - 0x82c], cx
call fcn.004027c0
mov byte [ebp - 4], 0xd
mov esi, dword [ebp - 0x84c]
push 2
push 0x50a5cc
push esi
call fcn.004d92fe
add esp, 0xc
test eax, eax
je 0x45ba9e
push 2
mov eax, 0x50a5cc
lea esi, [ebp - 0x82c]
call fcn.004027c0
mov eax, dword [ebp - 0x84c]
mov ecx, eax
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x45ba91
jmp 0x45bab1
lea eax, [esi + 4]
mov ecx, eax
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x45baa6
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [edi + 0x8a8]
call fcn.004027c0
mov eax, dword [ebp - 0x84c]
mov ecx, eax
lea esi, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x45bad0
sub ecx, esi
sar ecx, 1
push ecx
lea ecx, [ebp - 0x82c]
call fcn.004021b0
mov eax, dword [ebp - 0x82c]
mov esi, 8
cmp dword [ebp - 0x818], esi
jae 0x45bb04
lea eax, [ebp - 0x82c]
mov ecx, dword [ebp - 0x81c]
mov edx, 0x5c
cmp dx, word [eax + ecx*2 - 2]
je 0x45bb28
push 1
mov eax, 0x504a74
lea ecx, [ebp - 0x82c]
call fcn.004021b0
push 0xd
mov eax, str.rootFaronics
lea ecx, [ebp - 0x82c]
call fcn.004021b0
mov eax, dword [ebp - 0x82c]
cmp dword [ebp - 0x818], esi
jae 0x45bb4e
lea eax, [ebp - 0x82c]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x84c], eax
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x818], esi
jb 0x45bb76
mov edx, dword [ebp - 0x82c]
push edx
call fcn.004d5559
add esp, 4
xor eax, eax
mov dword [ebp - 0x818], 7
mov dword [ebp - 0x81c], 0
mov word [ebp - 0x82c], ax
jmp 0x45bba6
push str.rootFaronics
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x84c], eax
push str.MS_409
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [ebp - 0x850]
mov edx, dword [ecx]
lea ebx, [edi + 0x10]
push ebx
push 0
push 0
push 0
push eax
push 0
mov dword [ebp - 0x854], eax
mov eax, dword [ebp - 0x84c]
push 0
push eax
push ecx
mov ecx, dword [edx + 0xc]
call ecx
mov esi, eax
mov eax, dword [ebp - 0x84c]
test eax, eax
je 0x45bbee
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x854]
test eax, eax
je 0x45bbff
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test esi, esi
jns 0x45bc16
lea edx, [ebp - 0x848]
push edx
mov eax, str.Failed_to_connect_to_your_local_PROVIDER_NAMESPACE.
call fcn.00401cd0
jmp 0x45bc7d
mov eax, dword [ebx]
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov esi, eax
test esi, esi
jns 0x45bc46
lea eax, [ebp - 0x848]
push eax
mov eax, str.Could_not_set_proxy_blanket.
call fcn.00401cd0
jmp 0x45bc7d
mov ebx, dword [ebx]
mov edx, dword [edi + 0x18]
mov ecx, dword [ebx]
push 0
lea eax, [edi + 4]
push eax
mov eax, dword [ecx + 0x18]
push 0
push 0
push edx
push ebx
call eax
mov esi, eax
test esi, esi
jns 0x45bc77
lea ecx, [ebp - 0x848]
push ecx
mov eax, str.Unable_to_find_reference_to_provider_class.
call fcn.00401cd0
jmp 0x45bc7d
mov dword [edi], 1
mov eax, dword [ebp - 0x850]
test eax, eax
je 0x45bc99
mov dword [ebp - 0x850], 0
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
cmp dword [edi], 0
jne 0x45bcf5
xor ecx, ecx
push 0x7fe
push ecx
lea edx, [ebp - 0x80e]
push edx
mov word [ebp - 0x810], cx
call fcn.004da450
mov eax, dword [ebp - 0x848]
add esp, 0xc
cmp dword [ebp - 0x834], 8
jae 0x45bcd1
lea eax, [ebp - 0x848]
push esi
push eax
lea eax, [ebp - 0x810]
push str.CAeWmiQuery::Initialize__Error_Desc___s__Error_code___x
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea ecx, [ebp - 0x810]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x850]
test eax, eax
je 0x45bd0b
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 9
lea esi, [ebp - 0x848]
call fcn.00401ca0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d5564
mov esp, ebp
pop ebp
ret 4