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

Disassembly:
push 0xe4
mov eax, 0x558b09
call fcn.00523c97
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.0040337c
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0xf0]
push eax
call fcn.004036c8
mov edi, eax
mov byte [ebp - 4], 1
push 0x5b4a90
push edi
call fcn.00405d7d
push dword [ebp - 0x50]
push edi
call fcn.00405d7d
push str.__Query:
push edi
call fcn.00405d7d
push esi
push edi
call fcn.00405d7d
add esp, 0x20
lea eax, [ebp - 0x2c]
push eax
mov eax, edi
call fcn.00403732
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x4ee6d8
lea eax, [ebp - 0x2c]
push eax
push 4
pop ecx
call fcn.00492b4d
pop ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.004033b1
mov byte [ebp - 4], bl
lea eax, [ebp - 0xf0]
call fcn.00402669
mov edi, dword [ebp - 0x58]
mov eax, edi
call fcn.004ee602
cmp dword [edi + 8], ebx
jl 0x4eea7d
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 0x4ee7c8
lea eax, [ebp - 0xf0]
push eax
call fcn.004036c8
mov edi, eax
mov byte [ebp - 4], 3
push str.CoCreateInstance_failed__
push edi
call fcn.00405d7d
pop ecx
pop ecx
cmp edi, ebx
jne 0x4ee757
xor eax, eax
jmp 0x4ee75e
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.00410478
push str.__in_updtWmiHelperClass::Initialize_
push edi
call fcn.00405d7d
pop ecx
pop ecx
lea eax, [ebp - 0x2c]
push eax
mov eax, edi
call fcn.00403732
mov byte [ebp - 4], 4
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x4ee79f
lea eax, [ebp - 0x2c]
xor ecx, ecx
push eax
inc ecx
call fcn.00492b4d
pop ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.004033b1
mov byte [ebp - 4], bl
lea eax, [ebp - 0xf0]
call fcn.00402669
jmp 0x4eea7d
push str.CoCreateInstance_success_n
push 4
pop ecx
call fcn.00492b4d
pop ecx
push dword [ebp - 0x50]
lea eax, [ebp - 0x48]
push eax
call fcn.0040411c
cmp dword [ebp - 0x34], 8
mov ecx, dword [ebp - 0x48]
jae 0x4ee7ee
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 0x4ee890
lea eax, [ebp - 0xf0]
push eax
call fcn.004036c8
mov esi, eax
mov byte [ebp - 4], 5
push str.ConnectServer_failed__
push esi
call fcn.00405d7d
pop ecx
pop ecx
cmp esi, ebx
jne 0x4ee835
xor eax, eax
jmp 0x4ee83c
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.00410478
push str.__in_updtWmiHelperClass::Initialize_
push esi
call fcn.00405d7d
pop ecx
pop ecx
lea eax, [ebp - 0x2c]
push eax
mov eax, esi
call fcn.00403732
mov byte [ebp - 4], 6
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x4ee87d
lea eax, [ebp - 0x2c]
xor ecx, ecx
push eax
inc ecx
call fcn.00492b4d
pop ecx
mov byte [ebp - 4], 5
jmp 0x4ee7ad
push str.ConnectServer_success
push 4
pop ecx
call fcn.00492b4d
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 0x4ee93c
lea eax, [ebp - 0xf0]
push eax
call fcn.004036c8
mov esi, eax
mov byte [ebp - 4], 7
push str.CoSetProxyBlanket_failed__
push esi
call fcn.00405d7d
pop ecx
pop ecx
cmp esi, ebx
jne 0x4ee8e1
xor eax, eax
jmp 0x4ee8e8
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.00410478
push str._in_updtWmiHelperClass::Initialize_
push esi
call fcn.00405d7d
pop ecx
pop ecx
lea eax, [ebp - 0x2c]
push eax
mov eax, esi
call fcn.00403732
mov byte [ebp - 4], 8
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x4ee929
lea eax, [ebp - 0x2c]
xor ecx, ecx
push eax
inc ecx
call fcn.00492b4d
pop ecx
mov byte [ebp - 4], 7
jmp 0x4ee7ad
push str.CoSetProxyBlanket_success
push 4
pop ecx
call fcn.00492b4d
pop ecx
push dword [ebp - 0x4c]
lea eax, [ebp - 0x48]
push eax
call fcn.0040411c
push 0x5b4cd4
lea edi, [ebp - 0x50]
call fcn.004ee34f
mov byte [ebp - 4], 9
push dword [ebp - 0x4c]
lea edi, [ebp - 0x4c]
call fcn.004ee34f
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x4c]
cmp eax, ebx
je 0x4ee984
mov eax, dword [eax]
mov dword [ebp - 0x54], eax
jmp 0x4ee987
mov dword [ebp - 0x54], ebx
mov eax, dword [ebp - 0x50]
cmp eax, ebx
je 0x4ee992
mov eax, dword [eax]
jmp 0x4ee994
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 0x4eea4d
lea eax, [ebp - 0xf0]
push eax
call fcn.004036c8
mov esi, eax
mov byte [ebp - 4], 0xb
push str.ExecQuery_failed__
push esi
call fcn.00405d7d
pop ecx
pop ecx
cmp esi, ebx
jne 0x4ee9dc
xor eax, eax
jmp 0x4ee9e3
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.00410478
push str._in_updtWmiHelperClass::Initialize_
push esi
call fcn.00405d7d
pop ecx
pop ecx
lea eax, [ebp - 0x2c]
push eax
mov eax, esi
call fcn.00403732
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x4eea26
lea eax, [ebp - 0x2c]
xor ecx, ecx
push eax
inc ecx
call fcn.00492b4d
pop ecx
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2c]
call fcn.004033b1
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0xf0]
call fcn.00402669
jmp 0x4eea66
push str.Begin_MoveNextRecord
push 4
pop ecx
call fcn.00492b4d
pop ecx
mov ecx, edi
call fcn.004ef0d8
test al, al
jne 0x4eeaa3
mov byte [ebp - 4], 9
lea edi, [ebp - 0x4c]
call fcn.004ee408
mov byte [ebp - 4], bl
lea edi, [ebp - 0x50]
call fcn.004ee408
mov eax, dword [ebp - 0x58]
call fcn.004ee602
push str.Exit_updtWmiHelperClass::Initialize_with_error_n
push 4
pop ecx
call fcn.00492b4d
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.004033b1
xor al, al
jmp 0x4eead6
push str.Exit_updtWmiHelperClass::Initialize
push 4
pop ecx
call fcn.00492b4d
pop ecx
mov byte [ebp - 4], 9
lea edi, [ebp - 0x4c]
call fcn.004ee408
mov byte [ebp - 4], bl
lea edi, [ebp - 0x50]
call fcn.004ee408
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.004033b1
mov al, 1
call fcn.00523d1a
ret 8