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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
mov eax, dword [0x181cd008]
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.18004041
push eax
lea ecx, [ebp - 0x84]
call fcn.1800710c
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.1814bb43
pop ecx
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x9c]
call fcn.180149fa
mov edi, eax
test edi, edi
jns 0x1801185b
push dword [ebp - 0x9c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x180118db
lea eax, [ebp - 0x98]
push eax
push 0x181a8f7c
push 0x17
push esi
push 0x181a8f8c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
js 0x1801184a
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 0x180118b0
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
xor esi, esi
jmp 0x180118db
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 0x180118df
mov edi, esi
test edi, edi
jns 0x1801193a
call fcn.18004041
push eax
mov ecx, ebx
call fcn.1800710c
mov ecx, dword [ebp - 0x8c]
test ecx, ecx
je 0x180118fc
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x90]
test ecx, ecx
je 0x1801190c
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x94]
test ecx, ecx
je 0x1801191c
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x98]
test eax, eax
je 0x1801192c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x84]
add ecx, 0xfffffff0
jmp 0x18011a79
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x98]
call fcn.18014af7
test eax, eax
jns 0x180119a8
call fcn.18004041
push eax
mov ecx, ebx
call fcn.1800710c
mov ecx, dword [ebp - 0x8c]
test ecx, ecx
je 0x1801196a
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x90]
test ecx, ecx
je 0x1801197a
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x94]
test ecx, ecx
je 0x1801198a
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x98]
test ecx, ecx
je 0x1801199a
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x84]
lea ecx, [ecx - 0x10]
jmp 0x18011a79
cmp byte [ebp - 0x88], 0
jne 0x1801194d
push 0x10
lea eax, [ebp - 0xb0]
push esi
push eax
call fcn.18147be0
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.18014b9d
mov esi, eax
test esi, esi
jns 0x180119fb
lea eax, [ebp - 0xb0]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x18011a1b
push dword [ebp - 0xa8]
lea ecx, [ebp - 0x84]
call fcn.18006e06
lea eax, [ebp - 0xb0]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
xor esi, esi
test esi, esi
js 0x1801194d
mov esi, dword [ebp - 0x84]
lea ecx, [esi - 0x10]
call fcn.18007189
mov ecx, dword [ebp - 0x8c]
add eax, 0x10
mov dword [ebx], eax
test ecx, ecx
je 0x18011a46
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x90]
test ecx, ecx
je 0x18011a56
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x94]
test ecx, ecx
je 0x18011a66
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov edx, dword [ebp - 0x98]
test edx, edx
je 0x18011a76
mov eax, dword [edx]
push edx
call dword [eax + 8]
lea ecx, [esi - 0x10]
call fcn.180046a5
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.181450cb
leave
ret