Function at 0x4212b0
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x449e90
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x45e4b8]
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 edi, ecx
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x18]
push str.SELECT__FROM_Win32_ComputerSystem
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x1c], 0
call fcn.00420fc0
mov esi, eax
push ecx
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0
call fcn.00420f20
mov byte [ebp - 4], 1
mov esi, dword [esi]
test esi, esi
je 0x42131d
mov esi, dword [esi]
jmp 0x42131f
xor esi, esi
mov eax, dword [eax]
test eax, eax
je 0x421329
mov edx, dword [eax]
jmp 0x42132b
xor edx, edx
mov eax, dword [edi + 4]
lea edi, [ebp - 0x1c]
push edi
push 0
push 0x30
mov ecx, dword [eax]
push esi
push edx
push eax
call dword [ecx + 0x50]
mov esi, dword [ebp - 0x24]
test eax, eax
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
setne byte [ebp - 0x1d]
test esi, esi
je 0x42139b
lea eax, [esi + 8]
push eax
call ebx
test eax, eax
jne 0x421394
test esi, esi
je 0x421394
mov eax, dword [esi]
test eax, eax
je 0x421374
push eax
call edi
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x42138b
push eax
call fcn.0042980d
add esp, 4
mov dword [esi + 4], 0
push esi
call fcn.00429834
add esp, 4
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x4213e6
lea eax, [esi + 8]
push eax
call ebx
test eax, eax
jne 0x4213e6
test esi, esi
je 0x4213e6
mov eax, dword [esi]
test eax, eax
je 0x4213c6
push eax
call edi
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x4213dd
push eax
call fcn.0042980d
add esp, 4
mov dword [esi + 4], 0
push esi
call fcn.00429834
add esp, 4
cmp byte [ebp - 0x1d], 0
je 0x4213f3
xor al, al
jmp 0x4214c4
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 0x18]
mov byte [ebp - 0x1d], 1
push edx
xor esi, esi
push 1
mov dword [ebp - 0x14], esi
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
mov dword [ebp - 0x24], esi
call dword [ecx + 0x10]
mov ecx, eax
cmp ecx, 1
je 0x4214ad
nop
test ecx, ecx
jne 0x4214a9
mov edx, dword [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.004210d0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4214a0
push dword [ebp - 0x30]
push 2
push ebx
call fcn.004214f0
add esp, 0xc
mov byte [ebp - 0x1e], al
mov esi, 2
lea edi, [ebx + 0x20]
sub edi, 0x10
push edi
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
dec esi
jne 0x421456
push ebx
call fcn.0042980d
mov eax, dword [ebp - 0x18]
add esp, 4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [ebp - 0x24]
inc esi
cmp byte [ebp - 0x1e], 0
mov dword [ebp - 0x24], esi
je 0x4214ad
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [eax]
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
mov ecx, eax
cmp ecx, 1
jne 0x421420
jmp 0x4214ad
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov byte [ebp - 0x1d], 0
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
movzx eax, byte [ebp - 0x1d]
test esi, esi
mov ecx, 1
cmovg eax, ecx
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.00428e73
mov esp, ebp
pop ebp
ret 0x14