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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x10042ae4
push eax
mov eax, 0x2c30
mov dword fs:[0], esp
call fcn.10021550
push ebx
push ebp
push esi
push edi
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x41]
mov byte [esp + 0x40], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor esi, esi
mov ebx, 1
push esi
push esi
stosb byte es:[edi], al
mov dword [esp + 0x28], esi
mov byte [esp + 0x1b], bl
call dword [sym.imp.ole32.dll_CoInitializeEx]
cmp eax, 0x80010106
je 0x1000b585
cmp eax, esi
jge 0x1000b58a
push eax
lea eax, [esp + 0x44]
push str.Failed_to_initialize_COM_library._Error_code__0x_X_r_n
push eax
call fcn.100208b9
add esp, 0xc
or eax, 0xffffffff
jmp 0x1000b901
mov byte [esp + 0x13], 0
push esi
push esi
push esi
push 3
push esi
push esi
or ebp, 0xffffffff
push esi
push ebp
push esi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
cmp eax, 0x80010119
je 0x1000b5cb
cmp eax, esi
jge 0x1000b5d0
push eax
lea ecx, [esp + 0x44]
push str.Failed_to_initialize_security._Error_code__0x_X_r_n
push ecx
call fcn.100208b9
add esp, 0xc
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 0xfffffffe
jmp 0x1000b901
mov byte [esp + 0x13], 0
lea edx, [esp + 0x18]
mov dword [esp + 0x18], esi
push edx
push 0x10045ff0
push ebx
push esi
push 0x100460b0
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, esi
jge 0x1000b612
push eax
lea eax, [esp + 0x44]
push str.Failed_to_create_IWbemLocator_object._Err_code__0x_X_r_n
push eax
call fcn.100208b9
add esp, 0xc
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 0xfffffffd
jmp 0x1000b901
push 0xc
mov dword [esp + 0x18], esi
call fcn.1003ba7d
mov edi, eax
add esp, 4
mov dword [esp + 0x1c], edi
cmp edi, esi
mov dword [esp + 0x2c48], esi
je 0x1000b65d
push str.ROOTCIMV2
mov dword [edi + 4], esi
mov dword [edi + 8], ebx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
cmp eax, esi
mov dword [edi], eax
jne 0x1000b65f
mov ecx, str.ROOTCIMV2
test ecx, ecx
je 0x1000b65f
push 0x8007000e
call fcn.1002d1e1
jmp 0x1000b65f
xor edi, edi
cmp edi, esi
mov dword [esp + 0x2c48], ebp
mov dword [esp + 0x1c], edi
jne 0x1000b678
push 0x8007000e
call fcn.1002d1e1
cmp edi, esi
mov dword [esp + 0x2c48], ebx
je 0x1000b687
mov ecx, dword [edi]
jmp 0x1000b689
xor ecx, ecx
mov eax, dword [esp + 0x18]
lea ebx, [esp + 0x14]
push ebx
push esi
mov edx, dword [eax]
push esi
push esi
push esi
push esi
push esi
push ecx
push eax
call dword [edx + 0xc]
cmp edi, esi
mov ebx, eax
mov dword [esp + 0x2c48], ebp
je 0x1000b6e0
lea eax, [edi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x1000b6e0
mov eax, dword [edi]
cmp eax, esi
je 0x1000b6c7
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [edi + 4]
cmp eax, esi
je 0x1000b6d7
push eax
call fcn.1003baa6
add esp, 4
push edi
call fcn.1003baa6
add esp, 4
cmp ebx, esi
jge 0x1000b711
push ebx
lea ecx, [esp + 0x44]
push str.Could_not_connect._Error_code__0x_X_r_n
push ecx
call fcn.100208b9
mov eax, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [eax]
push eax
call dword [edx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 0xfffffffc
jmp 0x1000b901
mov eax, dword [esp + 0x14]
push esi
push esi
push 3
push 3
push esi
push esi
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
cmp eax, esi
jge 0x1000b761
push eax
lea ecx, [esp + 0x44]
push str.Could_not_set_proxy_blanket._Error_code__0x_X_r_n
push ecx
call fcn.100208b9
mov eax, dword [esp + 0x20]
add esp, 0xc
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 0xfffffffb
jmp 0x1000b901
push 0xa
lea ecx, [esp + 0x28]
call fcn.1003a797
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x24]
push edx
push eax
mov dword [esp + 0x2c50], 2
call fcn.1000a510
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x2c]
push ecx
push edx
call fcn.1000aa40
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x34]
push eax
push ecx
call fcn.1000ad80
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x3c]
push edx
push eax
call fcn.1000b100
mov ecx, 0x9ff
xor eax, eax
lea edi, [esp + 0x461]
mov byte [esp + 0x460], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x48]
add esp, 0x20
xor ebx, ebx
cmp eax, esi
lea ebp, [esp + 0x440]
je 0x1000b8c7
jmp 0x1000b7ec
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov eax, dword [eax + 8]
cmp eax, esi
mov dword [esp + 0x1c], ecx
je 0x1000b88f
mov edx, eax
mov ecx, ebp
add ebp, 3
inc ebx
mov si, word [edx]
mov edi, ebp
mov word [ecx], si
lea esi, [eax + 3]
mov dl, byte [edx + 2]
add ebp, 0x41
mov byte [ecx + 2], dl
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
lea esi, [eax + 0x469]
mov ecx, 0x19
mov edi, ebp
add ebp, 0x64
rep movsd dword es:[edi], dword [esi]
lea esi, [eax + 0x4cd]
mov ecx, 0xc
mov edi, ebp
add ebp, 0x32
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea esi, [eax + 0x45]
mov ecx, 5
mov edi, ebp
add ebp, 0x14
rep movsd dword es:[edi], dword [esi]
lea esi, [eax + 0x59]
mov ecx, 5
mov edi, ebp
add ebp, 0x14
rep movsd dword es:[edi], dword [esi]
mov cl, byte [eax + 0x4ff]
lea esi, [eax + 0x500]
mov byte [ebp], cl
inc ebp
mov ecx, 0x40
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
push eax
add ebp, 0x100
call fcn.1003baa6
add esp, 4
xor esi, esi
cmp dword [esp + 0x1c], esi
jne 0x1000b7e8
cmp ebx, esi
jle 0x1000b8c7
mov edx, ebx
mov edi, dword [esp + 0x2c50]
shl edx, 8
add edx, ebx
lea esi, [esp + 0x440]
mov dword [esp + 0x20], ebx
lea ecx, [ebx + edx*2]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x18]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov al, byte [esp + 0x13]
test al, al
je 0x1000b8e9
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [esp + 0x24]
mov dword [esp + 0x2c48], 0xffffffff
call fcn.1003a7f6
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c40]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c3c
ret