Function at 0x458d20
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get ntdll base address
Get os information via kuser_shared_data
Get system information on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bd570
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
push esi
push edi
mov eax, dword [0x4f7108]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
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], str.ProcessIdToSessionId
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], 0x4e2e24
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
mov dword [esi + 0x13c], str.NtSetInformationProcess
mov dword [esi + 0x140], 0
mov dword [esi + 0x144], str.NtCreateDirectoryObjectEx
xorps xmm0, xmm0
mov dword [esi + 0x148], 0
xor edi, edi
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 [ebp - 0x38], ax
mov word [ebp - 0x30], ax
xor eax, eax
movq qword [ebp - 0x1c], xmm0
mov word [ebp - 0x2a], ax
mov word [ebp - 0x36], cx
mov word [ebp - 0x34], dx
mov word [ebp - 0x32], di
mov word [ebp - 0x2e], cx
mov word [ebp - 0x2c], dx
movups xmm0, xmmword [ebp - 0x38]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
movups xmmword [esi + 0x178], xmm0
mov dword [ebp - 0x20], eax
movups xmm0, xmmword [ebp - 0x28]
mov dword [ebp - 0x14], eax
movups xmmword [esi + 0x188], xmm0
movq xmm0, qword [ebp - 0x18]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x38]
movq qword [esi + 0x198], xmm0
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x38], xmm0
movups xmmword [ebp - 0x28], xmm0
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movups xmm0, xmmword [ebp - 0x38]
mov eax, dword [ebp - 0x18]
movups xmmword [esi + 0x1a0], xmm0
movups xmm0, xmmword [ebp - 0x28]
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 0x4592e6
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.00459310
add esp, 0x88
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4592f1
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.0045a3e0
add esp, 0x1c
push str.KernelBase.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4592f9
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.0045a800
add esp, 0xc
cmp dword [esi + 0x80], 0
mov eax, esi
je 0x4592d2
cmp dword [edi], 0
je 0x459301
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x45924d
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x459297
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4592c2
mov dword [edi], 0x458ca0
jmp 0x4592d2