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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10021628
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push esi
push edi
mov eax, dword [0x1002b024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 4], esi
mov dword [eax], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
push esi
push esi
push esi
push 3
push esi
push esi
push esi
or edi, 0xffffffff
push edi
push esi
mov byte [ebp - 4], 3
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
cmp eax, esi
jge 0x10005f7a
push 0x10026b2c
lea ecx, [ebp - 0x30]
push ecx
mov dword [ebp - 0x30], edi
call fcn.10014cdc
lea edx, [ebp - 0x24]
push edx
push 0x100251fc
push 1
push esi
push 0x100251ec
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, esi
jl 0x100062ac
mov eax, dword [ebp - 0x24]
cmp eax, esi
je 0x100062ac
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push esi
push esi
push esi
push esi
push esi
push esi
push str.ROOTCIMV2
push eax
mov eax, dword [ecx + 0xc]
call eax
cmp eax, esi
jl 0x1000629b
mov eax, dword [ebp - 0x20]
cmp eax, esi
je 0x1000629b
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 0x10005ff4
push 0x10026b2c
lea ecx, [ebp - 0x34]
push ecx
mov dword [ebp - 0x34], edi
call fcn.10014cdc
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
mov edx, dword [edx + 0x50]
lea ecx, [ebp - 0x1c]
push ecx
push esi
push 0x30
push str.SELECT_Version__SerialNumber_FROM_Win32_BIOS
push 0x10025184
push eax
call edx
cmp eax, esi
jl 0x1000628a
cmp dword [ebp - 0x1c], esi
je 0x1000628a
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
xor esi, esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x14], esi
lea edx, [ebp - 0x28]
push edx
lea edx, [ebp - 0x14]
push edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push 1
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp eax, esi
jl 0x10006222
cmp dword [ebp - 0x28], esi
je 0x10006222
mov eax, dword [ebp - 0x14]
cmp eax, esi
je 0x10006225
lea ecx, [ebp - 0x58]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push esi
push esi
lea ecx, [ebp - 0x58]
push ecx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push esi
push str.Version
push eax
call edx
cmp eax, esi
jge 0x100060ad
lea eax, [ebp - 0x58]
push eax
call ebx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
cmp eax, esi
je 0x10006027
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x10006027
lea esi, [ebp - 0x58]
lea edi, [ebp - 0x38]
call fcn.10005b20
mov byte [ebp - 4], 6
mov eax, dword [eax]
test eax, eax
je 0x100060c6
mov eax, dword [eax]
jmp 0x100060c8
xor eax, eax
lea esi, [ebp - 0x18]
call fcn.10006310
lea edi, [ebp - 0x38]
call fcn.100059d0
call fcn.100062d0
mov esi, dword [ebp - 0x18]
push 6
push str.VRTUAL
push esi
call fcn.10013730
add esp, 0xc
test eax, eax
jne 0x100060ff
mov eax, dword [ebp + 8]
or dword [eax], 0x10
jmp 0x100061f6
push 5
push str.A_M_I
push esi
call fcn.10013730
add esp, 0xc
test eax, eax
jne 0x1000611e
mov eax, dword [ebp + 8]
or dword [eax], 0x20
jmp 0x100061f6
push 3
push 0x100251b8
push esi
call fcn.10013730
add esp, 0xc
test eax, eax
jne 0x1000613d
mov eax, dword [ebp + 8]
or dword [eax], 0x40
jmp 0x100061f6
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 0
push 0
lea edx, [ebp - 0x68]
push edx
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push 0
push str.SerialNumber
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jge 0x1000619b
lea ecx, [ebp - 0x68]
push ecx
call ebx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea eax, [ebp - 0x58]
push eax
call ebx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10006027
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x10006027
lea esi, [ebp - 0x68]
lea edi, [ebp - 0x3c]
call fcn.10005b20
mov byte [ebp - 4], 0xa
mov eax, dword [eax]
test eax, eax
je 0x100061b4
mov eax, dword [eax]
jmp 0x100061b6
xor eax, eax
lea esi, [ebp - 0x2c]
call fcn.10006310
lea edi, [ebp - 0x3c]
call fcn.100059d0
call fcn.100062d0
mov esi, dword [ebp - 0x2c]
push str.VMWARE
push esi
call fcn.100137d6
add esp, 8
test eax, eax
je 0x100061e9
mov eax, dword [ebp + 8]
or dword [eax], 0x80
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea eax, [ebp - 0x68]
push eax
call ebx
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea edx, [ebp - 0x58]
push edx
call ebx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10006027
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x10006027
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 3
cmp eax, esi
je 0x10006235
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
cmp eax, esi
je 0x10006248
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x20]
cmp eax, esi
je 0x1000625b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
cmp eax, esi
je 0x1000626e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [ebp + 8]
xor eax, eax
cmp dword [ecx], eax
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x10026b2c
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x40], edi
call fcn.10014cdc
push 0x10026b2c
lea ecx, [ebp - 0x44]
push ecx
mov dword [ebp - 0x44], edi
call fcn.10014cdc
push 0x10026b2c
lea edx, [ebp - 0x48]
push edx
mov dword [ebp - 0x48], edi
call fcn.10014cdc
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov eax, 0x1000626e
ret