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

Disassembly:
push 0xe4
mov eax, 0x5a0afe
call fcn.0056ce95
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.00409083
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0xf0]
push eax
call fcn.00409ac6
mov edi, eax
mov byte [ebp - 4], 1
push 0x5eb9a8
push edi
call fcn.0040fa1f
push dword [ebp - 0x50]
push edi
call fcn.0040fa1f
push str.__Query:
push edi
call fcn.0040fa1f
push esi
push edi
call fcn.0040fa1f
add esp, 0x20
lea eax, [ebp - 0x2c]
push eax
mov eax, edi
call fcn.00409b30
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x4cce9f
lea eax, [ebp - 0x2c]
push eax
push 4
pop ecx
call fcn.0047c666
pop ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.004090d2
mov byte [ebp - 4], bl
lea eax, [ebp - 0xf0]
call fcn.004021a3
mov edi, dword [ebp - 0x58]
mov eax, edi
call fcn.004ccdc9
cmp dword [edi + 8], ebx
jl 0x4cd244
add edi, 0x20
push edi
push 0x5bc064
push 1
push ebx
push 0x5bc134
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, ebx
je 0x4ccf8f
lea eax, [ebp - 0xf0]
push eax
call fcn.00409ac6
mov edi, eax
mov byte [ebp - 4], 3
push str.CoCreateInstance_failed__
push edi
call fcn.0040fa1f
pop ecx
pop ecx
cmp edi, ebx
jne 0x4ccf1e
xor eax, eax
jmp 0x4ccf25
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.0040d526
push str.__in_updtWmiHelperClass::Initialize_
push edi
call fcn.0040fa1f
pop ecx
pop ecx
lea eax, [ebp - 0x2c]
push eax
mov eax, edi
call fcn.00409b30
mov byte [ebp - 4], 4
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x4ccf66
lea eax, [ebp - 0x2c]
xor ecx, ecx
push eax
inc ecx
call fcn.0047c666
pop ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.004090d2
mov byte [ebp - 4], bl
lea eax, [ebp - 0xf0]
call fcn.004021a3
jmp 0x4cd244
push str.CoCreateInstance_success_n
push 4
pop ecx
call fcn.0047c666
pop ecx
push dword [ebp - 0x50]
lea eax, [ebp - 0x48]
push eax
call fcn.0040ad38
cmp dword [ebp - 0x34], 8
mov ecx, dword [ebp - 0x48]
jae 0x4ccfb5
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 0x4cd057
lea eax, [ebp - 0xf0]
push eax
call fcn.00409ac6
mov esi, eax
mov byte [ebp - 4], 5
push str.ConnectServer_failed__
push esi
call fcn.0040fa1f
pop ecx
pop ecx
cmp esi, ebx
jne 0x4ccffc
xor eax, eax
jmp 0x4cd003
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.0040d526
push str.__in_updtWmiHelperClass::Initialize_
push esi
call fcn.0040fa1f
pop ecx
pop ecx
lea eax, [ebp - 0x2c]
push eax
mov eax, esi
call fcn.00409b30
mov byte [ebp - 4], 6
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x4cd044
lea eax, [ebp - 0x2c]
xor ecx, ecx
push eax
inc ecx
call fcn.0047c666
pop ecx
mov byte [ebp - 4], 5
jmp 0x4ccf74
push str.ConnectServer_success
push 4
pop ecx
call fcn.0047c666
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 0x4cd103
lea eax, [ebp - 0xf0]
push eax
call fcn.00409ac6
mov esi, eax
mov byte [ebp - 4], 7
push str.CoSetProxyBlanket_failed__
push esi
call fcn.0040fa1f
pop ecx
pop ecx
cmp esi, ebx
jne 0x4cd0a8
xor eax, eax
jmp 0x4cd0af
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.0040d526
push str._in_updtWmiHelperClass::Initialize_
push esi
call fcn.0040fa1f
pop ecx
pop ecx
lea eax, [ebp - 0x2c]
push eax
mov eax, esi
call fcn.00409b30
mov byte [ebp - 4], 8
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x4cd0f0
lea eax, [ebp - 0x2c]
xor ecx, ecx
push eax
inc ecx
call fcn.0047c666
pop ecx
mov byte [ebp - 4], 7
jmp 0x4ccf74
push str.CoSetProxyBlanket_success
push 4
pop ecx
call fcn.0047c666
pop ecx
push dword [ebp - 0x4c]
lea eax, [ebp - 0x48]
push eax
call fcn.0040ad38
push 0x5ebbec
lea edi, [ebp - 0x50]
call fcn.004ccb16
mov byte [ebp - 4], 9
push dword [ebp - 0x4c]
lea edi, [ebp - 0x4c]
call fcn.004ccb16
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x4c]
cmp eax, ebx
je 0x4cd14b
mov eax, dword [eax]
mov dword [ebp - 0x54], eax
jmp 0x4cd14e
mov dword [ebp - 0x54], ebx
mov eax, dword [ebp - 0x50]
cmp eax, ebx
je 0x4cd159
mov eax, dword [eax]
jmp 0x4cd15b
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 0x4cd214
lea eax, [ebp - 0xf0]
push eax
call fcn.00409ac6
mov esi, eax
mov byte [ebp - 4], 0xb
push str.ExecQuery_failed__
push esi
call fcn.0040fa1f
pop ecx
pop ecx
cmp esi, ebx
jne 0x4cd1a3
xor eax, eax
jmp 0x4cd1aa
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.0040d526
push str._in_updtWmiHelperClass::Initialize_
push esi
call fcn.0040fa1f
pop ecx
pop ecx
lea eax, [ebp - 0x2c]
push eax
mov eax, esi
call fcn.00409b30
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x4cd1ed
lea eax, [ebp - 0x2c]
xor ecx, ecx
push eax
inc ecx
call fcn.0047c666
pop ecx
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2c]
call fcn.004090d2
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0xf0]
call fcn.004021a3
jmp 0x4cd22d
push str.Begin_MoveNextRecord
push 4
pop ecx
call fcn.0047c666
pop ecx
mov ecx, edi
call fcn.004cd89f
test al, al
jne 0x4cd26a
mov byte [ebp - 4], 9
lea edi, [ebp - 0x4c]
call fcn.004ccbcf
mov byte [ebp - 4], bl
lea edi, [ebp - 0x50]
call fcn.004ccbcf
mov eax, dword [ebp - 0x58]
call fcn.004ccdc9
push str.Exit_updtWmiHelperClass::Initialize_with_error_n
push 4
pop ecx
call fcn.0047c666
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.004090d2
xor al, al
jmp 0x4cd29d
push str.Exit_updtWmiHelperClass::Initialize
push 4
pop ecx
call fcn.0047c666
pop ecx
mov byte [ebp - 4], 9
lea edi, [ebp - 0x4c]
call fcn.004ccbcf
mov byte [ebp - 4], bl
lea edi, [ebp - 0x50]
call fcn.004ccbcf
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.004090d2
mov al, 1
call fcn.0056cf18
ret 8