Function at 0x42def0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x41], 0
mov dword [ebp - 0xc], 0x1000
mov dword [ebp - 0x24], 0x18
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0x40
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x2c]
push edx
call fcn.0042da60
add esp, 8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jge 0x42df58
xor al, al
jmp 0x42e1c4
mov dword [ebp - 0x68], 0x18
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x5c], 0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov ecx, 8
mov word [ebp - 0x36], cx
xor edx, edx
mov word [ebp - 0x38], dx
lea eax, [ebp - 0x50]
mov dword [ebp - 0x34], eax
push 2
push 0
push 0
lea ecx, [ebp - 8]
push ecx
push 0xffffffffffffffff
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.Ntdll.dll_NtDuplicateObject]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jl 0x42e1a9
mov ecx, dword [ebp - 0xc]
push ecx
push 8
call fcn.004011a0
mov edx, dword [eax + 0x30]
mov eax, dword [edx + 0x18]
push eax
call dword [sym.imp.Ntdll.dll_RtlAllocateHeap]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x42e19f
mov ecx, dword [ebp - 8]
push ecx
call fcn.0042c930
add esp, 4
movzx edx, al
test edx, edx
je 0x42dffc
mov dword [ebp - 0x30], 0xc0000024
cmp dword [ebp - 0x30], 0
jl 0x42e187
movzx eax, byte [ebp - 0x41]
test eax, eax
jne 0x42e062
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0xc]
push edx
push 0
mov eax, dword [ebp - 4]
push eax
call fcn.00405450
add esp, 0xc
push 0x30
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x6c]
push edx
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.Ntdll.dll_NtQueryInformationFile]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jl 0x42e062
mov edx, dword [ebp - 0x6c]
push edx
lea eax, [ebp - 0x24]
push eax
call fcn.0042d770
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x42e062
mov byte [ebp - 0x41], 1
movzx edx, byte [ebp - 0x41]
test edx, edx
jne 0x42e0be
mov eax, dword [ebp - 4]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0xc]
push ecx
push 0
mov edx, dword [ebp - 4]
push edx
call fcn.00405450
add esp, 0xc
push 9
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x70]
push ecx
lea edx, [ebp - 0x40]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.Ntdll.dll_NtQueryInformationFile]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jl 0x42e0be
mov ecx, dword [ebp - 0x70]
push ecx
lea edx, [ebp - 0x24]
push edx
call fcn.0042d770
add esp, 8
movzx eax, al
test eax, eax
je 0x42e0be
mov byte [ebp - 0x41], 1
movzx ecx, byte [ebp - 0x41]
test ecx, ecx
jne 0x42e11a
mov edx, dword [ebp - 4]
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
call fcn.00405450
add esp, 0xc
push 0x15
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x74]
push eax
lea ecx, [ebp - 0x40]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.Ntdll.dll_NtQueryInformationFile]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jl 0x42e11a
mov eax, dword [ebp - 0x74]
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.0042d770
add esp, 8
movzx edx, al
test edx, edx
je 0x42e11a
mov byte [ebp - 0x41], 1
movzx eax, byte [ebp - 0x41]
test eax, eax
jne 0x42e187
cmp dword [ebp - 0x60], 0
je 0x42e187
mov ecx, dword [ebp - 0x60]
movzx edx, word [ecx]
cmp edx, 8
jne 0x42e187
mov eax, dword [ebp - 4]
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0xc]
push ecx
push 0
mov edx, dword [ebp - 4]
push edx
call fcn.00405450
add esp, 0xc
push 6
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x78]
push ecx
lea edx, [ebp - 0x40]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.Ntdll.dll_NtQueryInformationFile]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jl 0x42e187
mov ecx, dword [ebp - 0x78]
push ecx
lea edx, [ebp - 0x68]
push edx
call fcn.0042cc20
add esp, 8
movzx eax, al
test eax, eax
je 0x42e187
mov byte [ebp - 0x41], 1
mov ecx, dword [ebp - 4]
push ecx
push 0
call fcn.004011a0
mov edx, dword [eax + 0x30]
mov eax, dword [edx + 0x18]
push eax
call dword [sym.imp.Ntdll.dll_RtlFreeHeap]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.Ntdll.dll_NtClose]
mov edx, dword [ebp - 0x28]
push edx
push 0
call fcn.004011a0
mov eax, dword [eax + 0x30]
mov ecx, dword [eax + 0x18]
push ecx
call dword [sym.imp.Ntdll.dll_RtlFreeHeap]
mov al, byte [ebp - 0x41]
mov esp, ebp
pop ebp
ret