Function at 0x7dd951b9
Capabilities:
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x7de403ac]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x44], eax
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x38], ecx
lea edi, [ebp - 0x34]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 4
stosd dword es:[edi], eax
mov edi, dword [sym.imp.ntdll.dll_NtQueryVolumeInformationFile]
push 8
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x50]
push eax
push esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x3c], ecx
call edi
test eax, eax
jl 0x7dd95217
test byte [ebp - 0x3c], 0x10
jne 0x7dd9fda8
xor esi, esi
cmp dword [ebp - 0x20], 0
jne 0x7dda0019
cmp dword [ebp - 0x28], 0
jne 0x7dda0035
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.7dd71442
leave
ret 0xc
push 4
push 8
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x50]
push eax
push ebx
call edi
test eax, eax
jl 0x7dda0012
test byte [ebp - 0x3c], 0x10
je 0x7dda0012
xor edi, edi
push edi
push edi
push 1
push edi
call sub.API_MS_Win_Core_Synch_L1_1_0.dll_CreateEventA
mov dword [ebp - 0x28], eax
cmp eax, edi
jne 0x7dd9fde3
xor esi, esi
jmp 0x7dd9522d
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x18]
push eax
push 8
lea eax, [ebp - 0x14]
push eax
push edi
push edi
mov ebx, 0x140410
push ebx
push esi
call sub.API_MS_Win_Core_IO_L1_1_0.dll_DeviceIoControl
mov edi, eax
test edi, edi
jne 0x7dda0012
call fcn.7dd711c7
cmp eax, 0x3e5
jne 0x7dd9fe27
push 1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x38]
push eax
push esi
call fcn.7dd8cc96
mov edi, eax
test edi, edi
jne 0x7dda0012
call fcn.7dd711c7
mov edi, 0xea
cmp eax, edi
jne 0x7dda0012
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x18]
push eax
push 8
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push ebx
push dword [ebp - 0x1c]
call sub.API_MS_Win_Core_IO_L1_1_0.dll_DeviceIoControl
mov esi, eax
test esi, esi
jne 0x7dda0012
call fcn.7dd711c7
cmp eax, 0x3e5
jne 0x7dd9fe86
push 1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x1c]
call fcn.7dd8cc96
mov esi, eax
test esi, esi
jne 0x7dda0012
call fcn.7dd711c7
cmp eax, edi
jne 0x7dda0012
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp - 0x14]
add edi, 8
add esi, 8
mov dword [ebp - 0x48], edi
call sub.KERNELBASE.dll_KernelBaseGetGlobalData
mov eax, dword [eax + 0x2c]
mov ecx, dword fs:[0x18]
lea edx, [edi + esi + 4]
push edx
push eax
mov eax, dword [ecx + 0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x7dd95217
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push esi
push eax
push 0
push 0
push ebx
push dword [ebp - 0x24]
lea edi, [esi + eax + 3]
and edi, 0xfffffffc
call sub.API_MS_Win_Core_IO_L1_1_0.dll_DeviceIoControl
mov esi, eax
test esi, esi
jne 0x7dd9ff22
call fcn.7dd711c7
cmp eax, 0x3e5
jne 0x7dd9ff1a
push 1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x24]
call fcn.7dd8cc96
mov esi, eax
test esi, esi
je 0x7dd95219
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x48]
push edi
push 0
push 0
push ebx
push dword [ebp - 0x1c]
call sub.API_MS_Win_Core_IO_L1_1_0.dll_DeviceIoControl
mov esi, eax
test esi, esi
jne 0x7dd9ff69
call fcn.7dd711c7
cmp eax, 0x3e5
jne 0x7dd9ff61
push 1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x1c]
call fcn.7dd8cc96
mov esi, eax
test esi, esi
je 0x7dd95219
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx]
cmp dword [edi], eax
jne 0x7dd95217
shr eax, 1
push eax
add edi, 4
add ecx, 4
push edi
push ecx
call sub.ntdll.dll__wcsnicmp
add esp, 0xc
test eax, eax
jne 0x7dd95217
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x20
push dword [ebp - 0x44]
push 0
push 0
push 0x140414
push dword [ebp - 0x24]
call sub.API_MS_Win_Core_IO_L1_1_0.dll_DeviceIoControl
mov esi, eax
test esi, esi
jne 0x7dd9ffdd
call fcn.7dd711c7
cmp eax, 0x3e5
jne 0x7dd9ffd5
push 1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x24]
call fcn.7dd8cc96
mov esi, eax
test esi, esi
je 0x7dd95219
push 4
push 0x28
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x1c]
xor esi, esi
mov dword [ebp - 0x58], esi
call dword [sym.imp.ntdll.dll_NtQueryInformationFile]
test eax, eax
jl 0x7dd95219
test dword [ebp - 0x58], 0x4000
jne 0x7dd95219
inc esi
jmp 0x7dd95219
xor esi, esi
jmp 0x7dd95223
push dword [ebp - 0x20]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
jmp 0x7dd95223
push dword [ebp - 0x28]
call sub.API_MS_Win_Core_Handle_L1_1_0.dll_CloseHandle
jmp 0x7dd9522d