Function at 0x10028d70
Capabilities:
Check if file exists
Delete file
Get disk size
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10088288
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x100a5c90]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x70]
push ecx
lea edx, [ebp - 0x78]
push edx
lea eax, [edi + 0x58]
push eax
mov dword [ebp - 0x68], edi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x10028dcc
mov ebx, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x6c]
shrd ebx, ecx, 0x14
shr ecx, 0x14
cmp ebx, 0xffffffff
jne 0x10028dd3
xor eax, eax
jmp 0x10029026
xor edx, edx
push 9
mov eax, str.UDISKSIZE
lea esi, [ebp - 0x48]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], dx
call fcn.10003a30
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x2c], ax
push 9
mov eax, 0x1009181c
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
call fcn.10003a30
lea ecx, [ebp - 0x48]
push ecx
mov ecx, ebx
mov ebx, esi
mov byte [ebp - 4], 1
call fcn.10024db0
mov edi, 8
cmp dword [ebp - 0x18], edi
jb 0x10028e3f
mov edx, dword [ebp - 0x2c]
push edx
call fcn.10066b10
add esp, 4
xor esi, esi
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x34], edi
jb 0x10028e69
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.10066b10
add esp, 4
mov ebx, dword [ebp - 0x68]
mov eax, dword [ebx + 0x2130]
lea ecx, [ebx + 0x2120]
push 0x1008da28
xor edi, edi
call fcn.10004240
test eax, eax
je 0x10028dcc
mov dword [ebp - 0x38], esi
xor edx, edx
push 6
mov eax, str.DISKID
lea esi, [ebp - 0x48]
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], dx
call fcn.10003a30
mov dword [ebp - 4], 2
xor eax, eax
mov word [ebp - 0x2c], ax
push 9
mov eax, 0x1009181c
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
call fcn.10003a30
mov ecx, esi
push ecx
push ebx
lea edx, [ebx + 0x2120]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.10023ea0
mov esi, 8
movzx edi, al
cmp dword [ebp - 0x18], esi
jb 0x10028f00
mov edx, dword [ebp - 0x2c]
push edx
call fcn.10066b10
add esp, 4
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x34], esi
jb 0x10028f2c
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.10066b10
add esp, 4
test edi, edi
je 0x10028dcc
mov eax, str.DISKPRODUCTID
lea ecx, [ebp - 0x2c]
call fcn.100036d0
mov eax, 0x1009181c
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 4
call fcn.100036d0
lea eax, [ebp - 0x48]
push eax
lea edx, [ebx + 0x213c]
push ebx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.10023ea0
movzx edi, al
cmp dword [ebp - 0x34], esi
jb 0x10028f80
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.10066b10
add esp, 4
xor edx, edx
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], dx
cmp dword [ebp - 0x18], esi
jb 0x10028fac
mov eax, dword [ebp - 0x2c]
push eax
call fcn.10066b10
add esp, 4
test edi, edi
je 0x10028dcc
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea esi, [ebx + 0x1120]
push esi
call edi
cmp eax, 0xffffffff
je 0x10028fe5
shr eax, 4
not eax
and eax, 1
je 0x10028fe5
push esi
call edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, esi
lea ecx, [ebp - 0x64]
call fcn.100036d0
lea ecx, [ebp - 0x64]
push ecx
push ebx
mov dword [ebp - 4], 6
call fcn.100251d0
lea ecx, [ebp - 0x64]
movzx ebx, al
call fcn.10003710
test ebx, ebx
je 0x10028dcc
push esi
call edi
or eax, 7
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10066b1b
mov esp, ebp
pop ebp
ret