Function at 0x5fae30
Capabilities:
Connect to wmi namespace via wbemlocator
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6db300
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x7e500c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x4c], ecx
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
push 0x40
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.00650ded
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x1c], eax
push 0
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
xor bl, bl
test eax, eax
js 0x5faef7
mov bl, 1
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jns 0x5faffd
cmp eax, 0x80010119
je 0x5faffd
test edi, edi
je 0x5faf8d
mov esi, dword [edi]
push eax
push str.In_HardwareUtils::GetSystemInfo._Failed_to_initialize_security.__x
push str.HardwareUtils
push 0x71a27c
push 0x32
push edi
jmp 0x5fafe8
cmp eax, 0x80010106
je 0x5faeaa
test edi, edi
je 0x5faf19
mov esi, dword [edi]
push eax
push str.In_HardwareUtils::GetSystemInfo_CoInitialize_failed_with_hres:__ld
push str.HardwareUtils
push 0x71a27c
push 0x32
push edi
jmp 0x5faf76
mov esi, dword [0x8076a4]
test esi, esi
je 0x5faf53
push eax
push str.In_HardwareUtils::GetSystemInfo_CoInitialize_failed_with_hres:__ld
push 0x71a27c
push 0x71a27c
push str.HardwareUtils
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x707770]
call esi
add esp, 0x1c
xor bl, bl
jmp 0x5fb5be
mov ecx, dword [0x8076a8]
test ecx, ecx
je 0x5fb3ba
mov esi, dword [ecx]
push eax
push str.In_HardwareUtils::GetSystemInfo_CoInitialize_failed_with_hres:__ld
push str.HardwareUtils
push 0x71a27c
push 0x32
push ecx
mov esi, dword [esi + 0x34]
mov ecx, esi
call dword [0x707770]
call esi
add esp, 0x18
xor bl, bl
jmp 0x5fb5be
mov esi, dword [0x8076a4]
test esi, esi
je 0x5fafc5
push eax
push str.In_HardwareUtils::GetSystemInfo._Failed_to_initialize_security.__x
push 0x71a27c
push 0x71a27c
push str.HardwareUtils
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x707770]
call esi
add esp, 0x1c
jmp 0x5fb3b0
mov ecx, dword [0x8076a8]
test ecx, ecx
je 0x5fb3b0
mov esi, dword [ecx]
push eax
push str.In_HardwareUtils::GetSystemInfo._Failed_to_initialize_security.__x
push str.HardwareUtils
push 0x71a27c
push 0x32
push ecx
mov esi, dword [esi + 0x34]
mov ecx, esi
call dword [0x707770]
call esi
add esp, 0x18
jmp 0x5fb3b0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0
push eax
push 0x70b4f0
push 1
push 0
push 0x70b4e0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x5fb0ab
test edi, edi
je 0x5fb03e
mov esi, dword [edi]
push str.In_HardwareUtils::GetSystemInfo._Failed_to_create_IWbemLocator_object.
push str.HardwareUtils
push 0x71a27c
push 0x32
push edi
jmp 0x5fb096
mov esi, dword [0x8076a4]
test esi, esi
je 0x5fb075
push str.In_HardwareUtils::GetSystemInfo._Failed_to_create_IWbemLocator_object.
push 0x71a27c
push 0x71a27c
push str.HardwareUtils
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x707770]
call esi
add esp, 0x18
jmp 0x5fb3b0
mov eax, dword [0x8076a8]
test eax, eax
je 0x5fb3b0
mov esi, dword [eax]
push str.In_HardwareUtils::GetSystemInfo._Failed_to_create_IWbemLocator_object.
push str.HardwareUtils
push 0x71a27c
push 0x32
push eax
mov esi, dword [esi + 0x34]
mov ecx, esi
call dword [0x707770]
call esi
add esp, 0x14
jmp 0x5fb3b0
push str.ROOTCIMV2
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x24], 0
call fcn.005cb030
mov byte [ebp - 4], 1
mov eax, dword [eax]
test eax, eax
je 0x5fb0cd
mov ecx, dword [eax]
jmp 0x5fb0cf
xor ecx, ecx
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
push edx
push 0
push 0
mov esi, dword [eax]
push 0
push 0
push 0
mov esi, dword [esi + 0xc]
push 0
push ecx
push eax
mov ecx, esi
call dword [0x707770]
call esi
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0
mov esi, eax
call fcn.005cb1c0
test esi, esi
jns 0x5fb190
test edi, edi
je 0x5fb123
mov esi, dword [edi]
push str.In_HardwareUtils::GetSystemInfo._Could_not_connect.
push str.HardwareUtils
push 0x71a27c
push 0x32
push edi
jmp 0x5fb17b
mov esi, dword [0x8076a4]
test esi, esi
je 0x5fb15a
push str.In_HardwareUtils::GetSystemInfo._Could_not_connect.
push 0x71a27c
push 0x71a27c
push str.HardwareUtils
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x707770]
call esi
add esp, 0x18
jmp 0x5fb39d
mov eax, dword [0x8076a8]
test eax, eax
je 0x5fb39d
mov esi, dword [eax]
push str.In_HardwareUtils::GetSystemInfo._Could_not_connect.
push str.HardwareUtils
push 0x71a27c
push 0x32
push eax
mov esi, dword [esi + 0x34]
mov ecx, esi
call dword [0x707770]
call esi
add esp, 0x14
jmp 0x5fb39d
test edi, edi
je 0x5fb1aa
mov esi, dword [edi]
push str.Connected_to_ROOTCIMV2_WMI_namespace
push str.HardwareUtils
push 0x71a27c
push 0x1e
push edi
jmp 0x5fb1fb
mov esi, dword [0x8076a4]
test esi, esi
je 0x5fb1de
push str.Connected_to_ROOTCIMV2_WMI_namespace
push 0x71a27c
push 0x71a27c
push str.HardwareUtils
push str.OOBEUtils
push 0x1e
mov ecx, esi
call dword [0x707770]
call esi
add esp, 0x18
jmp 0x5fb20b
mov eax, dword [0x8076a8]
test eax, eax
je 0x5fb20b
mov esi, dword [eax]
push str.Connected_to_ROOTCIMV2_WMI_namespace
push str.HardwareUtils
push 0x71a27c
push 0x1e
push eax
mov esi, dword [esi + 0x34]
mov ecx, esi
call dword [0x707770]
call esi
add esp, 0x14
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x24]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x5fb291
test edi, edi
je 0x5fb243
mov esi, dword [edi]
push str.In_HardwareUtils::GetSystemInfo._Could_not_set_proxy_blanket.
push str.HardwareUtils
push 0x71a27c
push 0x32
push edi
jmp 0x5fb37a
mov esi, dword [0x8076a4]
test esi, esi
je 0x5fb27a
push str.In_HardwareUtils::GetSystemInfo._Could_not_set_proxy_blanket.
push 0x71a27c
push 0x71a27c
push str.HardwareUtils
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x707770]
call esi
add esp, 0x18
jmp 0x5fb38a
mov eax, dword [0x8076a8]
test eax, eax
je 0x5fb38a
push str.In_HardwareUtils::GetSystemInfo._Could_not_set_proxy_blanket.
jmp 0x5fb36b
push str.SELECT__FROM_Win32_ComputerSystem
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x2c], 0
call fcn.005caf90
mov esi, eax
push 0x78ac60
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.005caf90
mov byte [ebp - 4], 3
mov ecx, dword [esi]
test ecx, ecx
je 0x5fb2c6
mov edx, dword [ecx]
jmp 0x5fb2c8
xor edx, edx
mov eax, dword [eax]
test eax, eax
je 0x5fb2d2
mov ecx, dword [eax]
jmp 0x5fb2d4
xor ecx, ecx
mov eax, dword [ebp - 0x24]
lea esi, [ebp - 0x2c]
push esi
push 0
push 0x30
mov esi, dword [eax]
push edx
push ecx
push eax
mov esi, dword [esi + 0x50]
mov ecx, esi
call dword [0x707770]
call esi
lea ecx, [ebp - 0x44]
mov esi, eax
call fcn.005cb1c0
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0
call fcn.005cb1c0
test esi, esi
jns 0x5fb3c1
test edi, edi
je 0x5fb329
mov esi, dword [edi]
push str.In_HardwareUtils::GetSystemInfo._Query_for_operating_system_name_failed.
push str.HardwareUtils
push 0x71a27c
push 0x32
push edi
jmp 0x5fb37a
mov esi, dword [0x8076a4]
test esi, esi
je 0x5fb35d
push str.In_HardwareUtils::GetSystemInfo._Query_for_operating_system_name_failed.
push 0x71a27c
push 0x71a27c
push str.HardwareUtils
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x707770]
call esi
add esp, 0x18
jmp 0x5fb38a
mov eax, dword [0x8076a8]
test eax, eax
je 0x5fb38a
push str.In_HardwareUtils::GetSystemInfo._Query_for_operating_system_name_failed.
mov esi, dword [eax]
push str.HardwareUtils
push 0x71a27c
push 0x32
push eax
mov esi, dword [esi + 0x34]
mov ecx, esi
call dword [0x707770]
call esi
add esp, 0x14
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x707770]
call esi
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x707770]
call esi
test bl, bl
je 0x5fb3ba
call dword [sym.imp.ole32.dll_CoUninitialize]
xor bl, bl
jmp 0x5fb5be
xor eax, eax
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 4
nop word [eax + eax]
test eax, eax
je 0x5fb3e4
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x707770]
call esi
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push ecx
mov esi, dword [eax]
push 1
push 0xffffffffffffffff
push eax
mov esi, dword [esi + 0x10]
mov ecx, esi
call dword [0x707770]
call esi
test eax, eax
jne 0x5fb550
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x5fb5fa
mov esi, dword [eax]
lea ecx, [ebp - 0x40]
push 0
push 0
push ecx
mov esi, dword [esi + 0x10]
mov ecx, esi
push 0
push str.Manufacturer
push eax
call dword [0x707770]
call esi
push 0x10
xor eax, eax
mov dword [ebp - 0x54], 0
push str.manufacturerName
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
call fcn.004271d0
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x38]
lea ecx, [ebp - 0x1c]
push eax
call fcn.00438090
mov edx, esi
lea edi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x5fb485
sub edx, edi
mov ecx, eax
sar edx, 1
push edx
push esi
call fcn.004271d0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 5
call fcn.00427170
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x5fb5fa
mov esi, dword [eax]
lea ecx, [ebp - 0x40]
push 0
push 0
push ecx
mov esi, dword [esi + 0x10]
mov ecx, esi
push 0
push str.Model
push eax
call dword [0x707770]
call esi
push 9
xor eax, eax
mov dword [ebp - 0x54], 0
push str.modelName
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
call fcn.004271d0
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 7
mov esi, dword [ebp - 0x38]
lea ecx, [ebp - 0x1c]
push eax
call fcn.00438090
mov edx, esi
lea edi, [edx + 2]
nop
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x5fb510
sub edx, edi
mov ecx, eax
sar edx, 1
push edx
push esi
call fcn.004271d0
lea ecx, [ebp - 0x64]
call fcn.00427170
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x14]
jmp 0x5fb3d0
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x707770]
call esi
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x707770]
call esi
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x707770]
call esi
test bl, bl
je 0x5fb593
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x4c]
push eax
push dword [eax]
call fcn.004548b0
mov byte [ebp - 4], 0
mov bl, 1
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x5fb5be
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x707770]
call esi
mov eax, dword [ebp - 0x1c]
push dword [eax + 4]
lea eax, [ebp - 0x1c]
push eax
mov ecx, eax
call fcn.004393c0
push 0x40
push dword [ebp - 0x1c]
call fcn.0065106e
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
ret
push 0x80004003
call fcn.006620e0
int3