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

Disassembly:
push 0xffffffffffffffff
push 0x604100
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x69c108]
push ebx
push ebp
mov ebx, 1
push esi
push edi
mov esi, ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], eax
xor ebp, ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x30], ebp
mov eax, dword [esi + 0x2c]
mov byte [esp + 0x30], bl
mov dword [esi + 0x44], eax
mov eax, dword [esi + 0x2c]
cmp eax, ebp
jle 0x415e12
mov dword [esp + 0x10], ebp
test ebx, ebx
je 0x415e12
mov eax, dword [esi + 0x28]
mov ecx, dword [esp + 0x10]
test byte [ecx + eax + 8], 0x10
jne 0x415dfb
lea edi, [esi + 0x24]
push ebp
mov ecx, edi
call fcn.0040eb00
mov ecx, eax
call fcn.0040eaf0
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.005eae6a
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov edx, dword [esi + 0x48]
mov eax, dword [esi + 0x1c]
inc edx
push eax
push ebp
mov ecx, edi
mov dword [esi + 0x48], edx
call fcn.0040eb00
mov ecx, eax
call fcn.0040eaf0
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.005eae6a
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.004162c0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 2
call fcn.005eb22e
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 1
call fcn.005eb0f5
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.005eae6a
mov ecx, esi
call fcn.00415f30
test eax, eax
jne 0x415cb5
mov dword [esp + 0x14], eax
xor ebx, ebx
mov ecx, esi
call fcn.00415fa0
mov ecx, esi
call fcn.00416020
test eax, eax
je 0x415ccd
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov eax, dword [esi + 0x28]
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + eax + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test ebx, ebx
je 0x415dfb
cmp eax, 0xffffffff
jne 0x415cfb
xor ebx, ebx
push ecx
mov dword [esp + 0x18], ebx
mov ecx, esp
mov dword [esp + 0x28], esp
jmp 0x415d43
test al, 6
je 0x415d14
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x415d14
mov eax, dword [esi + 0x44]
dec eax
xor ebx, ebx
mov dword [esi + 0x44], eax
jmp 0x415dfb
mov eax, dword [esi + 0x28]
mov ecx, dword [esp + 0x10]
push 0x80
mov eax, dword [ecx + eax + 4]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x415d59
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x415d59
push ecx
xor ebx, ebx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.Delete_failed
call fcn.005eb163
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
jmp 0x415dfb
mov eax, dword [esi + 0x28]
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + eax + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ecx
test eax, eax
mov ecx, esp
jne 0x415dbc
mov dword [esp + 0x28], esp
push str.Delete_failed
call fcn.005eb163
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov eax, dword [esi + 0xc]
mov dword [esp + 0x14], 0
test eax, eax
jne 0x415d98
xor ebx, ebx
lea edi, [esi + 0x20]
push 0x672e38
mov ecx, edi
call fcn.005eb4d1
mov eax, dword [esi + 0x28]
mov ecx, dword [esp + 0x10]
lea edx, [ecx + eax + 4]
mov ecx, edi
push edx
call fcn.005eb50d
jmp 0x415dfb
mov dword [esp + 0x28], esp
push str.Delete_successful
call fcn.005eb163
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [esi + 0x14]
test eax, eax
je 0x415dfb
push ebp
mov ecx, edi
call fcn.0040eb00
mov ecx, eax
call fcn.0040eaf0
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.005eae6a
mov ecx, esi
call fcn.00416050
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x2c]
inc ebp
add ecx, 0x38
cmp ebp, eax
mov dword [esp + 0x10], ecx
jl 0x415c03
mov eax, dword [esi + 0x2c]
xor edi, edi
cmp eax, edi
jle 0x415ee4
mov dword [esp + 0x10], edi
test ebx, ebx
je 0x415ee4
mov ecx, dword [esi + 0x28]
mov edx, dword [esp + 0x10]
test byte [ecx + edx + 8], 0x10
je 0x415ecd
mov eax, dword [esi + 0x48]
lea ebp, [esi + 0x24]
inc eax
mov ecx, ebp
mov dword [esi + 0x48], eax
mov eax, dword [esi + 0x1c]
push eax
push edi
call fcn.0040eb00
mov ecx, eax
call fcn.0040eaf0
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.005eae6a
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.004162c0
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x38], 3
call fcn.005eae6a
mov ecx, esi
call fcn.00415f30
test eax, eax
jne 0x415e9c
mov dword [esp + 0x14], eax
xor ebx, ebx
jmp 0x415ebf
push edi
mov ecx, ebp
call fcn.0040eb00
mov ecx, eax
call fcn.0040eaf0
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.005eae6a
mov ecx, esi
call fcn.00416180
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 1
call fcn.005eb0f5
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x2c]
inc edi
add ecx, 0x38
cmp edi, eax
mov dword [esp + 0x10], ecx
jl 0x415e23
push 0x672e38
lea ecx, [esi + 0x20]
call fcn.005e778b
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 0
call fcn.005eb0f5
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 0xffffffff
call fcn.005eb0f5
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret