Function at 0x10008fe0
Capabilities:
Access peb ldr_data
Get cpu information
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x1000f9a7
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x1001601c]
xor eax, esp
mov dword [esp + 0x12c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1001601c]
xor eax, esp
push eax
lea eax, [esp + 0x144]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x154]
xor esi, esi
mov dword [esp + 0x18], esi
mov eax, dword [0x1001659c]
mov edx, dword [eax + 0xc]
mov ecx, 0x1001659c
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
lea eax, [esp + 0x18]
push eax
push 0x20019
push esi
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
mov dword [esp + 0x15c], esi
push 0x80000002
mov dword [esp + 0x30], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
je 0x100090e7
push esi
push 0x104
lea ecx, [esp + 0x44]
push ecx
push esi
push eax
push esi
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 dword [esp + 0x14c], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x100090bd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x144]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x12c]
xor ecx, esp
call fcn.1000e1de
add esp, 0x13c
ret
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x40]
push edx
push esi
push esi
push str.ProcessorNameString
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x3c]
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 0x10009142
mov edx, dword [eax + 4]
push edx
push esi
call fcn.1000cb30
mov esi, dword [esi]
push esi
lea ecx, [esp + 0x24]
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 + 0x14c], bl
mov edx, dword [esp + 0x14]
test edx, edx
jne 0x10009162
xor eax, eax
jmp 0x10009174
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10009167
sub eax, esi
js 0x100091d0
cmp eax, dword [edx - 8]
jg 0x100091d0
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 + 0x20]
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 + 0x20]
mov byte [esp + 0x14c], 0
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 dword [esp + 0x14c], 0xffffffff
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 0x100090b1
push 0x80070057
call fcn.10002bb0
int3