Function at 0x425caa
Capabilities:
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
xor eax, eax
mov ebx, ecx
push esi
mov esi, eax
mov dword [ebp - 4], eax
push edi
mov edi, eax
mov dword [ebp - 0xc], eax
cmp byte [0x42c464], al
je 0x425f18
push dword [ebx + 4]
push 0x40da48
push 2
call fcn.0041c24c
add esp, 0xc
mov dword [ebp - 0x38], 0x18
xor eax, eax
mov dword [ebp - 0x2c], 0x40
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x28], eax
push 0x4020
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x20]
push 7
push eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x30], ebx
push eax
push 0x100080
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ntdll.dll_ZwOpenFile]
test eax, eax
jns 0x425d2a
push eax
push 0x40daa0
jmp 0x425ec0
mov eax, 0x400
push eax
mov dword [ebp - 8], eax
xor eax, eax
push eax
mov eax, dword fs:[0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov edi, eax
test edi, edi
jne 0x425d5e
push 0x40daf8
push 4
call fcn.0041c24c
pop ecx
pop ecx
jmp 0x425eca
push 0x2f
push dword [ebp - 8]
lea eax, [ebp - 0x20]
push edi
push eax
push dword [ebp - 0xc]
call dword [sym.imp.ntdll.dll_ZwQueryInformationFile]
test eax, eax
jns 0x425d80
push eax
push 0x40db48
jmp 0x425ec0
cmp dword [edi], esi
jne 0x425d8b
push 0x40db98
jmp 0x425d50
push dword [edi]
push 0x40dbe0
push 2
call fcn.0041c24c
xor esi, esi
add esp, 0xc
mov ebx, esi
cmp dword [edi], esi
jbe 0x425ef4
lea eax, [edi + 4]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esi
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0x18
push eax
push 0x1000
lea eax, [ebp - 4]
mov dword [ebp - 0x4c], esi
push eax
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
call dword [sym.imp.ntdll.dll_ZwOpenProcess]
test eax, eax
js 0x425eba
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
push eax
push esi
push esi
push 0x1b
push dword [ebp - 4]
call dword [sym.imp.ntdll.dll_ZwQueryInformationProcess]
cmp eax, 0x80000005
je 0x425e18
cmp eax, 0xc0000023
je 0x425e18
cmp eax, 0xc0000004
jne 0x425ea0
push dword [ebp - 8]
mov eax, dword fs:[0x30]
push esi
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov esi, eax
test esi, esi
je 0x425eb0
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push esi
push 0x1b
push dword [ebp - 4]
call dword [sym.imp.ntdll.dll_ZwQueryInformationProcess]
test eax, eax
js 0x425ea8
xor eax, eax
cmp word [esi], ax
jbe 0x425e54
mov eax, dword [esi + 4]
jmp 0x425e59
mov eax, 0x403650
push eax
push ebx
push 0x40ddac
push 4
call fcn.0041c24c
add esp, 0x10
push dword [ebp - 4]
call dword [sym.imp.ntdll.dll_ZwClose]
xor eax, eax
push esi
mov dword [ebp - 4], eax
push eax
mov eax, dword fs:[0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
xor eax, eax
inc ebx
mov esi, eax
mov eax, dword [ebp - 0x10]
add eax, 4
mov dword [ebp - 0x10], eax
cmp ebx, dword [edi]
jae 0x425eca
jmp 0x425dae
push eax
push 0x40dc70
jmp 0x425ec0
push eax
push 0x40dd58
jmp 0x425ec0
push 0x40dce8
jmp 0x425d50
push eax
push 0x40dc28
push 4
call fcn.0041c24c
add esp, 0xc
cmp dword [ebp - 4], 0
je 0x425ed9
push dword [ebp - 4]
call dword [sym.imp.ntdll.dll_ZwClose]
test esi, esi
je 0x425ef2
mov eax, dword fs:[0x30]
push esi
xor esi, esi
push esi
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
jmp 0x425ef4
xor esi, esi
test edi, edi
je 0x425f09
mov eax, dword fs:[0x30]
push edi
push esi
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
cmp dword [ebp - 0xc], 0
je 0x425f18
push dword [ebp - 0xc]
call dword [sym.imp.ntdll.dll_ZwClose]
pop edi
pop esi
pop ebx
leave
ret