Function at 0x42a590
Capabilities:
Connect to wmi namespace via wbemlocator
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4932a5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x54]
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0xb0]
call fcn.0041e210
lea ecx, [ebp - 0x54]
call fcn.00423200
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x10]
push ecx
push 0x4b1d74
push 1
push 0
push 0x4b1d64
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x42a65b
lea edx, [ebp - 0x54]
mov dword [ebp - 0x80], edx
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x88], ecx
mov edx, dword [ebp - 0x88]
push edx
movzx eax, byte [ebp - 0x2d]
push eax
mov ecx, dword [ebp + 8]
call fcn.0041d0e0
lea ecx, [ebp - 0x54]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00422ea0
mov edx, dword [ebp - 0x14]
or edx, 1
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.004230d0
mov eax, dword [ebp + 8]
jmp 0x42ab36
mov dword [ebp - 0x18], 0
push 0x4a2544
lea ecx, [ebp - 0x34]
call fcn.00429bf0
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x58]
cmp dword [ecx], 0
je 0x42a696
mov edx, dword [ebp - 0x58]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [ebp - 0x5c], ecx
jmp 0x42a69d
mov dword [ebp - 0x5c], 0
lea edx, [ebp - 0x18]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [eax + 0xc]
call ecx
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 0
cmp dword [ebp - 0x34], 0
je 0x42a6db
mov ecx, dword [ebp - 0x34]
call fcn.0042b700
mov dword [ebp - 0x34], 0
cmp dword [ebp - 0x20], 0
jge 0x42a750
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [eax + 8]
call edx
lea eax, [ebp - 0x54]
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0x94], ecx
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0x98], edx
mov eax, dword [ebp - 0x98]
push eax
movzx ecx, byte [ebp - 0x2e]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041d0e0
lea edx, [ebp - 0x54]
push edx
mov ecx, dword [ebp + 8]
call fcn.00422ea0
mov eax, dword [ebp - 0x14]
or eax, 1
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.004230d0
mov eax, dword [ebp + 8]
jmp 0x42ab36
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x42a7ee
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ecx + 8]
call eax
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x9c], ecx
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], edx
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
push ecx
movzx edx, byte [ebp - 0x2f]
push edx
mov ecx, dword [ebp + 8]
call fcn.0041d0e0
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [ebp + 8]
call fcn.00422ea0
mov ecx, dword [ebp - 0x14]
or ecx, 1
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.004230d0
mov eax, dword [ebp + 8]
jmp 0x42ab36
mov dword [ebp - 0x28], 0
push str.SELECT__FROM_Win32_OperatingSystem
lea ecx, [ebp - 0x3c]
call fcn.00429b40
mov dword [ebp - 0xa8], eax
mov edx, dword [ebp - 0xa8]
mov dword [ebp - 0x60], edx
mov byte [ebp - 4], 2
push 0x4a2580
lea ecx, [ebp - 0x38]
call fcn.00429b40
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x64], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x60]
cmp dword [ecx], 0
je 0x42a849
mov edx, dword [ebp - 0x60]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [ebp - 0x68], ecx
jmp 0x42a850
mov dword [ebp - 0x68], 0
mov edx, dword [ebp - 0x64]
cmp dword [edx], 0
je 0x42a864
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [ebp - 0x6c], edx
jmp 0x42a86b
mov dword [ebp - 0x6c], 0
lea eax, [ebp - 0x28]
push eax
push 0
push 0x30
mov ecx, dword [ebp - 0x68]
push ecx
mov edx, dword [ebp - 0x6c]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov eax, dword [edx + 0x50]
call eax
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x38], 0
je 0x42a8a5
mov ecx, dword [ebp - 0x38]
call fcn.0042b700
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x3c], 0
je 0x42a8be
mov ecx, dword [ebp - 0x3c]
call fcn.0042b700
mov dword [ebp - 0x3c], 0
cmp dword [ebp - 0x20], 0
jge 0x42a941
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [edx + 8]
call ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [eax + 8]
call edx
lea eax, [ebp - 0x54]
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0xb4], ecx
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0xec], edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xb8]
call fcn.0041e210
lea ecx, [ebp - 0x54]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00422ea0
mov edx, dword [ebp - 0x14]
or edx, 1
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.004230d0
mov eax, dword [ebp + 8]
jmp 0x42ab36
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x70], 0
cmp dword [ebp - 0x28], 0
je 0x42aa8b
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x24]
push ecx
push 1
push 0xffffffffffffffff
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [eax + 0x10]
call edx
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x70], 0
jne 0x42a981
jmp 0x42aa8b
cmp dword [ebp - 0x24], 0
je 0x42aa86
mov dword [ebp - 0x2c], 0
jmp 0x42a99d
mov eax, dword [ebp - 0x2c]
add eax, 2
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x14
jae 0x42aa52
lea ecx, [ebp - 0xe4]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 0
push 0
lea edx, [ebp - 0xe4]
push edx
push 0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax*4 + 0x4bf258]
push ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [eax + 0x10]
call edx
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
jl 0x42aa40
cmp dword [ebp - 0xdc], 0
je 0x42aa40
push 0x4a2584
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax*4 + 0x4bf258]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x42aa40
mov edx, dword [ebp - 0xdc]
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x78]
push eax
call fcn.00464b86
add esp, 4
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], ecx
mov edx, dword [ebp - 0xc0]
push edx
mov eax, dword [ebp - 0x78]
push eax
lea ecx, [ebp - 0x54]
call fcn.00401490
lea ecx, [ebp - 0xe4]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x42a994
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0xc4], edx
cmp dword [ebp - 0xc4], 0
jne 0x42aa6d
mov dword [ebp - 0x7c], 1
jmp 0x42aa74
mov dword [ebp - 0x7c], 0
mov al, byte [ebp - 0x7c]
mov byte [ebp - 0x19], al
movzx ecx, byte [ebp - 0x19]
test ecx, ecx
jne 0x42aa84
jmp 0x42aa8b
jmp 0x42aa8b
jmp 0x42a94f
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [edx + 8]
call ecx
cmp dword [ebp - 0x24], 0
je 0x42aac9
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [eax + 8]
call edx
lea eax, [ebp - 0x54]
mov dword [ebp - 0xd4], eax
mov ecx, dword [ebp - 0xd4]
mov dword [ebp - 0xcc], ecx
mov edx, dword [ebp - 0xcc]
mov dword [ebp - 0xe8], edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0xd0], eax
mov ecx, dword [ebp - 0xd0]
call fcn.0041e210
lea ecx, [ebp - 0x54]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00422ea0
mov edx, dword [ebp - 0x14]
or edx, 1
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.004230d0
mov eax, dword [ebp + 8]
jmp 0x42ab36
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret