Function at 0x10014ae0
Capabilities:
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10020d2e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x488
mov eax, dword [0x100262c4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x48c], ecx
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x48c]
call fcn.10014820
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.10001f10
mov byte [ebp - 4], 1
mov byte [ebp - 0xd], 0
lea ecx, [ebp - 0x58]
call fcn.10001fd0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
and ecx, 0xfffffffe
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
push edx
lea ecx, [ebp - 0x58]
call fcn.10001fd0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x10021eb8
lea ecx, [ebp - 0x58]
call fcn.10001fd0
push eax
call fcn.10017d14
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x10014bac
mov byte [ebp - 0x46d], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.10001f90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.10001f90
mov al, byte [ebp - 0x46d]
jmp 0x10014da5
lea ecx, [ebp - 0x468]
call fcn.10014e70
mov byte [ebp - 4], 2
mov dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x3c]
push eax
push 0x400
lea ecx, [ebp - 0x45c]
push ecx
call fcn.10017c32
add esp, 0xc
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x10014c3f
lea edx, [ebp - 0x45c]
push edx
lea ecx, [ebp - 0x30]
call fcn.10001fb0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x474], esp
lea eax, [ebp - 0x30]
push eax
call fcn.10001f40
mov dword [ebp - 0x490], eax
mov ecx, dword [ebp - 0x48c]
call fcn.10014710
mov byte [ebp - 0x491], al
movzx ecx, byte [ebp - 0x491]
test ecx, ecx
jne 0x10014c39
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x468]
call fcn.10014f00
jmp 0x10014c3d
mov byte [ebp - 0xd], 1
jmp 0x10014bc2
mov eax, dword [ebp - 0x3c]
push eax
call fcn.10017be1
add esp, 4
mov dword [ebp - 0x3c], 0
movzx ecx, byte [ebp - 0xd]
test ecx, ecx
je 0x10014d66
lea ecx, [ebp - 0x58]
call fcn.10001fd0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x10021ebc
lea ecx, [ebp - 0x58]
call fcn.10001fd0
push eax
call fcn.10017d14
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x10014cc8
mov byte [ebp - 0x475], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x468]
call fcn.10014eb0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.10001f90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.10001f90
mov al, byte [ebp - 0x475]
jmp 0x10014da5
lea ecx, [ebp - 0x46c]
call fcn.10003540
lea edx, [ebp - 0x47c]
push edx
lea ecx, [ebp - 0x468]
call fcn.10014ed0
mov eax, dword [eax]
mov dword [ebp - 0x46c], eax
jmp 0x10014d03
push 0
lea ecx, [ebp - 0x480]
push ecx
lea ecx, [ebp - 0x46c]
call fcn.10014f50
lea edx, [ebp - 0x484]
push edx
lea ecx, [ebp - 0x468]
call fcn.1000c910
push eax
lea ecx, [ebp - 0x46c]
call fcn.10014f80
movzx eax, al
test eax, eax
je 0x10014d53
lea ecx, [ebp - 0x46c]
call fcn.10014f30
push eax
lea ecx, [ebp - 0x30]
call fcn.1000c5d0
mov ecx, dword [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x30]
call fcn.10001fd0
push eax
call fcn.10017b24
add esp, 8
jmp 0x10014cef
mov edx, dword [ebp - 0x3c]
push edx
call fcn.10017be1
add esp, 4
mov dword [ebp - 0x3c], 0
movzx eax, byte [ebp - 0xd]
neg eax
sbb eax, eax
inc eax
mov byte [ebp - 0x485], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x468]
call fcn.10014eb0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.10001f90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.10001f90
mov al, byte [ebp - 0x485]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.10015c70
mov esp, ebp
pop ebp
ret