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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011da99
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb4
push ebx
push esi
push edi
push 0x40
lea eax, [ebp - 0xc0]
mov byte [ebp - 0xd], 0
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x3c], esi
call fcn.100747a0
add esp, 0xc
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jns 0x100d926f
cmp eax, 0x80010119
jne 0x100d9693
lea eax, [ebp - 0x24]
push eax
push 0x10121610
push 1
push 0
push 0x101216e0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x100d9693
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x100d9693
mov eax, dword [eax]
push 0xc
mov edi, dword [eax + 0xc]
call fcn.100703c6
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x100d92de
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 0x100d96d6
jmp 0x100d92e0
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x20], esi
test esi, esi
je 0x100d96e0
lea eax, [ebp - 0x18]
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 - 0x24]
call edi
mov edi, eax
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
test eax, eax
jne 0x100d935e
mov eax, dword [esi]
test eax, eax
je 0x100d933c
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x100d9353
push eax
call fcn.100703c1
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.100703b3
add esp, 8
test edi, edi
js 0x100d9693
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x100d9693
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push ecx
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x100d9693
mov eax, dword [ebp - 0x18]
push 0xc
mov eax, dword [eax]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x20], eax
call fcn.100703c6
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 2
test esi, esi
je 0x100d93cf
push str.SELECT__FROM_Win32_PhysicalMemory
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call fcn.10071c30
mov dword [esi], eax
jmp 0x100d93d1
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x58], esi
test esi, esi
je 0x100d96ea
mov dword [ebp - 4], 3
mov eax, dword [esi]
push 0xc
mov dword [ebp - 0x1c], eax
call fcn.100703c6
mov edi, eax
add esp, 4
mov dword [ebp - 0x2c], edi
mov byte [ebp - 4], 4
test edi, edi
je 0x100d9422
push 0x10133fe4
mov dword [edi + 4], 0
mov dword [edi + 8], 1
call fcn.10071c30
mov dword [edi], eax
jmp 0x100d9424
xor edi, edi
mov byte [ebp - 4], 3
mov dword [ebp - 0x2c], edi
test edi, edi
je 0x100d96f4
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 5
push eax
push 0
push 0x30
push dword [ebp - 0x1c]
push dword [edi]
push dword [ebp - 0x18]
call dword [ebp - 0x20]
mov dword [ebp - 0x20], eax
lea eax, [edi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x100d948c
mov ecx, dword [edi]
test ecx, ecx
je 0x100d946a
push ecx
call ebx
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x100d9481
push eax
call fcn.100703c1
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.100703b3
add esp, 8
lea eax, [esi + 8]
mov dword [ebp - 4], 0xffffffff
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x100d94d2
mov eax, dword [esi]
test eax, eax
je 0x100d94b0
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x100d94c7
push eax
call fcn.100703c1
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.100703b3
add esp, 8
cmp dword [ebp - 0x20], 0
jl 0x100d9693
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x34], 0
test ecx, ecx
je 0x100d968f
nop
mov eax, dword [ecx]
lea edx, [ebp - 0x34]
push edx
lea edx, [ebp - 0x38]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x34], 0
je 0x100d968c
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x100d967d
mov eax, dword [ecx]
lea edx, [ebp - 0x80]
push 0
push 0
push edx
push 0
push str.Capacity
push ecx
call dword [eax + 0x10]
push dword [ebp - 0x78]
lea eax, [ebp - 0xc0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
mov dword [ebp - 0x44], 0
mov word [ebp - 0x54], ax
lea eax, [ebp - 0xc0]
mov dword [ebp - 0x40], 7
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100d9562
sub eax, edx
lea ecx, [ebp - 0x54]
sar eax, 1
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.1001a860
lea eax, [ebp - 0x54]
mov dword [ebp - 4], 6
push eax
lea ecx, [ebp - 0x70]
call fcn.1001cdf0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x40]
cmp edx, 8
jb 0x100d95d5
mov ecx, dword [ebp - 0x54]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100d95cb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d96fe
push edx
push ecx
call fcn.100703b3
add esp, 8
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
mov ebx, dword [ebp - 0x70]
xorps xmm0, xmm0
cmovae eax, ebx
movlpd qword [ebp - 0x30], xmm0
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x1c], eax
movzx eax, word [eax]
cmp eax, 0x30
jb 0x100d963d
nop dword [eax + eax]
movzx edx, ax
cmp ax, 0x39
ja 0x100d963d
mov eax, esi
mov ecx, edi
shld ecx, eax, 2
shl eax, 2
add esi, eax
mov eax, edx
cdq
adc edi, ecx
mov ecx, dword [ebp - 0x1c]
shld edi, esi, 1
add esi, esi
add esi, eax
movzx eax, word [ecx + 2]
adc edi, edx
add esi, 0xffffffd0
adc edi, 0xffffffff
add ecx, 2
mov dword [ebp - 0x1c], ecx
cmp eax, 0x30
jae 0x100d9600
mov eax, dword [ebp - 0x3c]
add dword [eax + 0x40], esi
adc dword [eax + 0x44], edi
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x100d967d
lea ecx, [eax*2 + 2]
mov eax, ebx
cmp ecx, 0x1000
jb 0x100d9673
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d96fe
push ecx
push ebx
call fcn.100703b3
add esp, 8
mov ecx, dword [ebp - 0x14]
test ecx, ecx
jne 0x100d94f0
mov bl, 1
jmp 0x100d9699
mov ecx, dword [ebp - 0x14]
mov bl, 1
jmp 0x100d9699
mov ecx, dword [ebp - 0x14]
mov bl, byte [ebp - 0xd]
test ecx, ecx
je 0x100d96a3
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x100d96b0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x100d96bd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 0x8007000e
call fcn.100719c0
push 0x8007000e
call fcn.100719c0
push 0x8007000e
call fcn.100719c0
push 0x8007000e
call fcn.100719c0
call fcn.1007e0fa
int3