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

Disassembly:
push 0x8c
push 0x7ddeeae8
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 0x7ddee6f2
push 0xc0000017
call sym.KERNEL32.dll_BaseSetLastNTError
xor eax, eax
jmp 0x7ddee97e
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 0x7ddee731
cmp eax, 0xc0000017
je 0x7ddee722
cmp eax, 0xc000009a
je 0x7ddee722
push 3
call dword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
jmp 0x7ddee728
push eax
call sym.KERNEL32.dll_BaseSetLastNTError
or dword [ebp - 0x20], 0xffffffff
jmp 0x7ddee96f
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 0x7ddee70a
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 0x7ddee728
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 0x7ddee7ad
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 0x7ddee7a8
cmp eax, esi
jl 0x7ddee7a8
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], edi
je 0x7ddee78b
cmp dword [ebp - 0x1c], esi
jge 0x7ddee7bf
push dword [ebp - 0x1c]
call sym.KERNEL32.dll_BaseSetLastNTError
jmp 0x7ddee96f
mov eax, dword [ebx]
cmp eax, 0xa0000003
je 0x7ddee7d6
cmp eax, 0xa000000c
je 0x7ddee7dd
push 0xc0000033
jmp 0x7ddee7b5
cmp eax, 0xa000000c
jne 0x7ddee7ff
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 0x7ddee7ff
push eax
jmp 0x7ddee7b5
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 0x7ddee835
not eax
and eax, 1
or eax, 2
jmp 0x7ddee83a
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 0x7ddee86d
or dword [ebp - 0x20], 0xffffffff
jmp 0x7ddee7b2
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x44], eax
cmp word [ebp - 0x30], 0x60
je 0x7ddee986
cmp word [ebp - 0x30], 0x62
jne 0x7ddee893
mov eax, dword [ebp - 0x2c]
cmp word [eax + 0x60], 0x5c
je 0x7ddee989
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 0x7ddee7fc
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 0x7ddee7fc
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 0x7ddee968
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 0x7ddee968
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.7ddeea76
mov eax, dword [ebp - 0x34]
call fcn.7dd71605
ret 0x24
mov eax, dword [ebp - 0x2c]
cmp word [eax], 0x5c
jne 0x7ddee893
movzx ecx, word [eax + 2]
cmp cx, 0x3f
je 0x7ddee9a7
cmp cx, 0x5c
jne 0x7ddee893
cmp word [eax + 4], 0x3f
jne 0x7ddee893
cmp word [eax + 6], 0x5c
jne 0x7ddee893
cmp word [eax + 8], 0x56
jne 0x7ddee893
cmp word [eax + 0xa], 0x6f
jne 0x7ddee893
cmp word [eax + 0xc], 0x6c
jne 0x7ddee893
cmp word [eax + 0xe], 0x75
jne 0x7ddee893
cmp word [eax + 0x10], 0x6d
jne 0x7ddee893
cmp word [eax + 0x12], 0x65
jne 0x7ddee893
cmp word [eax + 0x14], 0x7b
jne 0x7ddee893
push 0x2d
pop ecx
cmp word [eax + 0x26], cx
jne 0x7ddee893
cmp word [eax + 0x30], cx
jne 0x7ddee893
cmp word [eax + 0x3a], cx
jne 0x7ddee893
cmp word [eax + 0x44], cx
jne 0x7ddee893
cmp word [eax + 0x5e], 0x7d
jne 0x7ddee893
call sub.ntdll.dll_RtlGetCurrentTransaction
test eax, eax
je 0x7ddeea53
push 0xc00000bb
jmp 0x7ddee7b5
mov eax, dword [ebp - 0x24]
add eax, 0x10
push eax
push dword [ebp + 0x10]
call sym.KERNEL32.dll_SetVolumeMountPointW
cmp eax, esi
jne 0x7ddee8c1
jmp 0x7ddee96f