Function at 0x48c8b0
Capabilities:
Delete file
Get file attributes
Resolve function by parsing pe exports
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a4
mov eax, dword [0x4ff080]
xor eax, esp
mov dword [esp + 0x1a0], eax
push ebx
mov ebx, ecx
xor ecx, ecx
push esi
xor esi, esi
mov dword [esp + 0x28], ebx
push edi
test byte [ebx + 8], 1
mov edi, dword [ebp + 8]
mov dword [esp + 0x28], edi
mov dword [esp + 0xc], esi
mov dword [esp + 0x20], ecx
jne 0x48cc68
test byte [ebx + 0xc], 1
lea eax, [ebx + 0x14]
push eax
je 0x48c901
call fcn.0048d5d0
jmp 0x48c907
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
jne 0x48c91e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x1c]
test esi, esi
jne 0x48c953
cmp eax, 0xffffffff
jne 0x48c960
test edi, edi
je 0x48c938
push edi
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
mov esi, eax
test esi, esi
jne 0x48c8f0
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1a0]
xor ecx, esp
call fcn.004a9b96
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
cmp dword [esp + 0x1c], 0xffffffff
je 0x48c938
push 0
lea ecx, [esp + 0x54]
mov esi, 5
push ecx
push 0x180
push 0x40
lea eax, [ebx + 0x21c]
mov dword [esp + 0x1c], esi
push 0x8301
push eax
call fcn.004b5895
mov ecx, dword [esp + 0x68]
or edx, 0xffffffff
test eax, eax
push str.wb3f
cmovne ecx, edx
push ecx
call fcn.004503db
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
je 0x48cc57
xor edi, edi
mov dword [esp + 0x14], edi
nop dword [eax]
nop dword [eax + eax]
test byte [ebx + 0xc], 1
lea eax, [ebx + 0x14]
je 0x48ca54
push eax
lea eax, [esp + 0x60]
push eax
call dword [0x511d00]
push 0
push 0
push 0x4020
push 1
push 1
push 0x80
lea eax, [esp + 0x74]
mov dword [esp + 0x50], 0x18
mov dword [esp + 0x58], eax
lea eax, [esp + 0x7c]
push 0
push eax
lea eax, [esp + 0x58]
mov dword [esp + 0x5c], 0
push eax
push 0x80100000
lea eax, [esp + 0x7c]
mov dword [esp + 0x6c], 0x40
push eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
call dword [0x511d04]
test eax, eax
jne 0x48ca41
mov esi, dword [esp + 0x54]
jmp 0x48ca6f
push eax
call dword [0x511cf8]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
or esi, 0xffffffff
jmp 0x48ca74
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x48ca7e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0xc], eax
test edi, edi
jne 0x48caad
cmp esi, 0xffffffff
jne 0x48cabc
mov edi, dword [esp + 0x28]
test edi, edi
je 0x48cc43
push edi
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
mov edi, eax
mov dword [esp + 0x14], eax
test edi, edi
jne 0x48c9c0
jmp 0x48cc43
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
cmp esi, 0xffffffff
je 0x48cc43
push str.ZwQueryVolumeInformationFile
push dword [0x511f10]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 5
push 0x114
lea ecx, [esp + 0x98]
push ecx
lea ecx, [esp + 0x3c]
push ecx
push esi
call eax
test eax, eax
jne 0x48caff
test dword [esp + 0x90], 0x80000
je 0x48caff
mov dword [esp + 0x20], 1
jmp 0x48cb05
xor eax, eax
mov dword [esp + 0x20], eax
push 0x10000
push 8
mov dword [esp + 0x14], 0
mov dword [esp + 0x60], 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x48cbdb
xor eax, eax
cmp dword [esp + 0x14], eax
sete al
mov dword [esp + 0x30], eax
lea ecx, [esp + 0x58]
push ecx
push eax
push 0
lea eax, [esp + 0x30]
push eax
push 0x10000
push edi
push esi
call dword [sym.imp.KERNEL32.dll_BackupRead]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x48cbb5
push ecx
mov edx, edi
mov ecx, edi
call fcn.0048c650
add esp, 4
push dword [esp + 0x24]
push edi
push dword [esp + 0x20]
call fcn.0044ffae
add esp, 0xc
cmp dword [esp + 0x24], eax
jne 0x48cb97
cmp dword [esp + 0x14], 0
je 0x48cbc3
mov eax, dword [esp + 0x30]
jmp 0x48cb40
mov eax, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
call eax
push edi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esp + 0xc], 0x1e
jmp 0x48cc37
test eax, eax
jne 0x48cbc3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0xc], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push edi
push 0
call eax
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [esp + 0xc], 0
jne 0x48cc37
push 0x15
push 0x24
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x3c]
push eax
push esi
lea edi, [ebx + 0x404]
call dword [0x511cf4]
test eax, eax
je 0x48cc01
xor eax, eax
mov word [edi], ax
jmp 0x48cc24
mov eax, dword [esp + 0x6c]
xor ecx, ecx
shr eax, 1
mov word [esp + eax*2 + 0x70], cx
lea eax, [esp + 0x70]
push dword [esp + 0x6c]
push eax
push edi
call fcn.004ac080
add esp, 0xc
or dword [ebx + 0xc], 2
mov eax, dword [esp + 0x1c]
or dword [ebx + 8], 1
mov dword [ebx + 0x10], eax
mov dword [esp + 0xc], 0
cmp esi, 0xffffffff
je 0x48cc43
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esp + 0x18]
call fcn.00450168
mov esi, dword [esp + 0x10]
add esp, 4
test esi, esi
je 0x48cc64
lea eax, [ebx + 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x20]
test byte [ebx + 8], 2
jne 0x48c938
test esi, esi
jne 0x48c938
test ecx, ecx
je 0x48cc9a
mov eax, 0x1779
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1a0]
xor ecx, esp
call fcn.004a9b96
mov esp, ebp
pop ebp
ret 4
xor esi, esi
mov dword [esp + 0xc], 0x15e
mov dword [esp + 0x14], esi
lea edi, [ebx + 0x14]
nop dword [eax + eax]
test byte [ebx + 0xc], 1
push 0x80
push edi
je 0x48cd8a
call fcn.0048d6f0
push edi
lea eax, [esp + 0x60]
push eax
call dword [0x511d00]
push 0
push 0
push 0x20
push 1
push 7
push 0x80
lea eax, [esp + 0x74]
mov dword [esp + 0x50], 0x18
mov dword [esp + 0x58], eax
lea eax, [esp + 0x48]
push 0
push eax
lea eax, [esp + 0x58]
mov dword [esp + 0x5c], 0
push eax
push 0x110000
lea eax, [esp + 0x40]
mov dword [esp + 0x6c], 0x40
push eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
call dword [0x511d04]
test eax, eax
jne 0x48cd78
push 0xd
push 1
lea eax, [esp + 0x1b]
mov byte [esp + 0x1b], 1
push eax
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x28]
call dword [0x511cfc]
push dword [esp + 0x18]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x48cd6b
push esi
call dword [0x511cf8]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
test esi, esi
mov esi, dword [esp + 0x14]
sete bl
jmp 0x48cd99
push eax
call dword [0x511cf8]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x48cd99
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, eax
test esi, esi
jne 0x48cdcb
test ebx, ebx
jne 0x48cdd9
mov eax, dword [esp + 0x28]
test eax, eax
je 0x48c938
push eax
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
mov esi, eax
mov dword [esp + 0x14], esi
test esi, esi
je 0x48c938
mov ebx, dword [esp + 0x2c]
jmp 0x48ccb0
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
test ebx, ebx
je 0x48c938
mov ecx, dword [esp + 0x2c]
xor eax, eax
pop edi
pop esi
pop ebx
or dword [ecx + 8], 2
mov ecx, dword [esp + 0x1a0]
xor ecx, esp
call fcn.004a9b96
mov esp, ebp
pop ebp
ret 4