Function at 0x71ce5cd0
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 [0x71d5a008]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
xor esi, esi
push edi
lea ebx, [esi + 1]
cmp dword [0x71d79824], esi
jne 0x71ce5d05
mov ecx, ebx
call fcn.71ce5b10
mov esi, eax
test esi, esi
jne 0x71ce664e
mov eax, dword [0x71d79824]
test eax, eax
je 0x71ce5d15
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x71d79828]
mov ecx, eax
inc eax
mov dword [0x71d79828], eax
test ecx, ecx
jne 0x71ce6633
push str.KERNEL32.DLL
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
je 0x71ce5eac
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push str.IsWow64Process2
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
xor eax, eax
mov word [esp + 0x20], ax
mov word [esp + 0x10], ax
test edi, edi
je 0x71ce5df9
lea eax, [esp + 0x10]
mov ecx, edi
push eax
lea eax, [esp + 0x24]
push eax
push ebx
call dword [0x71d122ac]
call edi
test eax, eax
je 0x71ce5df9
cmp word [esp + 0x20], 0
movzx edx, word [0x71d7a92c]
movzx eax, word [esp + 0x10]
cmovne edx, eax
movzx eax, word [esp + 0x10]
mov word [0x71d7a92c], dx
cmp eax, 0x8664
ja 0x71ce5de5
je 0x71ce5dd8
cmp eax, 0x200
je 0x71ce5dcb
cmp eax, 0x284
jne 0x71ce5e3e
mov eax, 7
mov word [0x71d7a928], ax
jmp 0x71ce5e3e
mov eax, 6
mov word [0x71d7a928], ax
jmp 0x71ce5e3e
mov eax, 9
mov word [0x71d7a928], ax
jmp 0x71ce5e3e
cmp eax, 0xaa64
jne 0x71ce5e3e
mov eax, 0xc
mov word [0x71d7a928], ax
jmp 0x71ce5e3e
push str.IsWow64Process
push esi
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x71ce5e23
lea eax, [esp + 0x14]
mov ecx, edi
push eax
push ebx
call dword [0x71d122ac]
call edi
cmp dword [esp + 0x14], 0
je 0x71ce5e37
mov eax, 0x8664
mov word [0x71d7a92c], ax
jmp 0x71ce5e43
mov dx, word [0x71d7a92c]
test dx, dx
je 0x71ce5e54
push str.Wow64EnableWow64FsRedirection
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x71d7a964], eax
push str.GetLogicalProcessorInformationEx
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x71d7a938], eax
test eax, eax
jne 0x71ce5e7a
push str.GetLogicalProcessorInformation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x71d7a93c], eax
push str.GetTickCount64
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [0x71d7a9cc], 0xf
jl 0x71ce5ea7
push str.PrefetchVirtualMemory
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetCurrentThreadStackLimits
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, 1
push str.NTDLL.DLL
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x71d7a924], eax
test eax, eax
je 0x71ce6051
push str.RtlNtStatusToDosError
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RtlInitUnicodeString
push dword [0x71d7a924]
mov dword [0x71d7a960], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtOpenFile
push dword [0x71d7a924]
mov dword [0x71d7a95c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtCreateFile
push dword [0x71d7a924]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtReadFile
push dword [0x71d7a924]
mov dword [0x71d7a958], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtWriteFile
push dword [0x71d7a924]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtQueryInformationFile
push dword [0x71d7a924]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtSetInformationFile
push dword [0x71d7a924]
mov dword [0x71d7a954], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtQueryVirtualMemory
push dword [0x71d7a924]
mov dword [0x71d7a950], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtQueryObject
push dword [0x71d7a924]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtQueryVolumeInformationFile
push dword [0x71d7a924]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtQueryInformationProcess
push dword [0x71d7a924]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtQueryInformationThread
push dword [0x71d7a924]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtQuerySystemInformation
push dword [0x71d7a924]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtQueryDirectoryFile
push dword [0x71d7a924]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtQueryEaFile
push dword [0x71d7a924]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtClose
push dword [0x71d7a924]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtFsControlFile
push dword [0x71d7a924]
mov dword [0x71d7a94c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtDeviceIoControlFile
push dword [0x71d7a924]
mov dword [0x71d7a948], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtWaitForSingleObject
push dword [0x71d7a924]
mov dword [0x71d7a944], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtDeleteKey
push dword [0x71d7a924]
mov dword [0x71d7a940], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x71d12f5c
push 8
call fcn.71cf5a30
mov esi, eax
add esp, 8
test esi, esi
je 0x71ce6622
push 0x18
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.71cf57f3
add esp, 4
mov dword [0x71d7a874], esi
mov dword [eax], eax
push 0x71d12f5c
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
push 8
mov dword [esi], eax
call fcn.71cf5a30
mov esi, eax
add esp, 8
test esi, esi
je 0x71ce6611
push pe_nt_image_headers32
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.71cf57f3
add esp, 4
mov dword [0x71d7a870], 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 [0x71d7a924]
test eax, eax
je 0x71ce6332
push str.RtlSetThreadErrorMode
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x71d7a908], eax
test eax, eax
jne 0x71ce6108
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x71d7a904], 0
jne 0x71ce613f
mov eax, dword [0x71d7a924]
test eax, eax
jne 0x71ce6124
push 0x7e
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x71ce6139
push str.RtlGetVersion
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x71d7a904], eax
test eax, eax
jne 0x71ce613f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x71d7a900], 0
jne 0x71ce6176
mov eax, dword [0x71d7a924]
test eax, eax
jne 0x71ce615b
push 0x7e
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x71ce6170
push str.RtlPcToFileHeader
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x71d7a900], eax
test eax, eax
jne 0x71ce6176
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [0x71d7a924]
test eax, eax
jne 0x71ce6189
push 0x7e
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x71ce619e
push str.LdrLockLoaderLock
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x71d7a8fc], eax
test eax, eax
jne 0x71ce61a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [0x71d7a924]
test eax, eax
jne 0x71ce61b7
push 0x7e
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x71ce61cc
push str.LdrUnlockLoaderLock
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x71d7a8f8], eax
test eax, eax
jne 0x71ce61d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [0x71d7a924]
test eax, eax
jne 0x71ce61e5
push 0x7e
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x71ce61fa
push str.NtQueryDirectoryFileEx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x71d7a90c], eax
test eax, eax
jne 0x71ce6200
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [0x71d7a924]
test eax, eax
jne 0x71ce6213
push 0x7e
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x71ce6228
push str.NtWow64QueryInformationProcess64
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x71d7a91c], eax
test eax, eax
jne 0x71ce622e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [0x71d7a924]
test eax, eax
jne 0x71ce6241
push 0x7e
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x71ce6256
push str.NtWow64GetNativeSystemInformation
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x71d7a918], eax
test eax, eax
jne 0x71ce625c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [0x71d7a924]
test eax, eax
jne 0x71ce626f
push 0x7e
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x71ce6284
push str.NtWow64QueryVirtualMemory64
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x71d7a914], eax
test eax, eax
jne 0x71ce628a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [0x71d7a924]
test eax, eax
jne 0x71ce629d
push 0x7e
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x71ce62b2
push str.NtWow64ReadVirtualMemory64
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x71d7a910], eax
test eax, eax
jne 0x71ce62b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [0x71d7a918]
test esi, esi
je 0x71ce6332
cmp word [0x71d7a928], 0
jne 0x71ce62ff
push 0
push 0xc
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
push 1
call dword [0x71d122ac]
call esi
movzx edx, word [0x71d7a928]
test eax, eax
movzx ecx, word [esp + 0x14]
mov esi, dword [0x71d7a918]
cmove edx, ecx
mov word [0x71d7a928], dx
push 0
push 0x2c
lea eax, [esp + 0x30]
mov ecx, esi
push eax
push 0
call dword [0x71d122ac]
call esi
test eax, eax
jne 0x71ce6332
mov eax, dword [esp + 0x48]
mov dword [0x71d78070], eax
movzx eax, byte [esp + 0x50]
mov dword [0x71d78074], 0
jmp 0x71ce6337
mov eax, dword [0x71d78080]
test eax, eax
cmove eax, ebx
sub esp, 8
mov dword [0x71d78080], eax
call fcn.71ce7aa0
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.71ce70c0
add esp, 0x18
test eax, eax
jne 0x71ce63d7
mov ebx, dword [esp + 0x14]
xor esi, esi
nop dword [eax]
mov eax, dword [esi + 0x71d54c00]
test ebx, ebx
je 0x71ce63c4
test eax, eax
je 0x71ce63c4
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 0x71ce63b7
cmp eax, 0xea
jne 0x71ce63bb
mov edi, dword [esp + 0x14]
test eax, eax
jne 0x71ce63c4
cmp edi, 4
jae 0x71ce63cc
add esi, 4
cmp esi, 0xc
jb 0x71ce6380
test ebx, ebx
je 0x71ce63d7
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x40
lea eax, [esp + 0x2c]
push 0
push eax
call fcn.71cf7720
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 0x71ce6405
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 1
push 0x71d7a85c
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x71ce6447
push 0
push 0
push 1
push 0x71d7a85c
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
mov dword [0x71d7a850], 0xc
mov dword [0x71d7a858], 0
mov dword [0x71d7a854], 0x71d7a85c
jmp 0x71ce644d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 1
push 0x71d7a03c
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x71ce6596
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 0x71d79830
mov ebx, eax
call dword [sym.imp.ADVAPI32.dll_InitializeAcl]
lea esi, [ebx + 8]
push esi
call fcn.71cf5a1c
add esp, 4
mov edi, eax
mov dword [esp + 0x10], edi
push esi
push 0
push edi
call fcn.71cf7720
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.71cf71a0
mov ecx, dword [esp + 0x1c]
add esp, 0xc
movzx eax, word [ecx + 2]
push eax
push ecx
push 0xffffffffffffffff
push 2
push 0x71d79830
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.71cf71a0
mov ebx, dword [esp + 0x1c]
add esp, 0xc
movzx eax, word [ebx + 2]
push eax
push ebx
push 0xffffffffffffffff
push 2
push 0x71d79830
call dword [sym.imp.ADVAPI32.dll_AddAce]
push ebx
call fcn.71cf5a25
add esp, 4
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push 0
push 0x71d79830
push 1
push 0x71d7a03c
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
mov dword [0x71d7a030], 0xc
mov dword [0x71d7a038], 0
mov dword [0x71d7a034], 0x71d7a03c
jmp 0x71ce659c
call dword [sym.imp.KERNEL32.dll_GetLastError]
or dword [0x71d7982c], 2
push 0x18
push 0
mov dword [0x71d7a968], 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x71ce662c
push 0x2000000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionEx]
push 0x18
push 0
mov dword [0x71d7a968], esi
mov dword [0x71d7a8f4], 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x71ce662c
push 0x2000000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionEx]
mov dword [0x71d7a8f4], esi
xor esi, esi
jmp 0x71ce663c
mov dword [0x71d7a870], 0
mov esi, 8
jmp 0x71ce6637
mov dword [0x71d7a874], 0
mov esi, 8
jmp 0x71ce6637
test esi, esi
je 0x71ce663c
call fcn.71ce6660
mov eax, dword [0x71d79824]
test eax, eax
je 0x71ce664c
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.71cf548b
mov esp, ebp
pop ebp
ret