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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
mov eax, dword [0x181c0008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
lea edi, [ebp - 0x1c]
push 5
pop ecx
mov esi, str.ROOTCIMV2
rep movsd dword es:[edi], dword [esi]
push 0x12
pop ecx
push 6
movsw word es:[edi], word [esi]
mov esi, str.SELECT_SerialNumber_FROM_Win32_Bios
lea edi, [ebp - 0x80]
rep movsd dword es:[edi], dword [esi]
pop ecx
mov esi, str.SerialNumber
lea edi, [ebp - 0x38]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
call fcn.18003f31
push eax
lea ecx, [ebp - 0x84]
call fcn.18006dc8
xor esi, esi
mov byte [ebp - 0x88], 1
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x98], esi
push eax
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x90], esi
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x9c], esi
call fcn.18142f23
pop ecx
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x9c]
call fcn.18013ba7
mov edi, eax
test edi, edi
jns 0x180113c0
push dword [ebp - 0x9c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x18011440
lea eax, [ebp - 0x98]
push eax
push 0x1819cf10
push 0x17
push esi
push 0x1819cf20
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
js 0x180113af
mov ecx, dword [ebp - 0x98]
lea edx, [ebp - 0x94]
push edx
push esi
push esi
mov eax, dword [ecx]
push 0x80
push esi
push esi
push esi
mov esi, dword [ebp - 0x9c]
push esi
push ecx
call dword [eax + 0xc]
mov edi, eax
test edi, edi
jns 0x18011415
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
xor esi, esi
jmp 0x18011440
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x94]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
push esi
mov edi, eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
xor esi, esi
test edi, edi
js 0x18011444
mov edi, esi
test edi, edi
jns 0x1801149f
call fcn.18003f31
push eax
mov ecx, ebx
call fcn.18006dc8
mov ecx, dword [ebp - 0x8c]
test ecx, ecx
je 0x18011461
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x90]
test ecx, ecx
je 0x18011471
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x94]
test ecx, ecx
je 0x18011481
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x98]
test eax, eax
je 0x18011491
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x84]
add ecx, 0xfffffff0
jmp 0x180115de
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x98]
call fcn.18013ca4
test eax, eax
jns 0x1801150d
call fcn.18003f31
push eax
mov ecx, ebx
call fcn.18006dc8
mov ecx, dword [ebp - 0x8c]
test ecx, ecx
je 0x180114cf
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x90]
test ecx, ecx
je 0x180114df
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x94]
test ecx, ecx
je 0x180114ef
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x98]
test ecx, ecx
je 0x180114ff
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x84]
lea ecx, [ecx - 0x10]
jmp 0x180115de
cmp byte [ebp - 0x88], 0
jne 0x180114b2
push 0x10
lea eax, [ebp - 0xb0]
push esi
push eax
call fcn.1813efc0
add esp, 0xc
lea eax, [ebp - 0xb0]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x98]
call fcn.18013d4a
mov esi, eax
test esi, esi
jns 0x18011560
lea eax, [ebp - 0xb0]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x18011580
push dword [ebp - 0xa8]
lea ecx, [ebp - 0x84]
call fcn.18006ac2
lea eax, [ebp - 0xb0]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
xor esi, esi
test esi, esi
js 0x180114b2
mov esi, dword [ebp - 0x84]
lea ecx, [esi - 0x10]
call fcn.18006e45
mov ecx, dword [ebp - 0x8c]
add eax, 0x10
mov dword [ebx], eax
test ecx, ecx
je 0x180115ab
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x90]
test ecx, ecx
je 0x180115bb
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x94]
test ecx, ecx
je 0x180115cb
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov edx, dword [ebp - 0x98]
test edx, edx
je 0x180115db
mov eax, dword [edx]
push edx
call dword [eax + 8]
lea ecx, [esi - 0x10]
call fcn.18004595
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1813c4a8
leave
ret