Function at 0x402ca0
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x503820
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x543720]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea edx, [ebp - 0x30]
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x30], 0
call fcn.00405050
test eax, eax
je 0x402ee0
cmp dword [ebp - 0x34], 0
je 0x402ee0
cmp dword [ebp - 0x30], 0
je 0x402ee0
push str.SELECT__FROM_Win32_Processor
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x38], 0
call fcn.004029e0
mov esi, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
push 0x529960
call fcn.004029e0
mov byte [ebp - 4], 1
mov esi, dword [esi]
test esi, esi
je 0x402d3a
mov esi, dword [esi]
jmp 0x402d3c
xor esi, esi
mov eax, dword [eax]
test eax, eax
je 0x402d46
mov edx, dword [eax]
jmp 0x402d48
xor edx, edx
mov eax, dword [ebp - 0x30]
lea edi, [ebp - 0x38]
push edi
push 0
push 0x30
mov ecx, dword [eax]
push esi
push edx
push eax
call dword [ecx + 0x50]
mov esi, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00402b30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00402b30
test esi, esi
js 0x402ec8
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x402ec8
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x14], 0
nop
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 0x3c]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x14], 0
je 0x402ea0
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x50]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push 0x529964
push eax
call dword [ecx + 0x10]
push dword [ebp - 0x48]
lea ecx, [ebp - 0x54]
call fcn.00402a80
mov dword [ebp - 4], 2
mov esi, dword [eax]
test esi, esi
je 0x402e01
cmp dword [esi + 4], 0
jne 0x402dfc
push dword [esi]
call fcn.00502fa0
mov dword [esi + 4], eax
mov edx, dword [esi + 4]
jmp 0x402e03
xor edx, edx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
cmp byte [edx], 0
jne 0x402e2c
xor eax, eax
jmp 0x402e3a
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402e31
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x2c]
call fcn.00402090
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x54]
call fcn.00402b30
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebx + 4]
call fcn.004031d0
lea eax, [ebp - 0x50]
push eax
call edi
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 0x10
jb 0x402e83
push dword [ebp - 0x2c]
call fcn.004e03e4
add esp, 4
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
test ecx, ecx
jne 0x402da0
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
jmp 0x402ee2
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e03e9
mov esp, ebp
pop ebp
ret