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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002a4b8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x1003e01c]
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
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push eax
push 0x1002c7ec
push 1
push 0
push 0x1002c7dc
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1001d531
push 0x1001e230
push eax
push 0x10019250
push ecx
mov ecx, dword [sym.imp.MSVCP120.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x10033aac
call fcn.1001ca00
mov edx, 0x10033af0
mov ecx, eax
call fcn.1001ca00
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
mov ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int_]
mov ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
jmp 0x1001d921
push 0x10033ad4
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x1c], 0
call fcn.1001d230
mov dword [ebp - 4], 0
mov eax, dword [eax]
test eax, eax
je 0x1001d556
mov edx, dword [eax]
jmp 0x1001d558
xor edx, edx
mov eax, dword [ebp - 0x20]
lea esi, [ebp - 0x1c]
push esi
push 0
push 0
mov ecx, dword [eax]
push 0
push 0
push 0
push 0
push edx
push eax
call dword [ecx + 0xc]
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.1001d2e0
push 0x1001e230
test esi, esi
jns 0x1001d5d7
push esi
push 0x10019250
push ecx
mov ecx, dword [sym.imp.MSVCP120.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x10033c3c
call fcn.1001ca00
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
mov ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int_]
mov ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
jmp 0x1001d921
push ecx
mov ecx, dword [sym.imp.MSVCP120.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x10033c60
call fcn.1001ca00
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x1c]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x1001d667
push 0x1001e230
push eax
push 0x10019250
push ecx
mov ecx, dword [sym.imp.MSVCP120.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x10033bf0
call fcn.1001ca00
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
mov ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int_]
mov ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
jmp 0x1001d921
push 0x10033c20
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x24], 0
call fcn.1001d190
mov esi, eax
push 0x10033bd8
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 1
call fcn.1001d190
mov byte [ebp - 4], 2
mov esi, dword [esi]
test esi, esi
je 0x1001d69f
mov esi, dword [esi]
jmp 0x1001d6a1
xor esi, esi
mov eax, dword [eax]
test eax, eax
je 0x1001d6ab
mov edx, dword [eax]
jmp 0x1001d6ad
xor edx, edx
mov eax, dword [ebp - 0x1c]
lea edi, [ebp - 0x24]
push edi
push 0
push 0x30
mov ecx, dword [eax]
push esi
push edx
push eax
call dword [ecx + 0x50]
lea ecx, [ebp - 0x3c]
mov esi, eax
call fcn.1001d2e0
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.1001d2e0
test esi, esi
jns 0x1001d705
push 0x1001e230
push esi
push 0x10019250
push ecx
mov ecx, dword [sym.imp.MSVCP120.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x10033ba4
call fcn.1001ca00
mov edx, 0x10033bdc
mov ecx, eax
jmp 0x1001d625
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
test ecx, ecx
je 0x1001d904
mov ebx, dword [sym.imp.MSVCR120.dll_strncpy]
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 0x18]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x14], 0
je 0x1001d904
push 0x4b
push str._XBIOS:
push 0x10044868
call ebx
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x38]
add esp, 0xc
mov ecx, dword [eax]
push 0
push 0
push edx
push 0
push 0x10033d68
push eax
call dword [ecx + 0x10]
cmp word [ebp - 0x38], 8
jne 0x1001d7a6
push dword [ebp - 0x30]
call fcn.10027300
mov edx, eax
mov esi, edx
lea esp, [esp]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x1001d780
mov edi, 0x10044868
sub edx, esi
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1001d790
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x38]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push 0x10033d74
push eax
call dword [ecx + 0x10]
cmp word [ebp - 0x38], 8
jne 0x1001d7f6
push dword [ebp - 0x30]
call fcn.10027300
mov edx, eax
mov esi, edx
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x1001d7d1
mov edi, 0x10044868
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1001d7e0
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x38]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.Version
push eax
call dword [ecx + 0x10]
cmp word [ebp - 0x38], 8
jne 0x1001d846
push dword [ebp - 0x30]
call fcn.10027300
mov edx, eax
mov esi, edx
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x1001d821
mov edi, 0x10044868
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1001d830
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x38]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.IdentificationCode
push eax
call dword [ecx + 0x10]
cmp word [ebp - 0x38], 8
jne 0x1001d896
push dword [ebp - 0x30]
call fcn.10027300
mov edx, eax
mov esi, edx
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x1001d871
mov edi, 0x10044868
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1001d880
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x38]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.ReleaseDate
push eax
call dword [ecx + 0x10]
cmp word [ebp - 0x38], 8
jne 0x1001d8e6
push dword [ebp - 0x30]
call fcn.10027300
mov edx, eax
mov esi, edx
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x1001d8c1
mov edi, 0x10044868
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1001d8d0
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x24]
test ecx, ecx
jne 0x1001d724
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
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.1002769f
mov esp, ebp
pop ebp
ret