Function at 0x7dd90f19
Capabilities:
Get file attributes

Disassembly:
push 0x6c
push 0x7dd91000
call fcn.7dd715c0
or dword [ebp - 0x28], 0xffffffff
or dword [ebp - 0x20], 0xffffffff
xor edi, edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x50], 1
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x1c], 0x1000
call sub.KERNELBASE.dll_KernelBaseGetGlobalData
mov eax, dword [eax + 0x2c]
mov dword [ebp - 0x3c], eax
mov eax, dword fs:[0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x3c]
mov eax, dword [eax + 0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov esi, eax
mov dword [ebp - 0x30], esi
cmp esi, edi
je 0x7dda2182
push 0x16
push dword [ebp - 0x1c]
push esi
lea eax, [ebp - 0x64]
push eax
push dword [ebp + 8]
call dword [sym.imp.ntdll.dll_NtQueryInformationFile]
mov dword [ebp - 0x34], eax
cmp eax, edi
jl 0x7dda218c
cmp eax, 0x80000005
je 0x7dd90f52
cmp eax, 0xc0000023
je 0x7dd90f52
cmp esi, edi
je 0x7dda21b7
cmp eax, edi
jl 0x7dda21cd
mov dword [ebp - 0x2c], esi
cmp dword [esi + 4], 2
jbe 0x7dd90fd2
cmp word [esi + 0x1a], 0x3a
jne 0x7dda21e2
cmp dword [esi], 0
jne 0x7dd91062
mov dword [ebp - 0x38], 1
mov dword [ebp - 4], 0xfffffffe
call fcn.7dd91021
mov eax, dword [ebp - 0x38]
call fcn.7dd71605
ret 0xc
add esi, dword [esi]
jmp 0x7dd90fbe
mov eax, 0xc0000017
jmp 0x7dd90fae
mov eax, dword fs:[0x18]
push dword [ebp - 0x30]
push edi
mov eax, dword [eax + 0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
xor esi, esi
mov dword [ebp - 0x30], esi
mov eax, dword [ebp - 0x1c]
add eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x34]
jmp 0x7dd90fa0
cmp eax, 0xc000000d
je 0x7dd90fdb
cmp eax, 0xc0000002
je 0x7dd90fdb
test byte [ebp + 0x10], 1
jne 0x7dd90fdb
push eax
call sym.KERNEL32.dll_BaseSetLastNTError
jmp 0x7dd90fe2
xor edi, edi
cmp dword [ebp - 0x24], edi
jne 0x7dda2287
mov dword [ebp - 0x1c], 0x1000
call sub.KERNELBASE.dll_KernelBaseGetGlobalData
mov eax, dword [eax + 0x2c]
mov dword [ebp - 0x40], eax
mov eax, dword fs:[0x18]
mov esi, dword [ebp - 0x1c]
push esi
push dword [ebp - 0x40]
mov eax, dword [eax + 0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [ebp - 0x24], eax
cmp eax, edi
jne 0x7dda2226
mov eax, 0xc0000017
jmp 0x7dda2273
push 0x16
add esi, 0xfffffffe
push esi
push eax
lea eax, [ebp - 0x64]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.ntdll.dll_NtQueryInformationFile]
mov dword [ebp - 0x34], eax
cmp eax, edi
jge 0x7dda2265
mov eax, dword fs:[0x18]
push dword [ebp - 0x24]
push edi
mov eax, dword [eax + 0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov dword [ebp - 0x24], edi
mov eax, dword [ebp - 0x1c]
add eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x34]
cmp eax, 0x80000005
je 0x7dda21f4
cmp eax, 0xc0000023
je 0x7dda21f4
cmp dword [ebp - 0x24], edi
je 0x7dda21cd
cmp eax, edi
jl 0x7dda21cd
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x24]
xor ebx, ebx
inc ebx
mov dword [ebp - 0x54], edi
mov eax, dword [edi + 4]
cmp dword [esi + 4], eax
jne 0x7dda22b3
shr eax, 1
push eax
lea eax, [edi + 0x18]
push eax
lea eax, [esi + 0x18]
push eax
call sub.ntdll.dll__wcsnicmp
add esp, 0xc
test eax, eax
jne 0x7dda22b3
xor ebx, ebx
jmp 0x7dda22bc
cmp dword [edi], 0
jne 0x7dda23bf
cmp ebx, 1
jne 0x7dda23b7
lea eax, [esi + 0x18]
mov dword [ebp - 0x58], eax
mov ax, word [esi + 4]
mov word [ebp - 0x5c], ax
mov word [ebp - 0x5a], ax
mov dword [ebp - 0x7c], 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 0x78], eax
xor edi, edi
mov dword [ebp - 0x70], edi
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x68], edi
push 0x24
push 7
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x7c]
push eax
mov ebx, 0x80100000
push ebx
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.ntdll.dll_NtOpenFile]
cmp eax, edi
jge 0x7dda232c
test byte [ebp + 0x10], 1
je 0x7dda21d7
cmp dword [esi], edi
jne 0x7dd91062
jmp 0x7dd90fdb
movzx eax, word [ebp - 0x5c]
shr eax, 1
mov ecx, dword [ebp - 0x58]
lea eax, [ecx + eax*2]
movzx edi, word [eax]
xor ecx, ecx
mov word [eax], cx
or dword [ebp - 0x20], 0xffffffff
lea eax, [ebp - 0x44]
push eax
xor eax, eax
push eax
push eax
push eax
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [esi + 8]
push ecx
push dword [ebp + 0xc]
push dword [ebp - 0x58]
push ebx
push dword [ebp - 0x28]
push eax
call fcn.7dd943ab
test eax, eax
jne 0x7dda238c
movzx eax, word [ebp - 0x5c]
shr eax, 1
mov ecx, dword [ebp - 0x58]
mov word [ecx + eax*2], di
test byte [ebp + 0x10], 1
je 0x7dd90fe2
movzx eax, word [ebp - 0x5c]
shr eax, 1
mov ecx, dword [ebp - 0x58]
mov word [ecx + eax*2], di
push dword [ebp - 0x28]
mov edi, dword [sym.imp.ntdll.dll_NtClose]
call edi
or dword [ebp - 0x28], 0xffffffff
cmp dword [ebp - 0x20], 0xffffffff
je 0x7dda23b7
push dword [ebp - 0x20]
call edi
or dword [ebp - 0x20], 0xffffffff
cmp dword [esi], 0
jmp 0x7dda2321
add edi, dword [edi]
jmp 0x7dda228d