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

Disassembly:
push 0xe4
mov eax, 0x49e2e1
call fcn.0045201c
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x58], eax
call fcn.00401a80
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, dword [ebp - 0x44]
mov ecx, edi
call fcn.00421618
cmp dword [edi + 8], ebx
jge 0x4216dc
cmp dword [edi + 8], 0x80010106
jne 0x421a56
lea esi, [edi + 0x20]
push esi
push 0x4b36b4
push 1
push ebx
push 0x4b36a4
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x48], eax
test eax, eax
je 0x42177f
lea ecx, [ebp - 0xf0]
call fcn.00402a5a
mov esi, eax
mov byte [ebp - 4], 1
push str.CoCreateInstance_failed__
push esi
call fcn.0040508d
pop ecx
pop ecx
push fcn.004074c0
mov ecx, esi
call fcn.00407466
push dword [ebp - 0x48]
mov ecx, esi
call fcn.00403cf2
push str.__in_updtWmiHelperClass::Initialize_
push esi
call fcn.0040508d
pop ecx
pop ecx
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00402a43
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00402109
push eax
push 1
call fcn.00401235
pop ecx
pop ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.004020b0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0xf0]
call fcn.00402479
jmp 0x421a56
push dword [ebp - 0x54]
lea ecx, [ebp - 0x40]
call fcn.004016ad
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x40]
mov edi, dword [esi]
add eax, 0x24
push eax
push ebx
push ebx
mov esi, dword [edi]
push ebx
push ebx
push ebx
push ebx
mov dword [ebp - 0x54], eax
call fcn.00402109
mov ecx, dword [esi + 0xc]
push eax
push edi
call dword [0x4a4360]
call dword [esi + 0xc]
mov edi, eax
test edi, edi
jns 0x421858
lea ecx, [ebp - 0xf0]
call fcn.00402a5a
mov esi, eax
mov byte [ebp - 4], 3
push str.ConnectServer_failed__
push esi
call fcn.0040508d
pop ecx
pop ecx
push fcn.004074c0
mov ecx, esi
call fcn.00407466
push edi
mov ecx, esi
call fcn.00403cf2
push str.__in_updtWmiHelperClass::Initialize__Resource
push esi
call fcn.0040508d
pop ecx
pop ecx
lea ecx, [ebp - 0x40]
call fcn.00401634
push eax
lea ecx, [ebp - 0x40]
call fcn.00402109
push eax
push esi
call fcn.004057cf
add esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00402a43
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.00402109
push eax
push 1
call fcn.00401235
pop ecx
pop ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.004020b0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0xf0]
call fcn.00402479
jmp 0x421a53
mov eax, dword [ebp - 0x54]
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push dword [eax]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov edi, eax
test edi, edi
jns 0x4218dc
lea ecx, [ebp - 0xf0]
call fcn.00402a5a
mov esi, eax
mov byte [ebp - 4], 5
push str.CoSetProxyBlanket_failed__
push esi
call fcn.0040508d
pop ecx
pop ecx
push fcn.004074c0
mov ecx, esi
call fcn.00407466
push edi
mov ecx, esi
call fcn.00403cf2
push str._in_updtWmiHelperClass::Initialize_
push esi
call fcn.0040508d
pop ecx
pop ecx
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00402a43
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
call fcn.00402109
push eax
push 1
call fcn.00401235
pop ecx
pop ecx
mov byte [ebp - 4], 5
jmp 0x42183d
mov esi, dword [ebp - 0x58]
lea ecx, [ebp - 0x40]
push esi
call fcn.004016ad
push 0x4bf428
lea ecx, [ebp - 0x50]
call fcn.0040d550
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x4c]
push esi
call fcn.0040d550
mov byte [ebp - 4], 8
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x421914
mov eax, dword [edi]
mov dword [ebp - 0x48], eax
jmp 0x421917
mov dword [ebp - 0x48], ebx
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x421922
mov edx, dword [esi]
jmp 0x421924
mov edx, ebx
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x44]
add eax, 0x28
push eax
mov ebx, dword [ecx]
push 0
push 0x10
push dword [ebp - 0x48]
push edx
push ecx
mov ecx, dword [ebx + 0x50]
call dword [0x4a4360]
call dword [ebx + 0x50]
mov dword [ebp - 0x48], eax
test eax, eax
jns 0x4219c0
lea ecx, [ebp - 0xf0]
call fcn.00402a5a
mov ebx, eax
mov byte [ebp - 4], 9
push str.ExecQuery_failed__
push ebx
call fcn.0040508d
pop ecx
pop ecx
push fcn.004074c0
mov ecx, ebx
call fcn.00407466
push dword [ebp - 0x48]
mov ecx, ebx
call fcn.00403cf2
push str._in_updtWmiHelperClass::Initialize__Query
push ebx
call fcn.0040508d
push dword [ebp - 0x58]
push ebx
call fcn.0040508d
add esp, 0x10
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.00402a43
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x28]
call fcn.00402109
push eax
push 1
call fcn.00401235
pop ecx
pop ecx
mov byte [ebp - 4], 9
jmp 0x421a13
mov ecx, dword [ebp - 0x44]
call fcn.00421f1e
test al, al
jne 0x421a5f
lea ecx, [ebp - 0xf0]
call fcn.00402a5a
mov ebx, eax
mov byte [ebp - 4], 0xb
push str.updtWmiHelperClass::Initialize:_MoveNextRecord_failed_
push ebx
call fcn.0040508d
pop ecx
pop ecx
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.00402a43
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x28]
call fcn.00402109
push eax
push 1
call fcn.00401235
pop ecx
pop ecx
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x28]
call fcn.004020b0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xf0]
call fcn.00402479
mov byte [ebp - 4], 7
test edi, edi
je 0x421a40
mov ecx, edi
call fcn.0040d5e5
xor ebx, ebx
mov dword [ebp - 0x4c], ebx
jmp 0x421a42
xor ebx, ebx
mov byte [ebp - 4], bl
test esi, esi
je 0x421a53
mov ecx, esi
call fcn.0040d5e5
mov dword [ebp - 0x50], ebx
mov edi, dword [ebp - 0x44]
mov ecx, edi
call fcn.00421618
jmp 0x421a8a
mov byte [ebp - 4], 7
test edi, edi
je 0x421a75
mov ecx, edi
call fcn.0040d5e5
xor ebx, ebx
mov dword [ebp - 0x4c], ebx
jmp 0x421a77
xor ebx, ebx
mov byte [ebp - 4], bl
test esi, esi
je 0x421a88
mov ecx, esi
call fcn.0040d5e5
mov dword [ebp - 0x50], ebx
mov bl, 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004020b0
mov al, bl
call fcn.00451fc5
ret 8