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

Disassembly:
push 0xe4
mov eax, 0x5587aa
call fcn.005239fe
mov eax, dword [ebp + 8]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0xc]
mov esi, ecx
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], esi
call fcn.0040333d
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0xf0]
push eax
call fcn.00403689
mov edi, eax
mov byte [ebp - 4], 1
push 0x5b49d0
push edi
call fcn.00405d65
push dword [ebp - 0x50]
push edi
call fcn.00405d65
push str.__Query:
push edi
call fcn.00405d65
push esi
push edi
call fcn.00405d65
add esp, 0x20
lea eax, [ebp - 0x2c]
push eax
mov eax, edi
call fcn.004036f3
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x4ee72f
lea eax, [ebp - 0x2c]
push eax
push 4
pop ecx
call fcn.00492cc7
pop ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00403372
mov byte [ebp - 4], bl
lea eax, [ebp - 0xf0]
call fcn.0040262a
mov edi, dword [ebp - 0x58]
mov eax, edi
call fcn.004ee659
cmp dword [edi + 8], ebx
jl 0x4eead4
add edi, 0x20
push edi
push 0x57e3dc
push 1
push ebx
push 0x57e4ac
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, ebx
je 0x4ee81f
lea eax, [ebp - 0xf0]
push eax
call fcn.00403689
mov edi, eax
mov byte [ebp - 4], 3
push str.CoCreateInstance_failed__
push edi
call fcn.00405d65
pop ecx
pop ecx
cmp edi, ebx
jne 0x4ee7ae
xor eax, eax
jmp 0x4ee7b5
mov eax, dword [edi]
mov eax, dword [eax + 4]
add eax, edi
mov ecx, dword [eax + 0x14]
and ecx, 0xfffff9ff
push esi
or ecx, 0x800
push edi
mov dword [eax + 0x14], ecx
call fcn.00410496
push str.__in_updtWmiHelperClass::Initialize_
push edi
call fcn.00405d65
pop ecx
pop ecx
lea eax, [ebp - 0x2c]
push eax
mov eax, edi
call fcn.004036f3
mov byte [ebp - 4], 4
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x4ee7f6
lea eax, [ebp - 0x2c]
xor ecx, ecx
push eax
inc ecx
call fcn.00492cc7
pop ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.00403372
mov byte [ebp - 4], bl
lea eax, [ebp - 0xf0]
call fcn.0040262a
jmp 0x4eead4
push str.CoCreateInstance_success_n
push 4
pop ecx
call fcn.00492cc7
pop ecx
push dword [ebp - 0x50]
lea eax, [ebp - 0x48]
push eax
call fcn.00404104
cmp dword [ebp - 0x34], 8
mov ecx, dword [ebp - 0x48]
jae 0x4ee845
lea ecx, [ebp - 0x48]
mov esi, dword [ebp - 0x58]
mov eax, dword [edi]
mov edx, dword [eax]
add esi, 0x24
push esi
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ecx
push eax
call dword [edx + 0xc]
mov edi, eax
cmp edi, ebx
jge 0x4ee8e7
lea eax, [ebp - 0xf0]
push eax
call fcn.00403689
mov esi, eax
mov byte [ebp - 4], 5
push str.ConnectServer_failed__
push esi
call fcn.00405d65
pop ecx
pop ecx
cmp esi, ebx
jne 0x4ee88c
xor eax, eax
jmp 0x4ee893
mov eax, dword [esi]
mov eax, dword [eax + 4]
add eax, esi
mov ecx, dword [eax + 0x14]
and ecx, 0xfffff9ff
push edi
or ecx, 0x800
push esi
mov dword [eax + 0x14], ecx
call fcn.00410496
push str.__in_updtWmiHelperClass::Initialize_
push esi
call fcn.00405d65
pop ecx
pop ecx
lea eax, [ebp - 0x2c]
push eax
mov eax, esi
call fcn.004036f3
mov byte [ebp - 4], 6
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x4ee8d4
lea eax, [ebp - 0x2c]
xor ecx, ecx
push eax
inc ecx
call fcn.00492cc7
pop ecx
mov byte [ebp - 4], 5
jmp 0x4ee804
push str.ConnectServer_success
push 4
pop ecx
call fcn.00492cc7
pop ecx
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push dword [esi]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov edi, eax
cmp edi, ebx
jge 0x4ee993
lea eax, [ebp - 0xf0]
push eax
call fcn.00403689
mov esi, eax
mov byte [ebp - 4], 7
push str.CoSetProxyBlanket_failed__
push esi
call fcn.00405d65
pop ecx
pop ecx
cmp esi, ebx
jne 0x4ee938
xor eax, eax
jmp 0x4ee93f
mov eax, dword [esi]
mov eax, dword [eax + 4]
add eax, esi
mov ecx, dword [eax + 0x14]
and ecx, 0xfffff9ff
push edi
or ecx, 0x800
push esi
mov dword [eax + 0x14], ecx
call fcn.00410496
push str._in_updtWmiHelperClass::Initialize_
push esi
call fcn.00405d65
pop ecx
pop ecx
lea eax, [ebp - 0x2c]
push eax
mov eax, esi
call fcn.004036f3
mov byte [ebp - 4], 8
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x4ee980
lea eax, [ebp - 0x2c]
xor ecx, ecx
push eax
inc ecx
call fcn.00492cc7
pop ecx
mov byte [ebp - 4], 7
jmp 0x4ee804
push str.CoSetProxyBlanket_success
push 4
pop ecx
call fcn.00492cc7
pop ecx
push dword [ebp - 0x4c]
lea eax, [ebp - 0x48]
push eax
call fcn.00404104
push 0x5b4c14
lea edi, [ebp - 0x50]
call fcn.004ee3a6
mov byte [ebp - 4], 9
push dword [ebp - 0x4c]
lea edi, [ebp - 0x4c]
call fcn.004ee3a6
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x4c]
cmp eax, ebx
je 0x4ee9db
mov eax, dword [eax]
mov dword [ebp - 0x54], eax
jmp 0x4ee9de
mov dword [ebp - 0x54], ebx
mov eax, dword [ebp - 0x50]
cmp eax, ebx
je 0x4ee9e9
mov eax, dword [eax]
jmp 0x4ee9eb
xor eax, eax
mov edi, dword [ebp - 0x58]
mov esi, dword [esi]
mov ecx, dword [esi]
lea edx, [edi + 0x28]
push edx
push ebx
push 0x10
push dword [ebp - 0x54]
push eax
push esi
call dword [ecx + 0x50]
mov dword [ebp - 0x54], eax
cmp eax, ebx
jge 0x4eeaa4
lea eax, [ebp - 0xf0]
push eax
call fcn.00403689
mov esi, eax
mov byte [ebp - 4], 0xb
push str.ExecQuery_failed__
push esi
call fcn.00405d65
pop ecx
pop ecx
cmp esi, ebx
jne 0x4eea33
xor eax, eax
jmp 0x4eea3a
mov eax, dword [esi]
mov eax, dword [eax + 4]
add eax, esi
mov ecx, dword [eax + 0x14]
push dword [ebp - 0x54]
and ecx, 0xfffff9ff
or ecx, 0x800
push esi
mov dword [eax + 0x14], ecx
call fcn.00410496
push str._in_updtWmiHelperClass::Initialize_
push esi
call fcn.00405d65
pop ecx
pop ecx
lea eax, [ebp - 0x2c]
push eax
mov eax, esi
call fcn.004036f3
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x4eea7d
lea eax, [ebp - 0x2c]
xor ecx, ecx
push eax
inc ecx
call fcn.00492cc7
pop ecx
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2c]
call fcn.00403372
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0xf0]
call fcn.0040262a
jmp 0x4eeabd
push str.Begin_MoveNextRecord
push 4
pop ecx
call fcn.00492cc7
pop ecx
mov ecx, edi
call fcn.004ef12f
test al, al
jne 0x4eeafa
mov byte [ebp - 4], 9
lea edi, [ebp - 0x4c]
call fcn.004ee45f
mov byte [ebp - 4], bl
lea edi, [ebp - 0x50]
call fcn.004ee45f
mov eax, dword [ebp - 0x58]
call fcn.004ee659
push str.Exit_updtWmiHelperClass::Initialize_with_error_n
push 4
pop ecx
call fcn.00492cc7
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00403372
xor al, al
jmp 0x4eeb2d
push str.Exit_updtWmiHelperClass::Initialize
push 4
pop ecx
call fcn.00492cc7
pop ecx
mov byte [ebp - 4], 9
lea edi, [ebp - 0x4c]
call fcn.004ee45f
mov byte [ebp - 4], bl
lea edi, [ebp - 0x50]
call fcn.004ee45f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00403372
mov al, 1
call fcn.00523a81
ret 8