Function at 0x48ced0
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cfb70
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x502054]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x238], edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x258], eax
mov eax, dword [edi + 8]
and eax, 3
cmp al, 3
jne 0x48d48f
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x244], 0
mov edx, 0x104
test eax, eax
je 0x48d057
mov esi, eax
mov eax, ecx
sub esi, eax
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x48cf60
movzx eax, word [ecx + esi]
test ax, ax
je 0x48cf60
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x48cf42
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
test edx, edx
jne 0x48cf79
lea eax, [ecx + 0x57]
jmp 0x48d491
add edi, 0x14
je 0x48d04d
mov ecx, 0x104
mov eax, edi
nop dword [eax]
cmp word [eax], 0
je 0x48cf9e
add eax, 2
sub ecx, 1
jne 0x48cf90
mov edx, 0x104
mov esi, ecx
mov eax, edx
sub eax, ecx
neg esi
sbb esi, esi
and esi, eax
test ecx, ecx
je 0x48d04d
test esi, esi
je 0x48d04d
lea eax, [esi - 1]
test eax, eax
je 0x48d04d
nop word [eax + eax]
cmp word [edi + eax*2], 0x5c
lea esi, [edi + eax*2]
je 0x48cfe9
sub eax, 1
jne 0x48cfd0
mov eax, 0x54f
jmp 0x48d491
mov ecx, edx
lea eax, [ebp - 0x218]
cmp word [eax], 0
je 0x48cfff
add eax, 2
sub ecx, 1
jne 0x48cff1
mov eax, edx
mov edi, ecx
sub eax, ecx
neg edi
sbb edi, edi
and edi, eax
test ecx, ecx
je 0x48d04d
lea ecx, [ebp - 0x218]
lea ecx, [ecx + edi*2]
sub edx, edi
je 0x48d03c
mov eax, SysReAllocString
sub esi, ecx
test eax, eax
je 0x48d03c
movzx edi, word [ecx + esi]
test di, di
je 0x48d03c
mov word [ecx], di
dec eax
add ecx, 2
sub edx, 1
jne 0x48d023
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
test edx, edx
jne 0x48d091
mov eax, 0x54f
jmp 0x48d491
lea esi, [ebp - 0x218]
mov eax, edi
sub eax, esi
lea esi, [eax + 0x14]
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x48d082
movzx eax, word [ecx + esi]
test ax, ax
je 0x48d082
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x48d064
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
jmp 0x48d097
mov edi, dword [ebp - 0x238]
cmp byte [ebp + 8], 0
lea esi, [edi + 0xc]
je 0x48d0e3
cmp dword [ebp + 0x10], 0
jne 0x48d0bf
test byte [esi], 1
mov dword [ebp - 0x240], esi
je 0x48d0bf
lea eax, [ebp - 0x218]
push eax
call fcn.0048d500
jmp 0x48d0d2
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x240], esi
cmp eax, 0xffffffff
je 0x48d0e9
mov esi, 0x50
mov eax, esi
jmp 0x48d491
mov dword [ebp - 0x240], esi
xorps xmm0, xmm0
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x21c], 0
movups xmmword [ebp - 0x230], xmm0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48d110
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.004631a0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x230]
push eax
call fcn.0048cd20
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x21c]
cmp ecx, 8
jb 0x48d18c
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x48d182
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48d4ae
push ecx
push edx
call fcn.004aa103
add esp, 8
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp dword [ebp + 0x10], eax
jne 0x48d26e
test byte [esi], 1
je 0x48d26e
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x278]
push eax
call dword [0x514ca0]
push 0
push 0
push 0x4020
push 5
push 1
push 0x80
lea eax, [ebp - 0x278]
mov dword [ebp - 0x270], 0x18
mov dword [ebp - 0x268], eax
lea eax, [ebp - 0x280]
push 0
push eax
lea eax, [ebp - 0x270]
mov dword [ebp - 0x26c], 0
push eax
push 0x1f01ff
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x264], 0x40
push eax
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x25c], 0
call dword [0x514ca4]
test eax, eax
jne 0x48d253
mov edi, dword [ebp - 0x24c]
mov dword [ebp - 0x234], edi
jmp 0x48d295
push eax
call dword [0x514c98]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x48d491
push 0
push 0x2000080
push 2
push 0
push 1
push 0x1f01ff
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x234], eax
cmp edi, 0xffffffff
jne 0x48d2a7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x48d491
push 0
lea eax, [ebp - 0x250]
push eax
mov eax, dword [ebp - 0x238]
push 0
push 0x40
add eax, 0x21c
push 0x8000
push eax
call fcn.004b5745
mov ecx, dword [ebp - 0x250]
or edx, 0xffffffff
test eax, eax
push 0x4eee5c
cmovne ecx, edx
push ecx
call fcn.004503db
add esp, 0x20
mov dword [ebp - 0x248], eax
test eax, eax
jne 0x48d301
push edi
lea esi, [eax + 5]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x48d491
push 0x10000
push 8
mov dword [ebp - 0x254], 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
jne 0x48d32d
lea esi, [eax + 0xe]
jmp 0x48d471
xor esi, esi
nop
push 0x10000
push edi
push dword [ebp - 0x248]
call fcn.00450428
add esp, 0xc
mov dword [ebp - 0x23c], eax
cmp eax, 0xffffffff
je 0x48d45b
push eax
mov edx, edi
mov ecx, edi
call fcn.0048c560
add esp, 4
lea eax, [ebp - 0x254]
push eax
push 1
push 0
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 0x23c]
push edi
push dword [ebp - 0x234]
call dword [sym.imp.KERNEL32.dll_BackupWrite]
test eax, eax
je 0x48d397
cmp dword [ebp - 0x23c], 0x10000
jae 0x48d330
jmp 0x48d39f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push edi
push 0
call eax
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
test esi, esi
jne 0x48d471
mov esi, dword [ebp - 0x240]
mov edi, dword [ebp - 0x234]
test byte [esi], 2
je 0x48d3e0
mov eax, dword [ebp - 0x238]
add eax, 0x404
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
nop dword [eax]
cmp dword [ebp + 0x10], 0
jne 0x48d402
test byte [esi], 1
je 0x48d402
mov eax, dword [ebp - 0x238]
push dword [eax + 0x10]
lea eax, [ebp - 0x218]
push eax
call fcn.0048d620
jmp 0x48d418
mov eax, dword [ebp - 0x238]
push dword [eax + 0x10]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [ebp - 0x244], 0
jne 0x48d450
test eax, eax
jne 0x48d445
mov eax, dword [ebp - 0x258]
test eax, eax
je 0x48d456
push eax
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
mov dword [ebp - 0x244], eax
test eax, eax
jne 0x48d3e0
xor esi, esi
push edi
jmp 0x48d477
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
push edi
jmp 0x48d477
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
xor esi, esi
push edi
jmp 0x48d477
mov eax, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
call eax
push edi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, 0x1e
push dword [ebp - 0x234]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x248]
call fcn.00450168
add esp, 4
mov eax, esi
jmp 0x48d491
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a9913
mov esp, ebp
pop ebp
ret 0xc
call fcn.004b3474
int3