Function at 0x68915ca0
Capabilities:
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
cmp dword [ebp + 0x14], 0
jne 0x68915ccf
cmp dword [ebp + 0xc], 0
jne 0x68915ccf
cmp dword [ebp + 0x10], 0
jne 0x68915cde
push 0x57
call sub.kernel32.dll_SetLastError
or eax, 0xffffffff
jmp 0x68915f4b
push 0
push 0
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ntext.dll_RtlDosPathNameToNtPathName_U]
movzx edx, al
test edx, edx
jne 0x68915d06
push 3
call sub.kernel32.dll_SetLastError
or eax, 0xffffffff
jmp 0x68915f4b
mov dword [ebp - 0x40], 0x18
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x34], 0x40
lea eax, [ebp - 0x20]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
push 0
push 0
push 0
push 1
push 7
push 0
push 0
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x40]
push edx
push 0
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ntext.dll_NtCreateFile]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jge 0x68915d5f
jmp 0x68915f0a
push 0x2c
push 8
call fcn.68911060
mov ecx, dword [eax + 0x30]
mov edx, dword [ecx + 0x18]
push edx
call dword [sym.imp.ntext.dll_RtlAllocateHeap]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x68915d8a
mov dword [ebp - 8], 0xc0000017
jmp 0x68915f0a
mov eax, dword [ebp - 0xc]
mov dword [eax], 2
mov ecx, dword [ebp - 0xc]
add ecx, 0x20
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x1c], ecx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 4]
mov dword [edx + 8], 0
mov eax, dword [ebp - 0xc]
add eax, 4
push eax
call dword [sym.imp.ntext.dll_RtlInitializeCriticalSection]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jge 0x68915df7
mov ecx, dword [ebp - 0xc]
push ecx
push 0
call fcn.68911060
mov edx, dword [eax + 0x30]
mov eax, dword [edx + 0x18]
push eax
call dword [sym.imp.ntext.dll_RtlFreeHeap]
jmp 0x68915f0a
mov ecx, dword [ebp - 0x10]
add ecx, 0x1000
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0
jne 0x68915e3e
mov eax, dword [ebp - 0x10]
push eax
push 8
call fcn.68911060
mov ecx, dword [eax + 0x30]
mov edx, dword [ecx + 0x18]
push edx
call dword [sym.imp.ntext.dll_RtlAllocateHeap]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0
jne 0x68915e3c
mov dword [ebp - 8], 0xc0000017
jmp 0x68915ea3
jmp 0x68915e78
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
push 0
call fcn.68911060
mov eax, dword [eax + 0x30]
mov ecx, dword [eax + 0x18]
push ecx
call dword [sym.imp.ntext.dll_RtlReAllocateHeap]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x68915e6f
mov dword [ebp - 8], 0xc0000017
jmp 0x68915ea3
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x18]
mov dword [edx + 4], eax
push 0x16
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ntext.dll_NtQueryInformationFile]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xc0000023
je 0x68915df7
cmp dword [ebp - 8], 0
jl 0x68915ece
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [eax + 8], edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.68915ae0
add esp, 8
mov dword [ebp - 8], 0
jmp 0x68915f0a
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0
je 0x68915ef2
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
push 0
call fcn.68911060
mov edx, dword [eax + 0x30]
mov eax, dword [edx + 0x18]
push eax
call dword [sym.imp.ntext.dll_RtlFreeHeap]
mov ecx, dword [ebp - 0xc]
push ecx
push 0
call fcn.68911060
mov edx, dword [eax + 0x30]
mov eax, dword [edx + 0x18]
push eax
call dword [sym.imp.ntext.dll_RtlFreeHeap]
cmp dword [ebp - 0x14], 0
je 0x68915f1a
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ntext.dll_NtClose]
mov edx, dword [ebp - 0x1c]
push edx
push 0
call fcn.68911060
mov eax, dword [eax + 0x30]
mov ecx, dword [eax + 0x18]
push ecx
call dword [sym.imp.ntext.dll_RtlFreeHeap]
cmp dword [ebp - 8], 0
jl 0x68915f3f
mov eax, dword [ebp - 0xc]
jmp 0x68915f4b
mov edx, dword [ebp - 8]
push edx
call sym.kernelbase.dll_BaseSetLastNTError
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret 0x10