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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10136551
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x1017455c]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push esi
push edi
mov eax, dword [0x1017455c]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov edi, ecx
mov esi, edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x2c], esi
cmp eax, ebx
je 0x1010b5a8
push ebx
mov byte [eax], bl
push ebx
mov dword [esi], 1
call dword [sym.imp.ole32.dll_CoInitializeEx]
cmp eax, 0x80070057
je 0x1010b5af
cmp eax, 0x8007000e
je 0x1010b5af
cmp eax, 0x8000ffff
je 0x1010b5af
cmp eax, 0x80010106
je 0x1010b5af
cmp eax, ebx
jge 0x1010b5af
push eax
push str._GEN__Failed_to_initialize_COM_library._Error_code__0x_x
push edi
call fcn.1010d6a8
add esp, 0xc
xor eax, eax
jmp 0x1010b99d
push ebx
push ebx
push ebx
push 3
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push ebx
mov dword [esi], 2
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
cmp eax, ebx
mov dword [esi], 4
jge 0x1010b5f3
cmp eax, 0x80010119
je 0x1010b5f3
push eax
push str._GEN__Failed_to_initialize_security._Error_code__0x_x
push edi
call fcn.1010d6a8
add esp, 0xc
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
jmp 0x1010b99d
lea eax, [esp + 0x18]
push eax
push 0x1013f678
push 1
push ebx
push 0x1013f748
mov dword [esi], 5
mov dword [esp + 0x2c], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
mov dword [esi], 6
jge 0x1010b627
push eax
push str._GEN__CoCreateInstance_of_CLSID_WbemLocator_Failed._Error_code__0x_x
jmp 0x1010b5dd
lea ecx, [esp + 0x14]
push ecx
mov edi, str.ROOTCIMV2
mov dword [esp + 0x20], ebx
mov dword [esi], 7
call fcn.1010b090
mov dword [esp + 0x260], ebx
mov eax, dword [eax]
cmp eax, ebx
je 0x1010b651
mov ecx, dword [eax]
jmp 0x1010b653
xor ecx, ecx
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
lea edi, [esp + 0x1c]
push edi
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ecx
push eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [esp + 0x14]
mov ebx, eax
mov dword [esp + 0x260], 0xffffffff
call fcn.1010b130
test ebx, ebx
jge 0x1010b6b9
mov ecx, dword [esp + 0x20]
push ebx
push str._GEN__Could_not_ConnectServer._Error_code__0x_x
push ecx
call fcn.1010d6a8
mov eax, dword [esp + 0x24]
add esp, 0xc
test eax, eax
je 0x1010b5e6
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
jmp 0x1010b99d
mov ecx, dword [esp + 0x1c]
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push ecx
mov dword [esi], 8
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jge 0x1010b720
mov edx, dword [esp + 0x20]
push eax
push str._GEN__Could_not_CoSetProxyBlanket._Error_code__0x_x
push edx
call fcn.1010d6a8
add esp, 0xc
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1010b6ff
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1010b5e6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
jmp 0x1010b99d
push str.win32_computersystemproduct
lea eax, [esp + 0x48]
push str.SELECT__FROM__s
push eax
mov dword [esp + 0x1c], 0
mov dword [esi], 0xa
call fcn.1010d6a8
add esp, 0xc
lea ecx, [esp + 0x44]
push ecx
lea ebx, [esp + 0x2c]
call fcn.1010b000
mov edi, eax
push 0x10169470
lea ebx, [esp + 0x18]
mov dword [esp + 0x264], 1
call fcn.1010b000
mov byte [esp + 0x260], 2
mov ecx, dword [edi]
test ecx, ecx
je 0x1010b780
mov ecx, dword [ecx]
jmp 0x1010b782
xor ecx, ecx
mov eax, dword [eax]
test eax, eax
je 0x1010b78c
mov edx, dword [eax]
jmp 0x1010b78e
xor edx, edx
mov eax, dword [esp + 0x1c]
mov edi, dword [eax]
lea ebx, [esp + 0x10]
push ebx
push 0
push 0x30
push ecx
push edx
mov edx, dword [edi + 0x50]
push eax
call edx
lea edi, [esp + 0x14]
mov ebx, eax
call fcn.1010b130
lea edi, [esp + 0x28]
mov dword [esp + 0x260], 0xffffffff
call fcn.1010b130
test ebx, ebx
jge 0x1010b7ea
mov eax, dword [esp + 0x20]
push ebx
push str.win32_computersystemproduct
push str.UUID
push str._GEN__Query_for__S_from__s_failed._Error_code__0x_x
push eax
call fcn.1010d6a8
add esp, 0x14
jmp 0x1010b6ef
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], 0
mov dword [esi], 0xb
test eax, eax
je 0x1010b930
mov edi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea ebx, [ebx]
lea edx, [esp + 0x20]
push edx
lea edx, [esp + 0x28]
push edx
push 1
xor ebx, ebx
mov dword [esp + 0x2c], ebx
mov dword [esi], 0xd
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp dword [esp + 0x20], ebx
je 0x1010b92c
cmp dword [esp + 0x24], ebx
je 0x1010b92c
lea ecx, [esp + 0x34]
push ecx
mov dword [esi], 0xe
call edi
mov eax, dword [esp + 0x24]
push ebx
push ebx
lea ecx, [esp + 0x3c]
push ecx
push ebx
mov dword [esi], 0x8d
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push str.UUID
push eax
call edx
cmp eax, ebx
mov dword [esi], 0x8e
jl 0x1010b9e3
mov ax, word [esp + 0x34]
cmp ax, 8
jne 0x1010b9c1
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x1010b9e3
push eax
mov dword [esi], 0x8f
mov dword [esp + 0x18], ebx
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov dword [esi], 0x91
cmp eax, ebx
jbe 0x1010b9e3
mov eax, dword [esp + 0x3c]
mov dword [esi], 0x92
cmp byte [eax + 1], bl
jne 0x1010b9e3
cmp byte [eax + 3], bl
jne 0x1010b9e3
push eax
lea ebx, [esp + 0x18]
mov dword [esi], 0x93
call fcn.10057330
mov ebx, dword [esp + 0x18]
add esp, 4
test ebx, ebx
je 0x1010b9e3
mov dword [esi], 0x94
mov esi, dword [esp + 0x30]
mov edx, esi
mov eax, ebx
sub edx, ebx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x1010b905
call fcn.1010b4d0
push ebx
call fcn.1010dc10
add esp, 4
lea edx, [esp + 0x34]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov dword [esi], 0x10
test ecx, ecx
je 0x1010b94a
mov eax, dword [ecx]
push ecx
mov ecx, dword [eax + 8]
call ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov dword [esi], 0x11
test ecx, ecx
je 0x1010b964
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push ecx
call eax
mov eax, dword [esp + 0x10]
mov dword [esi], 0x12
test eax, eax
je 0x1010b976
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x24]
mov dword [esi], 0x13
test eax, eax
je 0x1010b98c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esi], 0x14
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
mov ecx, dword [esp + 0x258]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.1010d699
mov esp, ebp
pop ebp
ret
cmp ax, 1
je 0x1010b9e3
movzx eax, ax
push eax
push str.win32_computersystemproduct
push str.UUID
push str._WMI__WItemName:__S___Table:__s___Type_vt_:_u
push ebx
call fcn.10053700
add esp, 0x14
lea ecx, [esp + 0x34]
push ecx
mov dword [esi], 0xf
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x1010b810
jmp 0x1010b930