Function at 0x7dd951d9
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 0x7dd95237
test byte [ebp - 0x3c], 0x10
jne 0x7dd9fdd8
xor esi, esi
cmp dword [ebp - 0x20], 0
jne 0x7dda0049
cmp dword [ebp - 0x28], 0
jne 0x7dda0065
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 0x7dda0042
test byte [ebp - 0x3c], 0x10
je 0x7dda0042
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 0x7dd9fe13
xor esi, esi
jmp 0x7dd9524d
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 0x7dda0042
call fcn.7dd711c7
cmp eax, 0x3e5
jne 0x7dd9fe57
push 1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x38]
push eax
push esi
call fcn.7dd8ccbe
mov edi, eax
test edi, edi
jne 0x7dda0042
call fcn.7dd711c7
mov edi, 0xea
cmp eax, edi
jne 0x7dda0042
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 0x7dda0042
call fcn.7dd711c7
cmp eax, 0x3e5
jne 0x7dd9feb6
push 1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x1c]
call fcn.7dd8ccbe
mov esi, eax
test esi, esi
jne 0x7dda0042
call fcn.7dd711c7
cmp eax, edi
jne 0x7dda0042
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 0x7dd95237
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 0x7dd9ff52
call fcn.7dd711c7
cmp eax, 0x3e5
jne 0x7dd9ff4a
push 1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x24]
call fcn.7dd8ccbe
mov esi, eax
test esi, esi
je 0x7dd95239
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 0x7dd9ff99
call fcn.7dd711c7
cmp eax, 0x3e5
jne 0x7dd9ff91
push 1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x1c]
call fcn.7dd8ccbe
mov esi, eax
test esi, esi
je 0x7dd95239
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx]
cmp dword [edi], eax
jne 0x7dd95237
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 0x7dd95237
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 0x7dda000d
call fcn.7dd711c7
cmp eax, 0x3e5
jne 0x7dda0005
push 1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x24]
call fcn.7dd8ccbe
mov esi, eax
test esi, esi
je 0x7dd95239
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 0x7dd95239
test dword [ebp - 0x58], 0x4000
jne 0x7dd95239
inc esi
jmp 0x7dd95239
xor esi, esi
jmp 0x7dd95243
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 0x7dd95243
push dword [ebp - 0x28]
call sub.API_MS_Win_Core_Handle_L1_1_0.dll_CloseHandle
jmp 0x7dd9524d