Function at 0x10012600
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10042d12
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
push edi
mov edi, ecx
push 2
mov dword [ebp - 0x40], edi
push 0
mov dword [ebp - 0x34], 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x10012662
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0x10045360
push 1
push 0
push 0x10045370
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1001269a
call dword [sym.imp.ole32.dll_CoUninitialize]
xorps xmm0, xmm0
mov eax, edi
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 1
mov dword [edi + 0x14], 0xf
mov word [edi], 0x4e
pop edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push esi
push 0xc
mov dword [ebp - 0x1c], 0
call fcn.10024bba
mov esi, eax
add esp, 4
mov dword [ebp - 0x3c], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x100126e1
push str.rootSecurityCenter2
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 0x10012c56
jmp 0x100126e3
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x3c], esi
test esi, esi
je 0x10012c56
lea edx, [ebp - 0x1c]
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x14]
push edx
push 0
push 0
mov ecx, dword [eax]
push 0
push 0
push 0
push 0
push dword [esi]
push eax
call dword [ecx + 0xc]
mov dword [ebp - 0x30], eax
or ecx, 0xffffffff
mov dword [ebp - 4], 0xffffffff
lock xadd dword [esi + 8], ecx
dec ecx
jne 0x10012764
mov ecx, dword [esi]
test ecx, ecx
je 0x1001273f
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x10012756
push eax
call fcn.10024bb5
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.10024bea
mov eax, dword [ebp - 0x30]
add esp, 8
test eax, eax
js 0x10012854
push str.Select__From_AntivirusProduct
mov dword [ebp - 0x24], 0
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push 0xc
mov dword [ebp - 0x28], eax
call fcn.10024bba
mov esi, eax
add esp, 4
mov dword [ebp - 0x3c], esi
mov dword [ebp - 4], 2
test esi, esi
je 0x100127c0
push 0x1004e72c
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 0x10012c60
jmp 0x100127c2
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x3c], esi
test esi, esi
je 0x10012c56
lea edx, [ebp - 0x24]
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x1c]
push edx
push 0
push 0x20
push dword [ebp - 0x28]
mov ecx, dword [eax]
push dword [esi]
push eax
call dword [ecx + 0x50]
mov dword [ebp - 0x30], eax
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
jne 0x1001283b
mov ecx, dword [esi]
test ecx, ecx
je 0x10012819
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x10012830
push eax
call fcn.10024bb5
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.10024bea
add esp, 8
push dword [ebp - 0x28]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [ebp - 0x30]
test ecx, ecx
jns 0x1001289c
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
xorps xmm0, xmm0
mov eax, edi
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 1
mov dword [edi + 0x14], 0xf
pop esi
mov word [edi], 0x4e
pop edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 0x20], 0
xor esi, esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 4
test ecx, ecx
jne 0x10012a72
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push edx
push 1
mov dword [ebp - 0x20], 0
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x10012a5f
cmp dword [ebp - 0x20], eax
je 0x10012a5f
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x5c]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.displayName
push eax
call dword [ecx + 0x10]
mov dword [ebp - 0x30], eax
test eax, eax
js 0x10012a40
cmp word [ebp - 0x5c], 8
jne 0x10012a40
push dword [ebp - 0x54]
lea ecx, [ebp - 0x74]
call fcn.10010b40
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x74]
cmp dword [ebp - 0x60], 7
mov eax, dword [ebp - 0x64]
cmova ecx, dword [ebp - 0x74]
seta byte [ebp - 0xd]
cmp byte [ebp - 0xd], 0
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x74]
cmovne ecx, dword [ebp - 0x74]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x8c]
call fcn.10011340
mov byte [ebp - 4], 6
cmp esi, dword [ebp - 0x28]
je 0x100129b4
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
add esi, 0x18
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov dword [ebp - 0x48], esi
jmp 0x100129c7
push eax
push esi
lea ecx, [ebp - 0x4c]
call fcn.100119d0
mov eax, dword [ebp - 0x44]
mov esi, dword [ebp - 0x48]
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x78]
cmp ecx, 0xf
jbe 0x10012a02
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100129f8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012c6a
push ecx
push edx
call fcn.10024bea
add esp, 8
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x60]
cmp ecx, 7
jbe 0x10012a40
mov edx, dword [ebp - 0x74]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10012a36
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012c6a
push ecx
push edx
call fcn.10024bea
add esp, 8
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0x30], 0
je 0x100128c5
jmp 0x10012a6c
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x10012a6c
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov byte [ebp - 4], 7
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x18]
mov eax, ecx
mov dword [ebp - 0x34], 2
mov dword [ebp - 0x30], ecx
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
cmp eax, esi
je 0x10012b9b
push 0x1004e76c
mov edx, eax
lea ecx, [ebp - 0x8c]
call fcn.10014610
add esp, 4
mov dword [ebp - 4], 8
mov edx, eax
cmp dword [eax + 0x14], 0xf
jbe 0x10012af9
mov edx, dword [eax]
mov ecx, dword [eax + 0x10]
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [edi + 0x14]
sub eax, dword [ebp - 0x2c]
mov dword [ebp - 0x38], ecx
cmp ecx, eax
ja 0x10012b3b
cmp dword [edi + 0x14], 0xf
mov esi, dword [ebp - 0x2c]
lea eax, [esi + ecx]
mov dword [edi + 0x10], eax
mov eax, edi
jbe 0x10012b22
mov eax, dword [edi]
push ecx
add esi, eax
push edx
push esi
call fcn.10026350
mov eax, dword [ebp - 0x38]
add esp, 0xc
mov byte [esi + eax], 0
mov esi, dword [ebp - 0x48]
jmp 0x10012b4c
push ecx
push edx
mov byte [ebp - 0x3c], 0
push dword [ebp - 0x3c]
push ecx
mov ecx, edi
call fcn.10003430
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x78]
cmp ecx, 0xf
jbe 0x10012b87
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10012b7d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012c6a
push ecx
push edx
call fcn.10024bea
add esp, 8
mov eax, dword [ebp - 0x30]
add eax, 0x18
mov dword [ebp - 0x30], eax
cmp eax, esi
jne 0x10012ad3
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x10012c44
mov eax, ecx
mov dword [ebp - 0x30], ecx
cmp eax, esi
je 0x10012c04
nop dword [eax]
mov ecx, dword [eax + 0x14]
cmp ecx, 0xf
jbe 0x10012be6
mov eax, dword [eax]
inc ecx
cmp ecx, 0x1000
jb 0x10012bd9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012c6a
mov eax, edx
push ecx
push eax
call fcn.10024bea
mov eax, dword [ebp - 0x30]
add esp, 8
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
add eax, 0x18
mov dword [ebp - 0x30], eax
cmp eax, esi
jne 0x10012bb0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
mov eax, 0x2aaaaaab
sub edx, ecx
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*2]
mov eax, ecx
shl edx, 3
cmp edx, 0x1000
jb 0x10012c3a
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012c6a
push edx
push ecx
call fcn.10024bea
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop esi
pop edi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x8007000e
call fcn.100249e0
push 0x8007000e
call fcn.100249e0
call fcn.1002b8d6
int3