Function at 0x10002130
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10045cbe
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x1005e068]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x18], ebx
push 0xc
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
call fcn.1001f7fe
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c], esi
mov byte [ebp - 4], 1
test esi, esi
je 0x100021a1
push str.SELECT__FROM_Win32_OperatingSystem
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call fcn.100208d0
mov dword [esi], eax
jmp 0x100021a3
xor esi, esi
mov byte [ebp - 4], 0
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x10002391
push 0xc
mov byte [ebp - 4], 2
call fcn.1001f7fe
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
mov byte [ebp - 4], 3
test edi, edi
je 0x100021e9
push 0x10055b0c
mov dword [edi + 4], 0
mov dword [edi + 8], 1
call fcn.100208d0
mov dword [edi], eax
jmp 0x100021eb
xor edi, edi
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], edi
test edi, edi
je 0x1000239b
lea edx, [ebp - 0x14]
mov byte [ebp - 4], 4
mov eax, dword [ebx + 4]
push edx
push 0
push 0x30
push dword [esi]
mov ecx, dword [eax]
push dword [edi]
push eax
call dword [ecx + 0x50]
or ebx, 0xffffffff
mov dword [ebp - 0x1c], eax
mov ecx, ebx
lock xadd dword [edi + 8], ecx
dec ecx
jne 0x10002258
mov eax, dword [edi]
test eax, eax
je 0x10002236
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x1000224d
push eax
call fcn.1001fdc6
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.1001f82e
add esp, 8
mov byte [ebp - 4], 0
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x10002299
mov eax, dword [esi]
test eax, eax
je 0x10002277
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1000228e
push eax
call fcn.1001fdc6
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1001f82e
add esp, 8
cmp dword [ebp - 0x1c], 0
jl 0x100023a5
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ebx, dword [ebp - 0x18]
nop dword [eax]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x10002345
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
mov eax, dword [ecx]
push edx
lea edx, [ebp - 0x18]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x1c], 0
je 0x10002342
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x10002337
mov eax, dword [ecx]
lea edx, [ebp - 0x40]
push 0
push 0
push edx
push 0
push str.Caption
push ecx
call dword [eax + 0x10]
push dword [ebp - 0x38]
lea ecx, [ebx + 8]
call fcn.100074c0
lea eax, [ebp - 0x40]
push eax
call edi
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x10002337
mov eax, dword [ecx]
lea edx, [ebp - 0x50]
push 0
push 0
push edx
push 0
push str.OSArchitecture
push ecx
call dword [eax + 0x10]
push dword [ebp - 0x48]
lea ecx, [ebx + 8]
call fcn.100074c0
lea eax, [ebp - 0x50]
push eax
call edi
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
jmp 0x100022b0
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x10002356
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x8007000e
call fcn.100208b0
push 0x8007000e
call fcn.100208b0
push str.ExecQuery___error.
lea ecx, [ebp - 0x2c]
call fcn.10001ec0
push 0x1005b5dc
lea eax, [ebp - 0x2c]
push eax
call fcn.100219c7
int3