Function at 0x7dd9571d
Capabilities:
Set file attributes

Disassembly:
push 0x54
push 0x7dd957a8
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 0x7dda0042
cmp ecx, ebx
jne 0x7dd95766
mov eax, dword [ebp + 0x30]
test dword [eax], edi
jne 0x7dda0076
cmp esi, ebx
jne 0x7dda008b
cmp dword [ebp - 0x24], ebx
jne 0x7dda008b
mov esi, dword [ebp + 0x10]
cmp dword [ebp + 0x3c], ebx
jne 0x7dda01bc
mov dword [ebp - 0x1c], 1
mov dword [ebp - 4], 0xfffffffe
call fcn.7dd957c9
mov eax, dword [ebp - 0x1c]
call fcn.7dd71605
ret 0x38
test dword [ebp + 0x2c], edi
je 0x7dd95757
mov eax, dword [ebp + 0x30]
mov eax, dword [eax]
test edi, eax
jne 0x7dd95757
test byte [ebp + 0x28], 0x10
je 0x7dd95766
test al, 4
jne 0x7dd95766
mov dword [ebp - 0x24], 1
jmp 0x7dd95766
test dword [ebp + 0x38], 0x200
je 0x7dd95766
xor esi, esi
inc esi
jmp 0x7dd95766
mov eax, dword [ebp + 0x30]
mov edx, dword [eax]
mov esi, dword [ebp + 0x10]
test dl, 1
je 0x7dda00e1
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 0x7dda00dc
push ebx
push dword [esi]
call fcn.7ddee669
push edi
call sym.KERNEL32.dll_BaseSetLastNTError
jmp 0x7dd9578a
mov edi, 0x4000
push dword [esi]
call dword [sym.imp.ntdll.dll_NtClose]
or dword [esi], 0xffffffff
push 0x7dd905a4
call sym.KERNEL32.dll_LoadLibraryW
mov dword [ebp - 0x20], eax
cmp eax, ebx
je 0x7dd9578a
cmp dword [ebp - 0x24], ebx
je 0x7dda0129
push 0x7ddb33fc
push eax
call fcn.7dd7122f
cmp eax, ebx
je 0x7dd9578a
push dword [ebp + 0xc]
call eax
test eax, eax
je 0x7dda0151
mov eax, dword [ebp + 0x30]
or dword [eax], edi
jmp 0x7dda0151
push 0x7ddb33ec
push dword [ebp - 0x20]
call fcn.7dd7122f
cmp eax, ebx
je 0x7dd9578a
push ebx
push dword [ebp + 0xc]
call eax
test eax, eax
je 0x7dda0151
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 0x7dda0187
or dword [esi], 0xffffffff
push eax
jmp 0x7dda00d2
cmp dword [ebp - 0x2c], ebx
je 0x7dd9577a
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 0x7dda00c9
mov edi, 0x4000
jmp 0x7dd9577a
mov eax, dword [ebp + 0x30]
test dword [eax], edi
jne 0x7dd95783
mov dword [ebp + 0x28], ebx
test byte [ebp + 0x38], 8
jne 0x7dd95783
call fcn.7ddee339
test eax, eax
je 0x7dda0205
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 0x7dda0205
test byte [ebp - 0x2c], 0x10
je 0x7dda0205
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], ebx
jne 0x7dd95783
mov ecx, dword [ebp - 0x34]
cmp ecx, ebx
je 0x7dda026c
cmp dword [ecx + 0x1c], ebx
je 0x7dda026c
test byte [ebp + 0x38], 0x10
je 0x7dda026c
test dword [ebp + 0x34], 0x20000
je 0x7dda0247
test dword [ebp + 0x2c], edi
jne 0x7dda0232
push 9
jmp 0x7dda0249
mov eax, dword [ebp + 0x30]
test byte [eax], 4
push 0
pop eax
setne al
lea eax, [eax*8 + 9]
jmp 0x7dda024a
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.7dd90605
test eax, eax
je 0x7dda026c
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], ebx
jne 0x7dd95783
push ebx
push dword [esi]
call fcn.7ddee669
push 0x1770
call dword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
jmp 0x7dd9578a