Function at 0x45c040
Capabilities:
Get os information via kuser_shared_data
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
push esi
mov esi, ecx
push edi
mov dword [esi], 0
mov dword [esi + 4], str.SetProcessMitigationPolicy
mov dword [esi + 8], 0
mov dword [esi + 0xc], str.QueryUnbiasedInterruptTimePrecise
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], str.QueryInterruptTime
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], str.QueryInterruptTimePrecise
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], str.SetThreadDescription
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], str.NtQueryInformationFile
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], str.NtSetInformationFile
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], str.NtQuerySystemInformation
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], str.NtQueryObject
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], str.NtSuspendProcess
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], str.NtResumeProcess
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], str.NtQueryInformationProcess
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], str.NtQueryVolumeInformationFile
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], str.SetProcessDEPPolicy
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], str.NtWow64ReadVirtualMemory64
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], str.NtQueryVirtualMemory
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], str.NtQueryDirectoryFile
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], str.NtQueryDirectoryFileEx
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], str.NtCreateFile
mov dword [esi + 0x98], 0
mov dword [esi + 0x9c], str.NtClose
mov dword [esi + 0xa0], 0
mov dword [esi + 0xa4], str.SetSearchPathMode
mov dword [esi + 0xa8], 0
mov dword [esi + 0xac], str.RtlGetNtVersionNumbers
mov dword [esi + 0xb0], 0
mov dword [esi + 0xb4], str.NtQueryInformationByName
mov dword [esi + 0xb8], 0
mov dword [esi + 0xbc], str.NtQueryFullAttributesFile
mov dword [esi + 0xc0], 0
mov dword [esi + 0xc4], str.NtFsControlFile
mov dword [esi + 0xc8], 0
mov dword [esi + 0xcc], 0x5c27c0
mov dword [esi + 0xd0], 0
mov dword [esi + 0xd4], str.InitializeProcThreadAttributeList
mov dword [esi + 0xd8], 0
mov dword [esi + 0xdc], str.UpdateProcThreadAttribute
mov dword [esi + 0xe0], 0
mov dword [esi + 0xe4], str.DeleteProcThreadAttributeList
mov dword [esi + 0xe8], 0
mov dword [esi + 0xec], str.NtCompareTokens
mov dword [esi + 0xf0], 0
mov dword [esi + 0xf4], str.NtQueryEaFile
mov dword [esi + 0xf8], 0
mov dword [esi + 0xfc], str.NtSetEaFile
mov dword [esi + 0x100], 0
mov dword [esi + 0x104], 0x5c2834
mov dword [esi + 0x108], 0
mov dword [esi + 0x10c], str.NtQuerySecurityObject
mov dword [esi + 0x110], 0
mov dword [esi + 0x114], str.RtlGetOwnerSecurityDescriptor
mov dword [esi + 0x118], 0
mov dword [esi + 0x11c], str.LdrRegisterDllNotification
mov dword [esi + 0x120], 0
mov dword [esi + 0x124], str.LdrUnregisterDllNotification
mov dword [esi + 0x128], 0
mov dword [esi + 0x12c], str.LdrFindEntryForAddress
mov dword [esi + 0x130], 0
mov dword [esi + 0x134], str.NtPowerInformation
mov dword [esi + 0x138], 0
xorps xmm0, xmm0
mov dword [esi + 0x13c], str.NtSetInformationProcess
xor edi, edi
mov dword [esi + 0x140], 0
mov dword [esi + 0x144], str.NtCreateDirectoryObjectEx
mov dword [esi + 0x148], 0
mov dword [esi + 0x14c], str.NtCreateSymbolicLinkObject
mov dword [esi + 0x150], 0
mov dword [esi + 0x154], str.RtlUnicodeToUTF8N
mov dword [esi + 0x158], 0
mov dword [esi + 0x15c], str.NtQueryInformationThread
mov dword [esi + 0x160], 0
mov dword [esi + 0x164], str.NtOpenFile
mov dword [esi + 0x168], 0
mov dword [esi + 0x16c], str.NtQueryLicenseValue
mov dword [esi + 0x170], 0
mov dword [esi + 0x174], str.NtQuerySection
mov eax, dword [0x7ffe026c]
mov ecx, dword [0x7ffe0270]
mov edx, dword [0x7ffe0260]
mov word [esp + 0x10], ax
mov word [esp + 0x18], ax
xor eax, eax
movq qword [esp + 0x2c], xmm0
mov word [esp + 0x1e], ax
mov word [esp + 0x12], cx
mov word [esp + 0x14], dx
mov word [esp + 0x16], di
mov word [esp + 0x1a], cx
mov word [esp + 0x1c], dx
movups xmm0, xmmword [esp + 0x10]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
movups xmmword [esi + 0x178], xmm0
mov dword [esp + 0x28], eax
movups xmm0, xmmword [esp + 0x20]
mov dword [esp + 0x34], eax
movups xmmword [esi + 0x188], xmm0
movq xmm0, qword [esp + 0x30]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x10]
movq qword [esi + 0x198], xmm0
xorps xmm0, xmm0
push eax
movaps xmmword [esp + 0x14], xmm0
movaps xmmword [esp + 0x24], xmm0
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movups xmm0, xmmword [esp + 0x10]
mov eax, dword [esp + 0x30]
movups xmmword [esi + 0x1a0], xmm0
movups xmm0, xmmword [esp + 0x20]
movups xmmword [esi + 0x1b0], xmm0
mov dword [esi + 0x1c0], eax
call dword [sym.imp.KERNEL32.dll_GetLargePageMinimum]
push str.ntdll.dll
mov dword [esi + 0x1c4], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, eax
lea edi, [esi + 0x88]
test ecx, ecx
je 0x45c5df
lea eax, [esi + 0x170]
push eax
lea eax, [esi + 0x168]
push eax
lea eax, [esi + 0x160]
push eax
lea eax, [esi + 0x158]
push eax
lea eax, [esi + 0x150]
push eax
lea eax, [esi + 0x148]
push eax
lea eax, [esi + 0x140]
push eax
lea eax, [esi + 0x138]
push eax
lea eax, [esi + 0x130]
push eax
lea eax, [esi + 0x128]
push eax
lea eax, [esi + 0x120]
push eax
lea eax, [esi + 0x118]
push eax
lea eax, [esi + 0x110]
push eax
lea eax, [esi + 0x108]
push eax
lea eax, [esi + 0xf8]
push eax
lea eax, [esi + 0xf0]
push eax
lea eax, [esi + 0xe8]
push eax
lea eax, [esi + 0xc0]
push eax
lea eax, [esi + 0xb8]
push eax
lea eax, [esi + 0xb0]
push eax
lea eax, [esi + 0xa8]
push eax
lea eax, [esi + 0x98]
push eax
lea eax, [esi + 0x90]
push eax
push edi
lea eax, [esi + 0x80]
push eax
lea eax, [esi + 0x78]
push eax
lea eax, [esi + 0x70]
push eax
lea eax, [esi + 0x60]
push eax
lea eax, [esi + 0x58]
push eax
lea eax, [esi + 0x50]
push eax
lea eax, [esi + 0x48]
push eax
lea eax, [esi + 0x40]
push eax
lea eax, [esi + 0x38]
push eax
lea eax, [esi + 0x30]
push eax
lea edx, [esi + 0x28]
call fcn.0045c610
add esp, 0x88
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x45c5ea
lea ecx, [esi + 0xe0]
mov edx, esi
push ecx
lea ecx, [esi + 0xd8]
push ecx
lea ecx, [esi + 0xd0]
push ecx
lea ecx, [esi + 0xc8]
push ecx
lea ecx, [esi + 0xa0]
push ecx
lea ecx, [esi + 0x68]
push ecx
lea ecx, [esi + 0x20]
push ecx
mov ecx, eax
call fcn.0045d530
add esp, 0x1c
push str.KernelBase.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x45c5f2
lea ecx, [esi + 0x100]
push ecx
lea ecx, [esi + 0x18]
push ecx
lea ecx, [esi + 0x10]
push ecx
lea edx, [esi + 8]
mov ecx, eax
call fcn.0045d8c0
add esp, 0xc
cmp dword [esi + 0x80], 0
mov eax, esi
je 0x45c5d9
cmp dword [edi], 0
je 0x45c5fa
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x45c554
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x45c59e
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x45c5c9
mov dword [edi], 0x45bfc0
jmp 0x45c5d9