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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x51c100]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor esi, esi
mov ebx, ecx
push edi
mov dword [ebp - 0x64], ebx
lea edi, [esi + 1]
cmp dword [0x5236b8], esi
jne 0x468786
mov ecx, edi
call fcn.004685a0
mov esi, eax
test esi, esi
jne 0x4690db
mov eax, dword [0x5236b8]
test eax, eax
je 0x468796
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x5236dc]
mov ecx, eax
inc eax
mov dword [0x5236dc], eax
test ecx, ecx
jne 0x4690c0
push str.KERNEL32.DLL
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
je 0x468927
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x503f20
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
xor eax, eax
mov word [ebp - 0x1c], ax
mov word [ebp - 8], ax
test edi, edi
je 0x46886f
lea eax, [ebp - 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
call dword [0x4e933c]
call edi
test eax, eax
je 0x46886f
cmp word [ebp - 0x1c], 0
movzx edx, word [0x523950]
movzx eax, word [ebp - 8]
cmovne edx, eax
movzx eax, word [ebp - 8]
mov word [0x523950], dx
cmp eax, 0x8664
ja 0x46885b
je 0x46884e
cmp eax, 0x200
je 0x468841
cmp eax, 0x284
jne 0x4688b1
mov eax, 7
mov word [0x523940], ax
jmp 0x4688b1
mov eax, 6
mov word [0x523940], ax
jmp 0x4688b1
mov eax, 9
mov word [0x523940], ax
jmp 0x4688b1
cmp eax, 0xaa64
jne 0x4688b1
mov eax, 0xc
mov word [0x523940], ax
jmp 0x4688b1
push 0x503f30
push esi
mov dword [ebp - 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x468897
lea eax, [ebp - 0xc]
mov ecx, edi
push eax
push ebx
call dword [0x4e933c]
call edi
cmp dword [ebp - 0xc], 0
je 0x4688aa
mov eax, 0x8664
mov word [0x523950], ax
jmp 0x4688b6
mov dx, word [0x523950]
test dx, dx
je 0x4688c7
push str.Wow64EnableWow64FsRedirection
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x523994], eax
push str.GetLogicalProcessorInformationEx
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x523958], eax
test eax, eax
jne 0x4688ed
push str.GetLogicalProcessorInformation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x52395c], eax
push 0x503f7c
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [0x5239f0], 0xf
jl 0x46891f
push str.PrefetchVirtualMemory
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetCurrentThreadStackLimits
push esi
mov dword [0x523960], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, dword [ebp - 0x64]
mov edi, 1
push str.NTDLL.DLL
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x52393c], eax
test eax, eax
je 0x468ad6
push 0x503fe4
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RtlInitUnicodeString
push dword [0x52393c]
mov dword [0x523990], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtOpenFile
push dword [0x52393c]
mov dword [0x523980], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtCreateFile
push dword [0x52393c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtReadFile
push dword [0x52393c]
mov dword [0x523988], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtWriteFile
push dword [0x52393c]
mov dword [0x523984], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtQueryInformationFile
push dword [0x52393c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtSetInformationFile
push dword [0x52393c]
mov dword [0x523978], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtQueryVirtualMemory
push dword [0x52393c]
mov dword [0x52397c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtQueryObject
push dword [0x52393c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtQueryVolumeInformationFile
push dword [0x52393c]
mov dword [0x523974], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtQueryInformationProcess
push dword [0x52393c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtQueryInformationThread
push dword [0x52393c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtQuerySystemInformation
push dword [0x52393c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtQueryDirectoryFile
push dword [0x52393c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtQueryEaFile
push dword [0x52393c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x504154
push dword [0x52393c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtFsControlFile
push dword [0x52393c]
mov dword [0x523970], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtDeviceIoControlFile
push dword [0x52393c]
mov dword [0x523968], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtWaitForSingleObject
push dword [0x52393c]
mov dword [0x523964], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x504190
push dword [0x52393c]
mov dword [0x52396c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4ef20c
push 8
call fcn.004a1110
mov esi, eax
add esp, 8
test esi, esi
je 0x4690af
push 0x18
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004a05c1
add esp, 4
mov dword [0x521d84], esi
mov dword [eax], eax
push 0x4ef20c
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
push 8
mov dword [esi], eax
call fcn.004a1110
mov esi, eax
add esp, 8
test esi, esi
je 0x46909e
push 0x120
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004a05c1
add esp, 4
mov dword [0x522dc8], 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 [0x52393c]
test eax, eax
je 0x468db7
push str.RtlSetThreadErrorMode
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x523920], eax
test eax, eax
jne 0x468b8d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x52391c], 0
jne 0x468bc4
mov eax, dword [0x52393c]
test eax, eax
jne 0x468ba9
push 0x7e
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x468bbe
push str.RtlGetVersion
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x52391c], eax
test eax, eax
jne 0x468bc4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x523928], 0
jne 0x468bfb
mov eax, dword [0x52393c]
test eax, eax
jne 0x468be0
push 0x7e
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x468bf5
push str.RtlPcToFileHeader
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x523928], eax
test eax, eax
jne 0x468bfb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [0x52393c]
test eax, eax
jne 0x468c0e
push 0x7e
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x468c23
push str.LdrLockLoaderLock
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x523924], eax
test eax, eax
jne 0x468c29
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [0x52393c]
test eax, eax
jne 0x468c3c
push 0x7e
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x468c51
push str.LdrUnlockLoaderLock
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5238e8], eax
test eax, eax
jne 0x468c57
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [0x52393c]
test eax, eax
jne 0x468c6a
push 0x7e
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x468c7f
push str.NtQueryDirectoryFileEx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x523934], eax
test eax, eax
jne 0x468c85
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [0x52393c]
test eax, eax
jne 0x468c98
push 0x7e
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x468cad
push str.NtWow64QueryInformationProcess64
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x523944], eax
test eax, eax
jne 0x468cb3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [0x52393c]
test eax, eax
jne 0x468cc6
push 0x7e
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x468cdb
push str.NtWow64GetNativeSystemInformation
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x523930], eax
test eax, eax
jne 0x468ce1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [0x52393c]
test eax, eax
jne 0x468cf4
push 0x7e
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x468d09
push str.NtWow64QueryVirtualMemory64
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x52392c], eax
test eax, eax
jne 0x468d0f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [0x52393c]
test eax, eax
jne 0x468d22
push 0x7e
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x468d37
push str.NtWow64ReadVirtualMemory64
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x523938], eax
test eax, eax
jne 0x468d3d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [0x523930]
test esi, esi
je 0x468db7
cmp word [0x523940], 0
jne 0x468d82
push 0
push 0xc
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
push 1
call dword [0x4e933c]
call esi
movzx edx, word [0x523940]
test eax, eax
movzx ecx, word [ebp - 0x14]
mov esi, dword [0x523930]
cmove edx, ecx
mov word [0x523940], dx
push 0
push 0x2c
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
push 0
call dword [0x4e933c]
call esi
test eax, eax
jne 0x468db7
mov eax, dword [ebp - 0x2c]
mov dword [0x51cbb0], eax
movzx eax, byte [ebp - 0x24]
mov dword [0x51cbb4], 0
mov dword [0x51cbc0], eax
jmp 0x468dbc
mov eax, dword [0x51cbc0]
and ebx, 1
mov dword [ebp - 0x64], ebx
jne 0x468e04
cmp word [0x5238ec], 0
mov ecx, 0x5238ec
mov eax, 0x5009f8
cmovne eax, ecx
sub esp, 0xc
lea ecx, [ebp - 0x40]
push str.aswSP
push 0x10
push ecx
push eax
call fcn.0046bf60
add esp, 0x14
mov edx, eax
mov ecx, 0x523948
call fcn.0046a030
mov eax, dword [0x51cbc0]
add esp, 8
test eax, eax
cmove eax, edi
sub esp, 8
mov dword [0x51cbc0], eax
call fcn.0046a0e0
push 0
push 0x80000002
lea eax, [ebp - 0xc]
xorps xmm0, xmm0
push eax
push 1
mov edx, str.HardwareDescriptionSystemCentralProcessor0
movlpd qword [ebp - 0x20], xmm0
xor ecx, ecx
call fcn.00469ce0
add esp, 0x18
test eax, eax
jne 0x468e96
mov ebx, dword [ebp - 0xc]
xor esi, esi
mov eax, dword [esi + 0x50441c]
test ebx, ebx
je 0x468e83
test eax, eax
je 0x468e83
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], 8
push ecx
lea ecx, [ebp - 0x20]
xor edi, edi
push ecx
push edi
push edi
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x468e77
cmp eax, 0xea
jne 0x468e7a
mov edi, dword [ebp - 0xc]
test eax, eax
jne 0x468e83
cmp edi, 4
jae 0x468e8b
add esi, 4
cmp esi, 0xc
jb 0x468e43
test ebx, ebx
je 0x468e96
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x40
lea eax, [ebp - 0x60]
push 0
push eax
call fcn.004a3580
add esp, 0xc
mov dword [ebp - 0x60], 0x40
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
jne 0x468ec1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 1
push 0x522594
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x468f03
push 0
push 0
push 1
push 0x522594
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
mov dword [0x522588], 0xc
mov dword [0x522590], 0
mov dword [0x52258c], 0x522594
jmp 0x468f09
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 1
push 0x522db4
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x469045
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x10], 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 1
lea eax, [ebp - 0x10]
mov word [ebp - 0xc], 0x100
push eax
mov dword [ebp - 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_GetLengthSid]
push 2
push 0x800
push 0x5225a8
mov ebx, eax
call dword [sym.imp.ADVAPI32.dll_InitializeAcl]
lea esi, [ebx + 8]
push esi
call fcn.004a05ff
add esp, 4
mov edi, eax
mov dword [ebp - 8], edi
push esi
push 0
push edi
call fcn.004a3580
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 [ebp - 0x1c]
push edi
call fcn.004a3000
mov ecx, dword [ebp - 8]
add esp, 0xc
movzx eax, word [ecx + 2]
push eax
push ecx
push 0xffffffffffffffff
push 2
push 0x5225a8
call dword [sym.imp.ADVAPI32.dll_AddAce]
mov eax, dword [ebp - 8]
push ebx
mov dword [eax + 4], 0x1f01ff
mov word [eax], 0x200
mov word [eax + 2], si
push dword [ebp - 0x1c]
push edi
call fcn.004a3000
mov ebx, dword [ebp - 8]
add esp, 0xc
movzx eax, word [ebx + 2]
push eax
push ebx
push 0xffffffffffffffff
push 2
push 0x5225a8
call dword [sym.imp.ADVAPI32.dll_AddAce]
push ebx
call fcn.004a05f1
add esp, 4
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push 0
push 0x5225a8
push 1
push 0x522db4
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
mov dword [0x522da8], 0xc
mov dword [0x522db0], 0
mov dword [0x522dac], 0x522db4
jmp 0x46904b
call dword [sym.imp.KERNEL32.dll_GetLastError]
or dword [0x5236e0], 2
push 0x18
push 0
mov dword [0x52398c], 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x4690b9
push 0x2000000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionEx]
mov dword [0x52398c], esi
xor esi, esi
cmp dword [ebp - 0x64], esi
jne 0x4690c9
push 0x4fd309
push esi
call fcn.004b9ec0
add esp, 8
jmp 0x4690c9
mov dword [0x522dc8], 0
mov esi, 8
jmp 0x4690c4
mov dword [0x521d84], 0
mov esi, 8
jmp 0x4690c4
test esi, esi
je 0x4690c9
call fcn.004690f0
mov eax, dword [0x5236b8]
test eax, eax
je 0x4690d9
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a057b
mov esp, ebp
pop ebp
ret