Function at 0x7dd9573d
Capabilities:
Set file attributes

Disassembly:
push 0x54
push 0x7dd957c8
call fcn.7dd715c0
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x24], ebx
xor esi, esi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x2c], ebx
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], ebx
mov ecx, dword [ebp + 0x28]
mov edi, 0x4000
and ecx, edi
mov dword [ebp + 0x3c], ecx
jne 0x7dda0072
cmp ecx, ebx
jne 0x7dd95786
mov eax, dword [ebp + 0x30]
test dword [eax], edi
jne 0x7dda00a6
cmp esi, ebx
jne 0x7dda00bb
cmp dword [ebp - 0x24], ebx
jne 0x7dda00bb
mov esi, dword [ebp + 0x10]
cmp dword [ebp + 0x3c], ebx
jne 0x7dda01ec
mov dword [ebp - 0x1c], 1
mov dword [ebp - 4], 0xfffffffe
call fcn.7dd957e9
mov eax, dword [ebp - 0x1c]
call fcn.7dd71605
ret 0x38
test dword [ebp + 0x2c], edi
je 0x7dd95777
mov eax, dword [ebp + 0x30]
mov eax, dword [eax]
test edi, eax
jne 0x7dd95777
test byte [ebp + 0x28], 0x10
je 0x7dd95786
test al, 4
jne 0x7dd95786
mov dword [ebp - 0x24], 1
jmp 0x7dd95786
test dword [ebp + 0x38], 0x200
je 0x7dd95786
xor esi, esi
inc esi
jmp 0x7dd95786
mov eax, dword [ebp + 0x30]
mov edx, dword [eax]
mov esi, dword [ebp + 0x10]
test dl, 1
je 0x7dda0111
mov dword [ebp - 0x2c], 1
push 0xa
pop ecx
xor eax, eax
lea edi, [ebp - 0x64]
rep stosd dword es:[edi], eax
and edx, 0xfffffffe
mov dword [ebp - 0x44], edx
push 4
push 0x28
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x3c]
push eax
push dword [esi]
call dword [sym.imp.ntdll.dll_NtSetInformationFile]
mov edi, eax
cmp edi, ebx
jge 0x7dda010c
push ebx
push dword [esi]
call fcn.7ddee4e1
push edi
call sym.KERNEL32.dll_BaseSetLastNTError
jmp 0x7dd957aa
mov edi, 0x4000
push dword [esi]
call dword [sym.imp.ntdll.dll_NtClose]
or dword [esi], 0xffffffff
push 0x7dd905cc
call sym.KERNEL32.dll_LoadLibraryW
mov dword [ebp - 0x20], eax
cmp eax, ebx
je 0x7dd957aa
cmp dword [ebp - 0x24], ebx
je 0x7dda0159
push 0x7ddb33cc
push eax
call fcn.7dd7122f
cmp eax, ebx
je 0x7dd957aa
push dword [ebp + 0xc]
call eax
test eax, eax
je 0x7dda0181
mov eax, dword [ebp + 0x30]
or dword [eax], edi
jmp 0x7dda0181
push 0x7ddb33bc
push dword [ebp - 0x20]
call fcn.7dd7122f
cmp eax, ebx
je 0x7dd957aa
push ebx
push dword [ebp + 0xc]
call eax
test eax, eax
je 0x7dda0181
mov eax, dword [ebp + 0x30]
and dword [eax], 0xffffbfff
push ebx
push ebx
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
mov eax, dword [ebp + 0x28]
and eax, dword [ebp + 0x2c]
and eax, 0x7fb7
push eax
push ebx
lea eax, [ebp - 0x3c]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x18]
push esi
call dword [sym.imp.ntdll.dll_NtCreateFile]
cmp eax, ebx
jge 0x7dda01b7
or dword [esi], 0xffffffff
push eax
jmp 0x7dda0102
cmp dword [ebp - 0x2c], ebx
je 0x7dd9579a
or dword [ebp - 0x44], 1
push 4
push 0x28
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x3c]
push eax
push dword [esi]
call dword [sym.imp.ntdll.dll_NtSetInformationFile]
mov edi, eax
cmp edi, ebx
jl 0x7dda00f9
mov edi, 0x4000
jmp 0x7dd9579a
mov eax, dword [ebp + 0x30]
test dword [eax], edi
jne 0x7dd957a3
mov dword [ebp + 0x28], ebx
test byte [ebp + 0x38], 8
jne 0x7dd957a3
call fcn.7ddee1b1
test eax, eax
je 0x7dda0235
mov dword [ebp - 0x2c], ebx
push 4
push 8
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x28]
push eax
push dword [esi]
call dword [sym.imp.ntdll.dll_NtQueryVolumeInformationFile]
cmp eax, ebx
jl 0x7dda0235
test byte [ebp - 0x2c], 0x10
je 0x7dda0235
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], ebx
jne 0x7dd957a3
mov ecx, dword [ebp - 0x34]
cmp ecx, ebx
je 0x7dda029c
cmp dword [ecx + 0x1c], ebx
je 0x7dda029c
test byte [ebp + 0x38], 0x10
je 0x7dda029c
test dword [ebp + 0x34], 0x20000
je 0x7dda0277
test dword [ebp + 0x2c], edi
jne 0x7dda0262
push 9
jmp 0x7dda0279
mov eax, dword [ebp + 0x30]
test byte [eax], 4
push 0
pop eax
setne al
lea eax, [eax*8 + 9]
jmp 0x7dda027a
push 8
pop eax
lea edx, [ebp + 0x28]
push edx
push dword [esi]
push dword [ebp + 8]
push eax
push ebx
push ecx
push 0x1770
push ebx
call fcn.7dd9062d
test eax, eax
je 0x7dda029c
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], ebx
jne 0x7dd957a3
push ebx
push dword [esi]
call fcn.7ddee4e1
push 0x1770
call dword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
jmp 0x7dd957aa