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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x80
push ebx
push esi
xor esi, esi
push edi
mov edi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 8], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0xc], esi
call edi
lea eax, [ebp - 0x60]
push eax
call edi
lea eax, [ebp - 0x50]
push eax
call edi
or dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x10]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
test eax, eax
je 0x100c111
lea eax, [ebp - 0x6c]
push eax
push 0x1002284
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x100c12c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jle 0x100c125
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
jmp 0x100c3d2
push esi
push esi
push esi
lea eax, [ebp - 0x70]
push eax
push esi
push dword [ebp - 0x10]
mov dword [ebp - 0x70], 1
mov dword [ebp - 0x64], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x100c111
push 0x100227c
lea ecx, [ebp - 8]
call fcn.0100b895
mov edi, eax
cmp edi, esi
jne 0x100c3d2
cmp dword [ebp + 8], esi
je 0x100c186
mov eax, dword [ebp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, si
jne 0x100c171
sub eax, edx
sar eax, 1
je 0x100c186
push dword [ebp + 8]
jmp 0x100c18b
push 0x1002204
lea ecx, [ebp - 8]
call fcn.0100b895
mov edi, eax
cmp edi, esi
jne 0x100c3d2
push 0x1002264
lea ecx, [ebp - 8]
call fcn.0100b895
mov edi, eax
cmp edi, esi
jne 0x100c3d2
lea eax, [ebp - 0x28]
push eax
push 0x100234c
push 1
push esi
push 0x100241c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
cmp edi, esi
jne 0x100c3d2
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push esi
push esi
push 0x80
push esi
push esi
push esi
push dword [ebp - 8]
push eax
call dword [ecx + 0xc]
mov edi, eax
cmp edi, esi
jne 0x100c3d2
push esi
push esi
push 3
push 3
push 0xffffffffffffffff
push esi
push 0xffffffffffffffff
push dword [ebp - 4]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov edi, eax
cmp edi, esi
jne 0x100c3d2
mov edi, dword [ebp - 4]
push 0x1002238
lea ecx, [ebp + 8]
call fcn.0100b85e
mov eax, dword [eax]
mov ecx, dword [edi]
lea edx, [ebp - 0xc]
push edx
push esi
push 1
push eax
push edi
call dword [ecx + 0x48]
push dword [ebp + 8]
mov edi, eax
call ebx
cmp edi, esi
jne 0x100c3d2
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov edi, eax
jmp 0x100c3aa
mov edi, dword [ebp - 0x14]
push 0x10021c0
lea ecx, [ebp + 8]
call fcn.0100b85e
mov eax, dword [eax]
mov ecx, dword [edi]
push esi
push esi
lea edx, [ebp - 0x80]
push edx
push esi
push eax
push edi
call dword [ecx + 0x10]
push dword [ebp + 8]
mov edi, eax
call ebx
cmp edi, esi
jne 0x100c3d2
mov edi, dword [ebp - 4]
push 0x1002238
lea ecx, [ebp - 0x2c]
call fcn.0100b85e
mov eax, dword [eax]
mov ecx, dword [edi]
push esi
lea edx, [ebp - 0x24]
push edx
push esi
push esi
push eax
push edi
call dword [ecx + 0x18]
push dword [ebp - 0x2c]
mov edi, eax
call ebx
cmp edi, esi
jne 0x100c3d2
mov edi, dword [ebp - 0x24]
push 0x100221c
lea ecx, [ebp - 0x30]
call fcn.0100b85e
mov eax, dword [eax]
mov ecx, dword [edi]
push esi
lea edx, [ebp - 0x20]
push edx
push esi
push eax
push edi
call dword [ecx + 0x4c]
push dword [ebp - 0x30]
mov edi, eax
call ebx
cmp edi, esi
jne 0x100c3d2
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push esi
push eax
call dword [ecx + 0x3c]
mov edi, eax
cmp edi, esi
jne 0x100c3d2
mov edi, dword [ebp - 0x18]
push 3
pop eax
mov word [ebp - 0x60], ax
xor eax, eax
cmp dword [ebp + 0xc], esi
push 0x1002210
setne al
lea ecx, [ebp - 0x34]
inc eax
or eax, 4
mov dword [ebp - 0x58], eax
call fcn.0100b85e
mov eax, dword [eax]
mov ecx, dword [edi]
push esi
lea edx, [ebp - 0x60]
push edx
push esi
push eax
push edi
call dword [ecx + 0x14]
push dword [ebp - 0x34]
mov edi, eax
call ebx
cmp edi, esi
jne 0x100c3d2
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 4]
push 0x100221c
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x38], eax
call fcn.0100b85e
mov eax, dword [eax]
mov ecx, dword [edi]
push esi
lea edx, [ebp - 0x1c]
push edx
push dword [ebp - 0x38]
push esi
push esi
push eax
push dword [ebp - 0x78]
push edi
call dword [ecx + 0x60]
push dword [ebp - 0x3c]
mov edi, eax
call ebx
cmp edi, esi
jne 0x100c3d2
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push esi
push esi
lea edx, [ebp - 0x50]
push edx
push esi
push 0x10021d0
push eax
call dword [ecx + 0x10]
mov edi, eax
cmp edi, esi
jne 0x100c3d2
cmp word [ebp - 0x50], 3
jne 0x100c3cd
mov edi, dword [ebp - 0x48]
cmp edi, esi
jle 0x100c3ac
and edi, 0xffff
or edi, 0x80070000
cmp edi, esi
jne 0x100c3d2
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
lea edx, [ebp - 0x40]
push edx
lea edx, [ebp - 0x14]
push edx
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
test eax, eax
je 0x100c256
jmp 0x100c3d2
mov edi, 0x80004005
cmp dword [ebp - 0x10], 0xffffffff
je 0x100c3e1
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0xc]
cmp eax, esi
je 0x100c40c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
cmp eax, esi
je 0x100c419
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
cmp eax, esi
je 0x100c426
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
cmp eax, esi
je 0x100c433
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
cmp eax, esi
je 0x100c440
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
cmp eax, esi
je 0x100c44d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
cmp eax, esi
je 0x100c45a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x28]
cmp eax, esi
je 0x100c467
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 8]
call ebx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 8