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

Disassembly:
push 0x8c
mov eax, 0x100a0f76
call fcn.10094c2d
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.100285d6
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 0x1006874e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jle 0x1006874a
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
jmp 0x10068750
xor edi, edi
push 0x100150c8
lea eax, [ebp - 0x68]
push eax
call fcn.1005f448
push edi
push ebx
lea edi, [ebp - 0x68]
mov dword [ebp - 4], esi
call fcn.10068fcb
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x68]
add eax, 0xfffffff0
call fcn.10084c29
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 0x100687a9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jle 0x100687a5
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
jmp 0x100687ab
xor edi, edi
push 0x10015110
lea eax, [ebp - 0x70]
push eax
call fcn.1005f448
push edi
push ebx
lea edi, [ebp - 0x70]
mov dword [ebp - 4], 1
call fcn.10068fcb
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x70]
add eax, 0xfffffff0
call fcn.10084c29
lea eax, [ebp - 0x64]
push eax
push 0x20019
push esi
push 0x10015158
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push 4
pop edi
test eax, eax
jne 0x100688d1
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x60]
push eax
push esi
push esi
push 0x100151b8
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 0x10068861
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x60]
push eax
push 0
push 0
push 0x100151c4
push dword [ebp - 0x64]
mov dword [ebp - 0x5c], edi
call esi
mov dword [ebp - 0x58], eax
test eax, eax
je 0x10068861
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x60]
push eax
push 0
push 0
push 0x100151d0
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 0x100688cf
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 0x1006889c
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x10068898
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
jmp 0x1006889e
xor esi, esi
push 0x10015110
lea eax, [ebp - 0x58]
push eax
call fcn.1005f448
push esi
push ebx
lea edi, [ebp - 0x58]
mov dword [ebp - 4], 2
call fcn.10068fcb
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x58]
add eax, 0xfffffff0
call fcn.10084c29
push 4
pop edi
xor esi, esi
push 0x3c
lea eax, [ebp - 0x50]
push esi
push eax
mov dword [ebp - 0x54], esi
call fcn.1008a830
add esp, 0xc
push 0x40
pop edx
mov ecx, edx
lea eax, [ebp - 0x54]
mov byte [eax], 0
inc eax
dec ecx
jne 0x100688eb
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x54], edx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x1006895e
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 0x1006893a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jle 0x10068938
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
push 0x100151dc
lea eax, [ebp - 0x74]
push eax
call fcn.1005f448
push esi
mov dword [ebp - 4], edi
push ebx
lea edi, [ebp - 0x74]
call fcn.10068fcb
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x74]
jmp 0x10068986
push 0x10015218
lea eax, [ebp - 0x6c]
push eax
call fcn.1005f448
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
lea edi, [ebp - 0x6c]
call fcn.10068fcb
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x6c]
add eax, 0xfffffff0
call fcn.10084c29
mov ecx, ebx
call fcn.1006baab
call fcn.10094cbf
ret