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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10121479
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.10077450
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 0x100dbeff
cmp eax, 0x80010119
jne 0x100dc323
lea eax, [ebp - 0x24]
push eax
push 0x10125620
push 1
push 0
push 0x101256f0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x100dc323
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x100dc323
mov eax, dword [eax]
push 0xc
mov edi, dword [eax + 0xc]
call fcn.10073081
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x100dbf6e
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 0x100dc366
jmp 0x100dbf70
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x20], esi
test esi, esi
je 0x100dc370
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 0x100dbfee
mov eax, dword [esi]
test eax, eax
je 0x100dbfcc
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x100dbfe3
push eax
call fcn.1007307c
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1007306e
add esp, 8
test edi, edi
js 0x100dc323
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x100dc323
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 0x100dc323
mov eax, dword [ebp - 0x18]
push 0xc
mov eax, dword [eax]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x20], eax
call fcn.10073081
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 2
test esi, esi
je 0x100dc05f
push str.SELECT__FROM_Win32_PhysicalMemory
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call fcn.100748e0
mov dword [esi], eax
jmp 0x100dc061
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x58], esi
test esi, esi
je 0x100dc37a
mov dword [ebp - 4], 3
mov eax, dword [esi]
push 0xc
mov dword [ebp - 0x1c], eax
call fcn.10073081
mov edi, eax
add esp, 4
mov dword [ebp - 0x2c], edi
mov byte [ebp - 4], 4
test edi, edi
je 0x100dc0b2
push 0x10137ff4
mov dword [edi + 4], 0
mov dword [edi + 8], 1
call fcn.100748e0
mov dword [edi], eax
jmp 0x100dc0b4
xor edi, edi
mov byte [ebp - 4], 3
mov dword [ebp - 0x2c], edi
test edi, edi
je 0x100dc384
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 0x100dc11c
mov ecx, dword [edi]
test ecx, ecx
je 0x100dc0fa
push ecx
call ebx
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x100dc111
push eax
call fcn.1007307c
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.1007306e
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 0x100dc162
mov eax, dword [esi]
test eax, eax
je 0x100dc140
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x100dc157
push eax
call fcn.1007307c
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1007306e
add esp, 8
cmp dword [ebp - 0x20], 0
jl 0x100dc323
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x34], 0
test ecx, ecx
je 0x100dc31f
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 0x100dc31c
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x100dc30d
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 0x100dc1f2
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 0x100dc265
mov ecx, dword [ebp - 0x54]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100dc25b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100dc38e
push edx
push ecx
call fcn.1007306e
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 0x100dc2cd
nop dword [eax + eax]
movzx edx, ax
cmp ax, 0x39
ja 0x100dc2cd
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 0x100dc290
mov eax, dword [ebp - 0x3c]
add dword [eax + 0x40], esi
adc dword [eax + 0x44], edi
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x100dc30d
lea ecx, [eax*2 + 2]
mov eax, ebx
cmp ecx, 0x1000
jb 0x100dc303
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100dc38e
push ecx
push ebx
call fcn.1007306e
add esp, 8
mov ecx, dword [ebp - 0x14]
test ecx, ecx
jne 0x100dc180
mov bl, 1
jmp 0x100dc329
mov ecx, dword [ebp - 0x14]
mov bl, 1
jmp 0x100dc329
mov ecx, dword [ebp - 0x14]
mov bl, byte [ebp - 0xd]
test ecx, ecx
je 0x100dc333
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x100dc340
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x100dc34d
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.10074670
push 0x8007000e
call fcn.10074670
push 0x8007000e
call fcn.10074670
push 0x8007000e
call fcn.10074670
call fcn.10080da8
int3