Function at 0x10006640
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x100105fc
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x1001734c]
xor eax, esp
mov dword [esp + 0x148], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1001734c]
xor eax, esp
push eax
lea eax, [esp + 0x160]
mov dword fs:[0], eax
mov esi, dword [esp + 0x170]
lea eax, [esp + 0x18]
push eax
xor edi, edi
push edi
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push str.HardwareDescriptionSystem
mov dword [esp + 0x40], edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea ecx, [esp + 0x44]
push ecx
call fcn.100012a0
add esp, 0x24
mov ecx, eax
mov dword [esp + 0x16c], edi
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
sete bl
or ebp, 0xffffffff
lea ecx, [esp + 0x20]
mov dword [esp + 0x168], ebp
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
test bl, bl
je 0x100068e9
mov edx, dword [esp + 0x174]
lea eax, [esp + 0x14]
push eax
push esi
push edi
push edi
push edi
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x4c], esp
push str.SystemBiosVersion
mov dword [esp + 0x48], edx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea ecx, [esp + 0x50]
push ecx
call fcn.100012a0
add esp, 0x24
mov ecx, eax
mov dword [esp + 0x178], 1
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov edx, dword [esp + 0x28]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
push edx
call edi
lea ecx, [esp + 0x20]
mov dword [esp + 0x168], ebp
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x10006781
mov ecx, dword [esp + 0x14]
xor eax, eax
test ecx, ecx
jbe 0x10006778
cmp byte [esi + eax], 0
jne 0x10006771
mov byte [esi + eax], 0x20
add eax, 1
cmp eax, ecx
jb 0x10006767
mov byte [esi + ecx], 0
jmp 0x100068de
lea eax, [esp + 0x18]
push eax
push 0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push str.HardwareDescriptionSystemBIOS
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea ecx, [esp + 0x44]
push ecx
call fcn.100012a0
add esp, 0x24
mov ecx, eax
mov dword [esp + 0x16c], 2
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
lea ecx, [esp + 0x20]
sete bl
mov dword [esp + 0x168], ebp
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
test bl, bl
je 0x100068de
mov edx, dword [esp + 0x174]
lea eax, [esp + 0x14]
push eax
push esi
push 0
push 0
push 0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x4c], esp
push str.BIOSVendor
mov dword [esp + 0x48], edx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea ecx, [esp + 0x50]
push ecx
call fcn.100012a0
add esp, 0x24
mov ecx, eax
mov dword [esp + 0x178], 3
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov edx, dword [esp + 0x28]
push eax
push edx
call edi
lea ecx, [esp + 0x20]
mov dword [esp + 0x168], ebp
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push 0x103
lea eax, [esp + 0x5d]
push 0
push eax
mov byte [esp + 0x64], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x5c]
push edx
push 0
push 0
push 0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x4c], esp
push 0x10011e2c
mov dword [esp + 0x48], 0x104
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea eax, [esp + 0x6c]
push eax
call fcn.100012a0
add esp, 0x24
mov ecx, eax
mov dword [esp + 0x178], 4
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov ecx, dword [esp + 0x28]
push eax
push ecx
call edi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x168], ebp
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x10011e28
push esi
call edi
lea edx, [esp + 0x58]
push edx
push esi
call edi
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x160]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x148]
xor ecx, esp
call fcn.1000bc08
add esp, 0x158
ret