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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10046e2c
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x1005a280]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x50], esi
xor edi, edi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x68], eax
push 2
push edi
mov dword [ebp - 4], edi
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x100176e9
push edi
push edi
push edi
push 3
push edi
push edi
push edi
push 0xffffffffffffffff
push edi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jns 0x10017717
push str._COM.
push 0x1005c9d0
call fcn.10002770
push eax
call fcn.10014d30
add esp, 0xc
call dword [sym.imp.ole32.dll_CoUninitialize]
xorps xmm0, xmm0
mov eax, esi
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 1
mov dword [esi + 0x14], 0xf
mov word [esi], 0x4e
jmp 0x10017c19
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push eax
push 0x1004c008
push 1
push 0
push 0x1004c018
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x10017741
push str.__IWbemLocator.
jmp 0x100176d0
push 0xc
mov dword [ebp - 0x2c], 0
call fcn.10027895
mov esi, eax
add esp, 4
mov dword [ebp - 0x50], esi
mov byte [ebp - 4], 1
test esi, esi
je 0x10017784
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 0x10017c34
jmp 0x10017786
xor esi, esi
mov byte [ebp - 4], 0
mov dword [ebp - 0x4c], esi
test esi, esi
je 0x10017c3e
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
push edx
push 0
push 0
mov ecx, dword [eax]
push 0
push 0
push 0
push 0
push dword [esi]
mov byte [ebp - 4], 2
push eax
call dword [ecx + 0xc]
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0
mov esi, eax
call fcn.10015260
test esi, esi
jns 0x1001781c
push str._SecurityCenter2.
push 0x1005c9d0
call fcn.10002770
push eax
call fcn.10014d30
add esp, 0xc
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x38]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 1
mov dword [eax + 0x14], 0xf
mov word [eax], 0x4e
jmp 0x10017c19
push str.SELECT__FROM_AntiVirusProduct
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x34], 0
call fcn.10015120
mov esi, eax
push 0x1004acd8
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 3
call fcn.10015120
mov ecx, dword [esi]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x10017851
mov esi, dword [ecx]
jmp 0x10017853
xor esi, esi
mov eax, dword [eax]
test eax, eax
je 0x1001785d
mov edx, dword [eax]
jmp 0x1001785f
xor edx, edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x2c]
push 0
push 0x30
push esi
push edx
push eax
call dword [ecx + 0x50]
lea ecx, [ebp - 0x4c]
mov esi, eax
call fcn.10015260
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0
call fcn.10015260
test esi, esi
jns 0x100178b5
push str.__WQL.
push 0x1005c9d0
call fcn.10002770
push eax
call fcn.10014d30
mov eax, dword [ebp - 0x2c]
add esp, 0xc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x100177de
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x64], 0
test ecx, ecx
je 0x10017a08
nop
mov eax, dword [ecx]
lea edx, [ebp - 0x64]
push edx
lea edx, [ebp - 0x40]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x64], 0
je 0x10017a00
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x60]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.displayName
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x100179e2
cmp word [ebp - 0x60], 8
jne 0x100179e2
mov edx, dword [ebp - 0x58]
xorps xmm0, xmm0
mov ecx, edx
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10017934
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.1000fbb0
mov byte [ebp - 4], 5
cmp edi, dword [ebp - 0x48]
je 0x1001798e
xorps xmm0, xmm0
xor eax, eax
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov ecx, 7
movups xmm0, xmmword [ebp - 0x28]
mov dword [edi + 0x14], 0
mov word [ebp - 0x28], ax
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [edi + 0x10], xmm0
add edi, 0x18
mov dword [ebp - 0x6c], edi
jmp 0x100179a7
lea eax, [ebp - 0x28]
push eax
push edi
lea ecx, [ebp - 0x70]
call fcn.10014570
mov eax, dword [ebp - 0x68]
mov edi, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 0
cmp ecx, 7
jbe 0x100179e2
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100179d8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10017c48
push ecx
push edx
call fcn.100278c5
add esp, 8
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x34]
test ecx, ecx
jne 0x100178d0
mov esi, dword [ebp - 0x70]
mov dword [ebp - 0x44], esi
jmp 0x10017a0a
xor esi, esi
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
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 dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov byte [ebp - 4], 6
cmp esi, edi
je 0x10017b02
cmp dword [esi + 0x14], 7
mov edx, esi
jbe 0x10017a54
mov edx, dword [esi]
mov ecx, edx
jmp 0x10017a56
mov ecx, esi
mov eax, dword [esi + 0x10]
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x39]
push ecx
push eax
push edx
lea ecx, [ebp - 0x28]
call fcn.10014360
mov ecx, eax
mov eax, dword [ebp - 0x58]
mov byte [ebp - 4], 7
cmp eax, dword [ebp - 0x54]
je 0x10017ab5
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movups xmm0, xmmword [ecx]
movups xmmword [eax], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [eax + 0x10], xmm0
add eax, 0x18
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
mov dword [ebp - 0x58], eax
jmp 0x10017abf
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.1000fc50
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 6
cmp ecx, 0xf
jbe 0x10017af7
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10017aed
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10017c48
push ecx
push edx
call fcn.100278c5
add esp, 8
add esi, 0x18
cmp esi, edi
jne 0x10017a46
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x38]
call fcn.100154c0
mov esi, dword [ebp - 0x5c]
add esp, 8
test esi, esi
je 0x10017b6c
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x58]
push esi
call fcn.1000ab10
mov ecx, dword [ebp - 0x54]
mov eax, 0x2aaaaaab
sub ecx, esi
add esp, 0xc
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x10017b62
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10017c48
push ecx
push esi
call fcn.100278c5
add esp, 8
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x10017c16
mov esi, eax
cmp esi, edi
je 0x10017bd3
nop dword [eax]
mov ecx, dword [esi + 0x14]
cmp ecx, 7
jbe 0x10017bb9
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x10017baf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10017c48
mov eax, edx
push ecx
push eax
call fcn.100278c5
add esp, 8
xor ecx, ecx
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], cx
add esi, 0x18
cmp esi, edi
jne 0x10017b80
mov esi, dword [ebp - 0x44]
mov eax, 0x2aaaaaab
mov ecx, dword [ebp - 0x48]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x10017c0c
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10017c48
push ecx
push esi
call fcn.100278c5
add esp, 8
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100278e1
mov esp, ebp
pop ebp
ret
push 0x8007000e
call fcn.10027530
push 0x8007000e
call fcn.10027530
call fcn.1002caaf
int3