Function at 0x10008dd0
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x1000fa1a
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x1001601c]
xor eax, esp
mov dword [esp + 0x134], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1001601c]
xor eax, esp
push eax
lea eax, [esp + 0x14c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x15c]
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov eax, dword [0x1001659c]
mov edx, dword [eax + 0xc]
mov ecx, 0x1001659c
mov dword [esp + 0x24], ebp
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
lea eax, [esp + 0x1c]
push eax
push 0x20019
push ebx
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
mov esi, 1
mov dword [esp + 0x164], esi
push 0x80000002
mov dword [esp + 0x34], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
je 0x10008ee0
push ebx
push 0x104
lea ecx, [esp + 0x4c]
push ecx
push ebx
push eax
push ebx
push 0x1000
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push 0x100113cb
mov ecx, ebp
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov byte [esp + 0x154], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x18], esi
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10008eb6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x14c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.1000e1de
add esp, 0x144
ret
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x48]
push edx
push ebx
push ebx
push str.Identifier
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x44]
push ecx
push 0x100116b4
lea edi, [esp + 0x1c]
call fcn.1000d760
add esp, 8
mov ebx, edi
call fcn.1000c980
mov ebx, eax
call fcn.1000ca10
mov esi, eax
mov eax, dword [esi]
sub eax, 0x10
mov ebx, 1
cmp dword [eax + 0xc], ebx
jle 0x10008f3b
mov edx, dword [eax + 4]
push edx
push esi
call fcn.1000cb30
mov esi, dword [esi]
push esi
lea ecx, [esp + 0x2c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov byte [esp + 0x154], 2
mov edx, dword [esp + 0x14]
test edx, edx
jne 0x10008f5c
xor eax, eax
jmp 0x10008f6e
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10008f61
sub eax, esi
js 0x10008fca
cmp eax, dword [edx - 8]
jg 0x10008fca
mov dword [edx - 0xc], eax
mov ecx, dword [esp + 0x14]
lea esi, [esp + 0x14]
mov byte [eax + ecx], 0
call fcn.1000c740
lea edx, [esp + 0x28]
push edx
mov ecx, ebp
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], ebx
mov byte [esp + 0x154], bl
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 byte [esp + 0x154], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x10008eaa
push 0x80070057
call fcn.10002bb0
int3