Function at 0x452cc0
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get ntdll base address
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5818ff
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x634384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x70
call fcn.00539040
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
mov dword [eax + 0x38], 0
mov dword [eax + 0x3c], 0
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0x50], 0
mov dword [eax + 0x54], 0
mov dword [eax + 0x58], 0
mov dword [eax + 0x5c], 0
mov dword [eax + 0x60], 0
mov dword [eax + 0x64], 0
mov dword [eax + 0x68], 0
mov dword [eax + 0x6c], 0
mov dword [ebp - 4], 0xffffffff
push 0x5ebb24
mov dword [0x651f1c], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
test edi, edi
je 0x452fbe
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtCreateFile
push edi
call esi
mov ecx, dword [0x651f1c]
push str.NtOpenFile
push edi
mov dword [ecx], eax
call esi
mov ecx, dword [0x651f1c]
push str.NtReadFile
push edi
mov dword [ecx + 4], eax
call esi
mov ecx, dword [0x651f1c]
push 0x5ebb58
push edi
mov dword [ecx + 8], eax
call esi
mov ecx, dword [0x651f1c]
push str.NtDeleteFile
push edi
mov dword [ecx + 0xc], eax
call esi
mov ecx, dword [0x651f1c]
push str.NtQueryFullAttributesFile
push edi
mov dword [ecx + 0x10], eax
call esi
mov ecx, dword [0x651f1c]
push str.NtQueryInformationFile
push edi
mov dword [ecx + 0x14], eax
call esi
mov ecx, dword [0x651f1c]
push str.NtSetInformationFile
push edi
mov dword [ecx + 0x18], eax
call esi
mov ecx, dword [0x651f1c]
push str.NtQueryVolumeInformationFile
push edi
mov dword [ecx + 0x1c], eax
call esi
mov ecx, dword [0x651f1c]
push str.NtQueryEaFile
push edi
mov dword [ecx + 0x20], eax
call esi
mov ecx, dword [0x651f1c]
push str.NtSetEaFile
push edi
mov dword [ecx + 0x24], eax
call esi
mov ecx, dword [0x651f1c]
push str.NtQueryDirectoryFile
push edi
mov dword [ecx + 0x28], eax
call esi
mov ecx, dword [0x651f1c]
push str.NtQueryDirectoryFileEx
push edi
mov dword [ecx + 0x2c], eax
call esi
mov ecx, dword [0x651f1c]
push str.NtQuerySecurityObject
push edi
mov dword [ecx + 0x30], eax
call esi
mov ecx, dword [0x651f1c]
push str.NtSetSecurityObject
push edi
mov dword [ecx + 0x34], eax
call esi
mov ecx, dword [0x651f1c]
push str.NtAllocateLocallyUniqueId
push edi
mov dword [ecx + 0x38], eax
call esi
mov ecx, dword [0x651f1c]
mov dword [ecx + 0x3c], eax
push str.NtOpenSection
push edi
call esi
mov ecx, dword [0x651f1c]
push str.NtOpenSymbolicLinkObject
push edi
mov dword [ecx + 0x40], eax
call esi
mov ecx, dword [0x651f1c]
push str.NtQuerySymbolicLinkObject
push edi
mov dword [ecx + 0x44], eax
call esi
mov ecx, dword [0x651f1c]
push str.NtSetInformationThread
push edi
mov dword [ecx + 0x48], eax
call esi
mov ecx, dword [0x651f1c]
push str.NtWaitForSingleObject
push edi
mov dword [ecx + 0x4c], eax
call esi
mov ecx, dword [0x651f1c]
push str.LdrQueryProcessModuleInformation
push edi
mov dword [ecx + 0x50], eax
call esi
mov ecx, dword [0x651f1c]
push str.RtlIsPartialPlaceholderFileInfo
push edi
mov dword [ecx + 0x54], eax
call esi
mov ecx, dword [0x651f1c]
push str.RtlGetVersion
push edi
mov dword [ecx + 0x58], eax
call esi
mov ecx, dword [0x651f1c]
push str.RtlImageNtHeader
push edi
mov dword [ecx + 0x5c], eax
call esi
mov ecx, dword [0x651f1c]
push str.RtlNtStatusToDosError
push edi
mov dword [ecx + 0x60], eax
call esi
mov ecx, dword [0x651f1c]
push str.NtQueryVirtualMemory
push edi
mov dword [ecx + 0x64], eax
call esi
mov ecx, dword [0x651f1c]
push str.NtOpenDirectoryObject
push edi
mov dword [ecx + 0x68], eax
call esi
mov ecx, dword [0x651f1c]
mov dword [ecx + 0x6c], eax
mov eax, 0x651f1c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret