Function at 0x100670b8
Capabilities:
Get cpu information
Get memory capacity
Query or enumerate registry value

Disassembly:
push 0x8c
mov eax, 0x1009dc80
call fcn.10092273
push 8
pop ecx
xor eax, eax
xor esi, esi
mov dword [ebp - 0x98], esi
lea edi, [ebp - 0x94]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x98]
push eax
call fcn.10028aa3
push dword [ebp - 0x80]
mov ecx, dword [ebx + 0x3c]
mov eax, dword [ecx]
push 0x10
push dword [ecx + 4]
call dword [eax + 0x14]
test eax, eax
jne 0x10067114
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jle 0x10067110
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
jmp 0x10067116
xor edi, edi
push 0x100153e0
lea eax, [ebp - 0x68]
push eax
call fcn.1005e2c8
push edi
push ebx
lea edi, [ebp - 0x68]
mov dword [ebp - 4], esi
call fcn.10067978
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x68]
add eax, 0xfffffff0
call fcn.10082afb
push dword [ebp - 0x84]
mov ecx, dword [ebx + 0x3c]
mov eax, dword [ecx]
push 0xf
push dword [ecx + 4]
call dword [eax + 0x14]
test eax, eax
jne 0x1006716f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jle 0x1006716b
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
jmp 0x10067171
xor edi, edi
push 0x10015428
lea eax, [ebp - 0x70]
push eax
call fcn.1005e2c8
push edi
push ebx
lea edi, [ebp - 0x70]
mov dword [ebp - 4], 1
call fcn.10067978
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x70]
add eax, 0xfffffff0
call fcn.10082afb
lea eax, [ebp - 0x64]
push eax
push 0x20019
push esi
push 0x10015470
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push 4
pop edi
test eax, eax
jne 0x10067297
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x60]
push eax
push esi
push esi
push 0x100154d0
push dword [ebp - 0x64]
mov dword [ebp - 0x60], esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x5c], edi
call esi
mov dword [ebp - 0x58], eax
test eax, eax
je 0x10067227
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x60]
push eax
push 0
push 0
push 0x100154dc
push dword [ebp - 0x64]
mov dword [ebp - 0x5c], edi
call esi
mov dword [ebp - 0x58], eax
test eax, eax
je 0x10067227
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x60]
push eax
push 0
push 0
push 0x100154e8
push dword [ebp - 0x64]
mov dword [ebp - 0x5c], edi
call esi
mov dword [ebp - 0x58], eax
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x58], 0
jne 0x10067295
push dword [ebp - 0x60]
mov ecx, dword [ebx + 0x3c]
mov eax, dword [ecx]
push 0x13
push dword [ecx + 4]
call dword [eax + 0x14]
test eax, eax
jne 0x10067262
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x1006725e
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
jmp 0x10067264
xor esi, esi
push 0x10015428
lea eax, [ebp - 0x58]
push eax
call fcn.1005e2c8
push esi
push ebx
lea edi, [ebp - 0x58]
mov dword [ebp - 4], 2
call fcn.10067978
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x58]
add eax, 0xfffffff0
call fcn.10082afb
push 4
pop edi
xor esi, esi
push 0x3c
lea eax, [ebp - 0x50]
push esi
push eax
mov dword [ebp - 0x54], esi
call fcn.100882c0
add esp, 0xc
push 0x40
pop edx
mov ecx, edx
lea eax, [ebp - 0x54]
mov byte [eax], 0
inc eax
dec ecx
jne 0x100672b1
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x54], edx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x10067324
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
shrd eax, ecx, 0x14
push eax
push 3
pop edi
shr ecx, 0x14
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ecx]
push edi
push dword [ecx + 4]
call dword [edx + 0x14]
test eax, eax
jne 0x10067300
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jle 0x100672fe
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
push 0x100154f4
lea eax, [ebp - 0x74]
push eax
call fcn.1005e2c8
push esi
mov dword [ebp - 4], edi
push ebx
lea edi, [ebp - 0x74]
call fcn.10067978
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x74]
jmp 0x1006734c
push 0x10015530
lea eax, [ebp - 0x6c]
push eax
call fcn.1005e2c8
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
lea edi, [ebp - 0x6c]
call fcn.10067978
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x6c]
add eax, 0xfffffff0
call fcn.10082afb
mov ecx, ebx
call fcn.1006a2c6
call fcn.100922f6
ret