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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003c86a
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x80
mov eax, dword [0x1004f054]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov esi, eax
test esi, esi
jns 0x10011081
mov edx, str.Failed_to_initialize_COM_library._Error_code:
mov ecx, 0x100503f0
call fcn.10005a80
push esi
mov ecx, eax
call fcn.10011c80
push eax
call fcn.10005d20
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10017373
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov esi, eax
test esi, esi
jns 0x100110c7
mov edx, str.Failed_to_initialize_security._Error_code:
mov ecx, 0x100503f0
call fcn.10005a80
push esi
mov ecx, eax
call fcn.10011c80
push eax
call fcn.10005d20
add esp, 4
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x10011061
lea eax, [ebp - 0x64]
mov dword [ebp - 0x64], 0
push eax
push 0x1003d3d0
push 1
push 0
push 0x1003d3e0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jns 0x100110f3
mov edx, str.Failed_to_create_IWbemLocator_object._Error_code:
jmp 0x100110a4
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], 0
push 0xc
mov eax, dword [eax]
mov edi, dword [eax + 0xc]
call fcn.10017643
mov esi, eax
add esp, 4
mov dword [ebp - 0x60], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x10011141
push str.ROOTCIMV2
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
je 0x100115d7
jmp 0x10011143
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x60], esi
test esi, esi
je 0x100115d7
lea eax, [ebp - 0x68]
mov dword [ebp - 4], 1
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [esi]
push dword [ebp - 0x64]
call edi
mov edi, eax
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
lock xadd dword [esi + 8], ecx
dec ecx
jne 0x100111bc
mov ecx, dword [esi]
test ecx, ecx
je 0x1001119a
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x100111b1
push eax
call fcn.100179be
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1001798d
add esp, 8
test edi, edi
jns 0x100111f4
mov edx, str.Failed_to_connect_to_WMI_namespace._Error_code:
mov ecx, 0x100503f0
call fcn.10005a80
push edi
mov ecx, eax
call fcn.10011c80
push eax
call fcn.10005d20
mov eax, dword [ebp - 0x64]
add esp, 4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x10011061
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x6c], 0
push 0xc
mov eax, dword [eax]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x60], eax
call fcn.10017643
mov esi, eax
add esp, 4
mov dword [ebp - 0x7c], esi
mov dword [ebp - 4], 2
test esi, esi
je 0x1001123c
push str.SELECT__FROM_Win32_OperatingSystem
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call fcn.10018580
mov dword [esi], eax
jmp 0x1001123e
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x80], esi
test esi, esi
je 0x100115d7
mov dword [ebp - 4], 3
mov eax, dword [esi]
push 0xc
mov dword [ebp - 0x7c], eax
call fcn.10017643
mov edi, eax
add esp, 4
mov dword [ebp - 0x74], edi
mov byte [ebp - 4], 4
test edi, edi
je 0x1001128f
push 0x10049110
mov dword [edi + 4], 0
mov dword [edi + 8], 1
call fcn.10018580
mov dword [edi], eax
jmp 0x10011291
xor edi, edi
mov byte [ebp - 4], 3
mov dword [ebp - 0x74], edi
test edi, edi
je 0x100115e1
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 5
push eax
push 0
push 0x30
push dword [ebp - 0x7c]
push dword [edi]
push dword [ebp - 0x68]
call dword [ebp - 0x60]
mov dword [ebp - 0x60], eax
or eax, 0xffffffff
mov ecx, eax
lock xadd dword [edi + 8], ecx
dec ecx
jne 0x100112ff
mov ecx, dword [edi]
test ecx, ecx
je 0x100112da
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x100112f1
push eax
call fcn.100179be
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.1001798d
add esp, 8
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
jne 0x10011343
mov eax, dword [esi]
test eax, eax
je 0x10011321
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x10011338
push eax
call fcn.100179be
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1001798d
add esp, 8
mov esi, dword [ebp - 0x60]
test esi, esi
jns 0x10011387
mov edx, str.Query_for_operating_system_information_failed._Error_code:
mov ecx, 0x100503f0
call fcn.10005a80
push esi
mov ecx, eax
call fcn.10011c80
push eax
call fcn.10005d20
mov eax, dword [ebp - 0x68]
add esp, 4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x64]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x10011061
push 0
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
push 0x10048cf8
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.10002a00
mov dword [ebp - 4], 6
mov ecx, dword [ebp - 0x6c]
test ecx, ecx
je 0x10011552
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ecx]
lea edx, [ebp - 0x78]
push edx
lea edx, [ebp - 0x70]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x78], 0
je 0x10011552
mov ecx, dword [ebp - 0x70]
lea edx, [ebp - 0x90]
push 0
push 0
push edx
mov eax, dword [ecx]
push 0
push 0x10049114
push ecx
call dword [eax + 0x10]
test eax, eax
js 0x10011535
cmp word [ebp - 0x90], 8
jne 0x1001151d
push dword [ebp - 0x88]
call fcn.10018460
mov edx, eax
mov dword [ebp - 0x44], 0
mov ecx, edx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10011450
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.10002a00
mov byte [ebp - 4], 7
lea eax, [ebp - 0x44]
mov ecx, 0xe
mov dword [ebp - 0x5c], 0
cmp dword [ebp - 0x34], ecx
mov dword [ebp - 0x4c], 0
cmovb ecx, dword [ebp - 0x34]
cmp dword [ebp - 0x30], 0x10
push ecx
cmovae eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x5c]
push eax
mov dword [ebp - 0x48], 0xf
call fcn.10002a00
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x100114d1
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100114c7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100115eb
push edx
push ecx
call fcn.1001798d
add esp, 8
movups xmm0, xmmword [ebp - 0x5c]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [ebp - 0x4c]
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x30]
movq qword [ebp - 0x1c], xmm0
cmp edx, 0x10
jb 0x10011535
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10011511
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100115eb
push edx
push ecx
call fcn.1001798d
add esp, 8
jmp 0x10011535
mov edx, str.InstallDate_property_is_not_a_string.
mov ecx, 0x100503f0
call fcn.10005a80
push eax
call fcn.10005d20
add esp, 4
lea eax, [ebp - 0x90]
push eax
call edi
mov eax, dword [ebp - 0x70]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x6c]
test ecx, ecx
jne 0x100113d5
mov eax, dword [ebp - 0x68]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x64]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x6c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x1c]
inc eax
push eax
call fcn.100179cc
mov edi, dword [ebp - 0x18]
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x2c]
add esp, 4
cmp edi, 0x10
mov dword [ebp - 0x60], eax
mov esi, eax
cmovae ecx, edx
sub esi, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [esi + ecx - 1], al
test al, al
jne 0x10011596
cmp edi, 0x10
jb 0x100115cf
lea ecx, [edi + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x100115c5
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100115eb
push ecx
push edx
call fcn.1001798d
add esp, 8
mov eax, dword [ebp - 0x60]
jmp 0x10011063
push 0x8007000e
call fcn.10018440
push 0x8007000e
call fcn.10018440
call fcn.1001f428
int3