Function at 0x7ddee819
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push 0x8c
push 0x7ddeec70
call fcn.7dd715c0
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x34], esi
or dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x28], esi
call sub.KERNELBASE.dll_KernelBaseGetGlobalData
mov eax, dword [eax + 0x2c]
mov ecx, dword fs:[0x18]
mov edi, 0x4000
push edi
push eax
mov eax, dword [ecx + 0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [ebp - 0x24], eax
cmp eax, esi
jne 0x7ddee87a
push 0xc0000017
call sym.KERNEL32.dll_BaseSetLastNTError
xor eax, eax
jmp 0x7ddeeb06
mov dword [ebp - 4], esi
push esi
push esi
lea eax, [ebp - 0x30]
push eax
push dword [ebp + 0xc]
mov ebx, dword [sym.imp.ntdll.dll_RtlDosPathNameToNtPathName_U_WithStatus]
call ebx
cmp eax, esi
jge 0x7ddee8b9
cmp eax, 0xc0000017
je 0x7ddee8aa
cmp eax, 0xc000009a
je 0x7ddee8aa
push 3
call dword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
jmp 0x7ddee8b0
push eax
call sym.KERNEL32.dll_BaseSetLastNTError
or dword [ebp - 0x20], 0xffffffff
jmp 0x7ddeeaf7
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x48], eax
push esi
push esi
lea eax, [ebp - 0x50]
push eax
push dword [ebp + 0x10]
call ebx
cmp eax, esi
jl 0x7ddee892
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x40], eax
push 1
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.ntdll.dll_RtlEqualUnicodeString]
test al, al
jne 0x7ddee8b0
push edi
mov ebx, dword [ebp - 0x24]
push ebx
push esi
push esi
push 0x900a8
lea eax, [ebp - 0x3c]
push eax
push esi
push esi
push dword [ebp + 0x28]
push dword [ebp + 8]
call dword [sym.imp.ntdll.dll_NtFsControlFile]
mov dword [ebp - 0x1c], eax
cmp eax, 0x103
jne 0x7ddee935
lea edi, [eax - 2]
push esi
push 1
push dword [ebp + 0x28]
call dword [sym.imp.ntdll.dll_NtWaitForSingleObject]
mov dword [ebp - 0x1c], eax
cmp eax, edi
je 0x7ddee930
cmp eax, esi
jl 0x7ddee930
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], edi
je 0x7ddee913
cmp dword [ebp - 0x1c], esi
jge 0x7ddee947
push dword [ebp - 0x1c]
call sym.KERNEL32.dll_BaseSetLastNTError
jmp 0x7ddeeaf7
mov eax, dword [ebx]
cmp eax, 0xa0000003
je 0x7ddee95e
cmp eax, 0xa000000c
je 0x7ddee965
push 0xc0000033
jmp 0x7ddee93d
cmp eax, 0xa000000c
jne 0x7ddee987
mov dword [ebp - 0x5c], 0x23
lea eax, [ebp - 0x28]
push eax
push esi
push 1
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.ntdll.dll_RtlAcquirePrivilege]
mov dword [ebp - 0x1c], eax
cmp eax, esi
jge 0x7ddee987
push eax
jmp 0x7ddee93d
mov dword [ebp - 0x74], 0x18
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x68], 0x40
lea eax, [ebp - 0x50]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], esi
mov ebx, dword [ebp + 0x14]
push esi
mov eax, dword [ebp + 0x24]
push esi
mov eax, dword [eax]
test bl, 1
je 0x7ddee9bd
not eax
and eax, 1
or eax, 2
jmp 0x7ddee9c2
and eax, 1
add eax, eax
or ebx, 0x200000
push ebx
push eax
push 3
push esi
push esi
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x74]
push eax
push 0xc0000000
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.ntdll.dll_NtCreateFile]
mov dword [ebp - 0x1c], eax
cmp eax, esi
jge 0x7ddee9f5
or dword [ebp - 0x20], 0xffffffff
jmp 0x7ddee93a
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x44], eax
cmp word [ebp - 0x30], 0x60
je 0x7ddeeb0e
cmp word [ebp - 0x30], 0x62
jne 0x7ddeea1b
mov eax, dword [ebp - 0x2c]
cmp word [eax + 0x60], 0x5c
je 0x7ddeeb11
push esi
push esi
mov eax, dword [ebp - 0x24]
movzx ecx, word [eax + 4]
add ecx, 8
push ecx
push eax
push 0x900a4
lea eax, [ebp - 0x3c]
push eax
push esi
push esi
push esi
push dword [ebp - 0x20]
call dword [sym.imp.ntdll.dll_NtFsControlFile]
mov dword [ebp - 0x1c], eax
cmp eax, esi
jl 0x7ddee984
push 4
push 0x28
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x3c]
push eax
push dword [ebp + 8]
call dword [sym.imp.ntdll.dll_NtQueryInformationFile]
mov dword [ebp - 0x1c], eax
cmp eax, esi
jl 0x7ddee984
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0x98], esi
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x90], esi
mov dword [ebp - 0x7c], esi
push 4
push 0x28
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x20]
mov edi, dword [sym.imp.ntdll.dll_NtSetInformationFile]
call edi
mov dword [ebp - 0x1c], eax
cmp eax, 0xc0000043
jne 0x7ddeeaf0
push dword [ebp - 0x20]
call sub.API_MS_Win_Core_Handle_L1_1_0.dll_CloseHandle
push esi
push esi
push ebx
push 1
push esi
push esi
push esi
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x74]
push eax
push 0x100
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.ntdll.dll_NtCreateFile]
mov dword [ebp - 0x1c], eax
cmp eax, esi
jl 0x7ddeeaf0
push 4
push 0x28
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x20]
call edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x34], 1
mov dword [ebp - 4], 0xfffffffe
call fcn.7ddeebfe
mov eax, dword [ebp - 0x34]
call fcn.7dd71605
ret 0x24
mov eax, dword [ebp - 0x2c]
cmp word [eax], 0x5c
jne 0x7ddeea1b
movzx ecx, word [eax + 2]
cmp cx, 0x3f
je 0x7ddeeb2f
cmp cx, 0x5c
jne 0x7ddeea1b
cmp word [eax + 4], 0x3f
jne 0x7ddeea1b
cmp word [eax + 6], 0x5c
jne 0x7ddeea1b
cmp word [eax + 8], 0x56
jne 0x7ddeea1b
cmp word [eax + 0xa], 0x6f
jne 0x7ddeea1b
cmp word [eax + 0xc], 0x6c
jne 0x7ddeea1b
cmp word [eax + 0xe], 0x75
jne 0x7ddeea1b
cmp word [eax + 0x10], 0x6d
jne 0x7ddeea1b
cmp word [eax + 0x12], 0x65
jne 0x7ddeea1b
cmp word [eax + 0x14], 0x7b
jne 0x7ddeea1b
push 0x2d
pop ecx
cmp word [eax + 0x26], cx
jne 0x7ddeea1b
cmp word [eax + 0x30], cx
jne 0x7ddeea1b
cmp word [eax + 0x3a], cx
jne 0x7ddeea1b
cmp word [eax + 0x44], cx
jne 0x7ddeea1b
cmp word [eax + 0x5e], 0x7d
jne 0x7ddeea1b
call sub.ntdll.dll_RtlGetCurrentTransaction
test eax, eax
je 0x7ddeebdb
push 0xc00000bb
jmp 0x7ddee93d
mov eax, dword [ebp - 0x24]
add eax, 0x10
push eax
push dword [ebp + 0x10]
call sym.KERNEL32.dll_SetVolumeMountPointW
cmp eax, esi
jne 0x7ddeea49
jmp 0x7ddeeaf7