Function at 0x68a24210
Capabilities:
Get cpu information
Get memory capacity
Link many functions at runtime
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [0x68aaf040]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
xor esi, esi
push edi
cmp dword [0x68ab21c4], esi
jne 0x68a24243
lea ecx, [esi + 1]
call fcn.68a24050
mov esi, eax
test esi, esi
jne 0x68a24ba4
mov eax, dword [0x68ab21c4]
test eax, eax
je 0x68a24253
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x68ab21c8]
mov ecx, eax
inc eax
mov dword [0x68ab21c8], eax
test ecx, ecx
jne 0x68a24b89
push str.KERNEL32.DLL
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
je 0x68a24376
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x68aa7810
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
xor eax, eax
mov word [esp + 0x10], ax
mov word [esp + 0x20], ax
test edi, edi
je 0x68a2462f
lea eax, [esp + 0x20]
mov ecx, edi
push eax
lea eax, [esp + 0x14]
push eax
push ebx
call dword [0x68a57338]
call edi
test eax, eax
je 0x68a2462f
cmp word [esp + 0x10], 0
mov ax, word [esp + 0x20]
je 0x68a242d7
mov word [0x68ab32a0], ax
movzx eax, ax
cmp eax, 0x8664
ja 0x68a2461a
je 0x68a24610
cmp eax, 0x200
je 0x68a24606
cmp eax, 0x284
jne 0x68a24308
mov eax, 7
mov word [0x68ab329c], ax
cmp word [0x68ab32a0], 0
je 0x68a24323
push str.Wow64EnableWow64FsRedirection
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x68ab32d8], eax
push str.GetLogicalProcessorInformationEx
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x68ab32ac], eax
test eax, eax
jne 0x68a24349
push str.GetLogicalProcessorInformation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x68ab32b0], eax
push str.GetTickCount64
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [0x68ab3340], 0xf
jl 0x68a24376
push str.PrefetchVirtualMemory
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetCurrentThreadStackLimits
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NTDLL.DLL
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x68ab3298], eax
test eax, eax
je 0x68a2452c
push str.RtlNtStatusToDosError
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RtlInitUnicodeString
push dword [0x68ab3298]
mov dword [0x68ab32d4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtOpenFile
push dword [0x68ab3298]
mov dword [0x68ab32d0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtCreateFile
push dword [0x68ab3298]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtReadFile
push dword [0x68ab3298]
mov dword [0x68ab32cc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtWriteFile
push dword [0x68ab3298]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtQueryInformationFile
push dword [0x68ab3298]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtSetInformationFile
push dword [0x68ab3298]
mov dword [0x68ab32c8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtQueryVirtualMemory
push dword [0x68ab3298]
mov dword [reloc.ntdll.dll_ZwSetInformationFile], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtQueryObject
push dword [0x68ab3298]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtQueryVolumeInformationFile
push dword [0x68ab3298]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtQueryInformationProcess
push dword [0x68ab3298]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtQueryInformationThread
push dword [0x68ab3298]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtSetInformationThread
push dword [0x68ab3298]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtQuerySystemInformation
push dword [0x68ab3298]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtQueryDirectoryFile
push dword [0x68ab3298]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtQueryEaFile
push dword [0x68ab3298]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtClose
push dword [0x68ab3298]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtFsControlFile
push dword [0x68ab3298]
mov dword [reloc.ntdll.dll_ZwClose], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtDeviceIoControlFile
push dword [0x68ab3298]
mov dword [reloc.ntdll.dll_ZwFsControlFile], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtWaitForSingleObject
push dword [0x68ab3298]
mov dword [0x68ab32b8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtDeleteKey
push dword [0x68ab3298]
mov dword [reloc.ntdll.dll_ZwWaitForSingleObject], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x68a5835c
push 8
call fcn.68a398a0
mov esi, eax
add esp, 8
test esi, esi
je 0x68a24b78
push 0x18
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.68a397a3
add esp, 4
mov dword [0x68ab3214], esi
mov dword [eax], eax
push 0x68a5835c
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
push 8
mov dword [esi], eax
call fcn.68a398a0
mov esi, eax
add esp, 8
test esi, esi
je 0x68a24b67
push 0x120
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.68a397a3
add esp, 4
mov dword [0x68ab3210], esi
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov eax, dword [0x68ab3298]
test eax, eax
je 0x68a2488b
push str.RtlSetThreadErrorMode
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x68ab327c], eax
test eax, eax
jne 0x68a245e3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x68ab3278], 0
jne 0x68a2468f
mov eax, dword [0x68ab3298]
test eax, eax
jne 0x68a24674
push 0x7e
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x68a24689
mov eax, 6
jmp 0x68a24302
mov eax, 9
jmp 0x68a24302
cmp eax, 0xaa64
jne 0x68a24308
mov eax, 0xc
jmp 0x68a24302
push str.IsWow64Process
push esi
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x68a24659
lea eax, [esp + 0x14]
mov ecx, edi
push eax
push ebx
call dword [0x68a57338]
call edi
cmp dword [esp + 0x14], 0
je 0x68a24308
mov eax, 0x8664
mov word [0x68ab32a0], ax
jmp 0x68a24312
push str.RtlGetVersion
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x68ab3278], eax
test eax, eax
jne 0x68a2468f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x68ab3274], 0
jne 0x68a246c6
mov eax, dword [0x68ab3298]
test eax, eax
jne 0x68a246ab
push 0x7e
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x68a246c0
push str.RtlPcToFileHeader
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x68ab3274], eax
test eax, eax
jne 0x68a246c6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [0x68ab3298]
test eax, eax
jne 0x68a246d9
push 0x7e
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x68a246ee
push str.LdrLockLoaderLock
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x68ab3270], eax
test eax, eax
jne 0x68a246f4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [0x68ab3298]
test eax, eax
jne 0x68a24707
push 0x7e
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x68a2471c
push str.LdrUnlockLoaderLock
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x68ab326c], eax
test eax, eax
jne 0x68a24722
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [0x68ab3298]
test eax, eax
jne 0x68a24735
push 0x7e
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x68a2474a
push str.NtQueryDirectoryFileEx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x68ab3280], eax
test eax, eax
jne 0x68a24750
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [0x68ab3298]
test eax, eax
jne 0x68a24763
push 0x7e
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x68a24778
push str.NtWow64QueryInformationProcess64
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x68ab3290], eax
test eax, eax
jne 0x68a2477e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [0x68ab3298]
test eax, eax
jne 0x68a24791
push 0x7e
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x68a247a6
push str.NtWow64GetNativeSystemInformation
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x68ab328c], eax
test eax, eax
jne 0x68a247ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [0x68ab3298]
test eax, eax
jne 0x68a247bf
push 0x7e
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x68a247d4
push str.NtWow64QueryVirtualMemory64
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x68ab3288], eax
test eax, eax
jne 0x68a247da
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [0x68ab3298]
test eax, eax
jne 0x68a247ed
push 0x7e
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x68a24802
push str.NtWow64ReadVirtualMemory64
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x68ab3284], eax
test eax, eax
jne 0x68a24808
call dword [sym.imp.KERNEL32.dll_GetLastError]
call fcn.68a257b0
test al, al
jne 0x68a24849
cmp word [0x68ab329c], 0
jne 0x68a24849
mov esi, dword [0x68ab328c]
test esi, esi
je 0x68a2488b
push 0
push 0xc
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
push 1
call dword [0x68a57338]
call esi
test eax, eax
jne 0x68a24849
mov ax, word [esp + 0x14]
mov word [0x68ab329c], ax
mov esi, dword [0x68ab328c]
test esi, esi
je 0x68a2488b
push 0
push 0x2c
lea eax, [esp + 0x30]
mov ecx, esi
push eax
push 0
call dword [0x68a57338]
call esi
test eax, eax
jne 0x68a2488b
mov eax, dword [esp + 0x48]
mov dword [0x68ab0980], eax
movzx eax, byte [esp + 0x50]
mov dword [0x68ab0984], 0
mov dword [0x68ab0990], eax
jmp 0x68a24890
mov eax, dword [0x68ab0990]
test eax, eax
jne 0x68a2489e
mov dword [0x68ab0990], 1
sub esp, 8
call fcn.68a25d10
push 0
push 0x80000002
lea eax, [esp + 0x24]
xorps xmm0, xmm0
push eax
push 1
mov edx, str.HardwareDescriptionSystemCentralProcessor0
movlpd qword [esp + 0x38], xmm0
xor ecx, ecx
call fcn.68a253b0
add esp, 0x18
test eax, eax
jne 0x68a2492d
mov ebx, dword [esp + 0x14]
xor esi, esi
mov eax, dword [esi + 0x68aa7cd8]
test ebx, ebx
je 0x68a2491a
test eax, eax
je 0x68a2491a
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 8
push ecx
lea ecx, [esp + 0x24]
xor edi, edi
push ecx
push edi
push edi
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x68a2490d
cmp eax, 0xea
jne 0x68a24911
mov edi, dword [esp + 0x14]
test eax, eax
jne 0x68a2491a
cmp edi, 4
jae 0x68a24922
add esi, 4
cmp esi, 0xc
jb 0x68a248d6
test ebx, ebx
je 0x68a2492d
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x40
lea eax, [esp + 0x2c]
push 0
push eax
call fcn.68a3b750
add esp, 0xc
mov dword [esp + 0x28], 0x40
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
jne 0x68a2495b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 1
push 0x68ab31fc
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x68a2499d
push 0
push 0
push 1
push 0x68ab31fc
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
mov dword [0x68ab31f0], 0xc
mov dword [0x68ab31f8], 0
mov dword [0x68ab31f4], 0x68ab31fc
jmp 0x68a249a3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 1
push 0x68ab29dc
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x68a24aec
lea eax, [esp + 0x20]
mov dword [esp + 0x14], 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 1
lea eax, [esp + 0x3c]
mov word [esp + 0x40], 0x100
push eax
mov dword [esp + 0x4c], 0
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_GetLengthSid]
push 2
push 0x800
push 0x68ab21d0
mov ebx, eax
call dword [sym.imp.ADVAPI32.dll_InitializeAcl]
lea esi, [ebx + 8]
push esi
call fcn.68a398f5
add esp, 4
mov edi, eax
mov dword [esp + 0x10], edi
push esi
push 0
push edi
call fcn.68a3b750
add esp, 0xc
mov dword [edi + 4], 0x10000000
mov word [edi], 0x900
lea esi, [ebx + 8]
mov word [edi + 2], si
add edi, 8
push ebx
push dword [esp + 0x24]
push edi
call fcn.68a3b1d0
mov ecx, dword [esp + 0x1c]
add esp, 0xc
movzx eax, word [ecx + 2]
push eax
push ecx
push 0xffffffffffffffff
push 2
push 0x68ab21d0
call dword [sym.imp.ADVAPI32.dll_AddAce]
mov eax, dword [esp + 0x10]
push ebx
mov dword [eax + 4], 0x1f01ff
mov word [eax], 0x200
mov word [eax + 2], si
push dword [esp + 0x24]
push edi
call fcn.68a3b1d0
mov ebx, dword [esp + 0x1c]
add esp, 0xc
movzx eax, word [ebx + 2]
push eax
push ebx
push 0xffffffffffffffff
push 2
push 0x68ab21d0
call dword [sym.imp.ADVAPI32.dll_AddAce]
push ebx
call fcn.68a39891
add esp, 4
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push 0
push 0x68ab21d0
push 1
push 0x68ab29dc
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
mov dword [0x68ab29d0], 0xc
mov dword [0x68ab29d8], 0
mov dword [0x68ab29d4], 0x68ab29dc
jmp 0x68a24af2
call dword [sym.imp.KERNEL32.dll_GetLastError]
or dword [0x68ab21cc], 2
push 0x18
push 0
mov dword [0x68ab32dc], 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x68a24b82
push 0x2000000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionEx]
push 0x18
push 0
mov dword [0x68ab32dc], esi
mov dword [0x68ab3268], 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x68a24b82
push 0x2000000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionEx]
mov dword [0x68ab3268], esi
xor esi, esi
jmp 0x68a24b92
mov dword [0x68ab3210], 0
mov esi, 8
jmp 0x68a24b8d
mov dword [0x68ab3214], 0
mov esi, 8
jmp 0x68a24b8d
test esi, esi
je 0x68a24b92
call fcn.68a24bc0
mov eax, dword [0x68ab21c4]
test eax, eax
je 0x68a24ba2
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.68a3943b
mov esp, ebp
pop ebp
ret