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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
mov ebx, eax
mov eax, 0x4b037c
call fcn.00499b88
mov word [ebp - 0x64], 0x14
lea edx, [ebx + 0x464]
lea eax, [ebp - 4]
call fcn.004a4af0
inc dword [ebp - 0x58]
xor edx, edx
mov word [ebp - 0x64], 8
mov word [ebp - 0x64], 0x20
mov dword [ebp - 0xc], edx
mov eax, dword [0x4b7534]
inc dword [ebp - 0x58]
lea edx, [ebp - 0xc]
mov eax, dword [eax]
call fcn.00446220
lea eax, [ebp - 0xc]
mov eax, dword [eax]
xor edx, edx
mov dword [ebp - 8], edx
lea edx, [ebp - 8]
inc dword [ebp - 0x58]
call fcn.004852e0
dec dword [ebp - 0x58]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004a4bd4
mov word [ebp - 0x64], 8
mov word [ebp - 0x64], 0x2c
mov edx, 0x4af07f
lea eax, [ebp - 0x10]
call fcn.004a4ab8
inc dword [ebp - 0x58]
lea edx, [ebp - 0x10]
lea eax, [ebp - 4]
call fcn.004a4e3c
cmp eax, 2
lea eax, [ebp - 0x10]
setne cl
and ecx, 1
mov edx, 2
push ecx
dec dword [ebp - 0x58]
call fcn.004a4bd4
pop ecx
test cl, cl
je 0x416763
mov word [ebp - 0x64], 0x38
xor eax, eax
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
inc dword [ebp - 0x58]
lea edx, [ebp - 4]
lea eax, [ebp - 8]
call fcn.004a4c2c
lea edx, [ebp - 0x14]
lea eax, [ebp - 4]
call fcn.004a4c04
dec dword [ebp - 0x58]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004a4bd4
mov eax, dword [ebp - 4]
call fcn.004851ec
test al, al
je 0x4169a5
mov edx, dword [ebp - 4]
test edx, edx
je 0x41677f
mov ecx, dword [ebp - 4]
jmp 0x416784
mov ecx, 0x4af081
push ecx
call sub.KERNEL32.DLL_GetFileAttributesA
mov word [ebp - 0x64], 8
test al, 1
je 0x4167af
and eax, 0xfffffffe
push eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x4167a4
mov edx, dword [ebp - 4]
jmp 0x4167a9
mov edx, 0x4af082
push edx
call sub.KERNEL32.DLL_SetFileAttributesA
mov eax, dword [ebp - 4]
test eax, eax
je 0x4167bb
mov ecx, dword [ebp - 4]
jmp 0x4167c0
mov ecx, 0x4af083
push ecx
call sub.KERNEL32.DLL_DeleteFileA
test eax, eax
je 0x4168c0
mov word [ebp - 0x64], 0x44
mov edx, 0x4af0a6
lea eax, [ebp - 0x20]
call fcn.004a4ab8
inc dword [ebp - 0x58]
xor edx, edx
mov eax, dword [eax]
lea ecx, [ebp - 0x24]
push eax
push 0
mov dword [ebp - 0x24], edx
push ecx
inc dword [ebp - 0x58]
mov edx, 0x4af08f
lea eax, [ebp - 0x1c]
call fcn.004a4ab8
inc dword [ebp - 0x58]
mov edx, 0x4af084
mov ecx, dword [eax]
lea eax, [ebp - 0x18]
push ecx
call fcn.004a4ab8
inc dword [ebp - 0x58]
mov ecx, dword [eax]
push ecx
call fcn.00401818
pop edx
pop ecx
call fcn.00405408
lea edx, [ebp - 0x24]
xor eax, eax
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x28]
inc dword [ebp - 0x58]
lea eax, [ebx + 0x464]
call fcn.004a4c2c
lea edx, [ebp - 0x28]
lea eax, [ebx + 0x448]
call fcn.004a4c04
dec dword [ebp - 0x58]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0x58]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0x58]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0x58]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0x58]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004a4bd4
push 1
push 0
mov ecx, 1
mov edx, dword [ebx + 0x38]
mov eax, ebx
call fcn.00415a7c
mov edx, dword [ebx + 0x38]
mov eax, ebx
call fcn.00415b64
jmp 0x416a92
mov word [ebp - 0x64], 0x50
mov edx, 0x4af0d2
lea eax, [ebp - 0x34]
call fcn.004a4ab8
inc dword [ebp - 0x58]
lea edx, [ebp - 0x38]
mov ecx, dword [eax]
xor eax, eax
push ecx
push 0
mov dword [ebp - 0x38], eax
push edx
inc dword [ebp - 0x58]
mov edx, str.INFO_DELETEFILEFAIL
lea eax, [ebp - 0x30]
call fcn.004a4ab8
inc dword [ebp - 0x58]
mov edx, 0x4af0b3
mov ecx, dword [eax]
lea eax, [ebp - 0x2c]
push ecx
call fcn.004a4ab8
inc dword [ebp - 0x58]
mov ecx, dword [eax]
push ecx
call fcn.00401818
pop edx
pop ecx
call fcn.00405408
lea edx, [ebp - 0x38]
xor eax, eax
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x3c]
inc dword [ebp - 0x58]
lea eax, [ebx + 0x464]
call fcn.004a4c2c
lea edx, [ebp - 0x3c]
lea eax, [ebx + 0x448]
call fcn.004a4c04
dec dword [ebp - 0x58]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0x58]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0x58]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0x58]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0x58]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.004a4bd4
mov ecx, dword [ebx + 0x448]
mov edx, dword [ebx + 0x38]
mov eax, ebx
call fcn.00415b84
jmp 0x416a92
mov word [ebp - 0x64], 0x5c
mov edx, 0x4af101
lea eax, [ebp - 0x48]
call fcn.004a4ab8
inc dword [ebp - 0x58]
lea edx, [ebp - 0x4c]
mov ecx, dword [eax]
xor eax, eax
push ecx
push 0
mov dword [ebp - 0x4c], eax
push edx
inc dword [ebp - 0x58]
mov edx, str.INFO_DELETEFILESUCCESS
lea eax, [ebp - 0x44]
call fcn.004a4ab8
inc dword [ebp - 0x58]
mov edx, 0x4af0df
mov ecx, dword [eax]
lea eax, [ebp - 0x40]
push ecx
call fcn.004a4ab8
inc dword [ebp - 0x58]
mov ecx, dword [eax]
push ecx
call fcn.00401818
pop edx
pop ecx
call fcn.00405408
lea edx, [ebp - 0x4c]
xor eax, eax
mov dword [ebp - 0x50], eax
lea ecx, [ebp - 0x50]
inc dword [ebp - 0x58]
lea eax, [ebx + 0x464]
call fcn.004a4c2c
lea edx, [ebp - 0x50]
lea eax, [ebx + 0x448]
call fcn.004a4c04
dec dword [ebp - 0x58]
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0x58]
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0x58]
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0x58]
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0x58]
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.004a4bd4
push 1
push 0
mov ecx, 1
mov edx, dword [ebx + 0x38]
mov eax, ebx
call fcn.00415a7c
mov edx, dword [ebx + 0x38]
mov eax, ebx
call fcn.00415b64
dec dword [ebp - 0x58]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004a4bd4
dec dword [ebp - 0x58]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004a4bd4
mov ecx, dword [ebp - 0x74]
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret