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

Disassembly:
push 0xffffffffffffffff
push 0x5af010
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x633828]
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 0x4150c2
mov dword [esp + 0x10], ebp
test ebx, ebx
je 0x4150c2
mov eax, dword [esi + 0x28]
mov ecx, dword [esp + 0x10]
test byte [ecx + eax + 8], 0x10
jne 0x4150ab
lea edi, [esi + 0x24]
push ebp
mov ecx, edi
call fcn.0040e450
mov ecx, eax
call fcn.0040e440
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.005985d4
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.0040e450
mov ecx, eax
call fcn.0040e440
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.005985d4
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00415570
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 2
call fcn.00598998
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 1
call fcn.0059885f
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.005985d4
mov ecx, esi
call fcn.004151e0
test eax, eax
jne 0x414f65
mov dword [esp + 0x14], eax
xor ebx, ebx
mov ecx, esi
call fcn.00415250
mov ecx, esi
call fcn.004152d0
test eax, eax
je 0x414f7d
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 0x4150ab
cmp eax, 0xffffffff
jne 0x414fab
xor ebx, ebx
push ecx
mov dword [esp + 0x18], ebx
mov ecx, esp
mov dword [esp + 0x28], esp
jmp 0x414ff3
test al, 6
je 0x414fc4
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x414fc4
mov eax, dword [esi + 0x44]
dec eax
xor ebx, ebx
mov dword [esi + 0x44], eax
jmp 0x4150ab
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 0x415009
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x415009
push ecx
xor ebx, ebx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.Delete_failed
call fcn.005988cd
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
jmp 0x4150ab
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 0x41506c
mov dword [esp + 0x28], esp
push str.Delete_failed
call fcn.005988cd
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 0x415048
xor ebx, ebx
lea edi, [esi + 0x20]
push 0x60cdf8
mov ecx, edi
call fcn.00598c3b
mov eax, dword [esi + 0x28]
mov ecx, dword [esp + 0x10]
lea edx, [ecx + eax + 4]
mov ecx, edi
push edx
call fcn.00598c77
jmp 0x4150ab
mov dword [esp + 0x28], esp
push str.Delete_successful
call fcn.005988cd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4150ab
push ebp
mov ecx, edi
call fcn.0040e450
mov ecx, eax
call fcn.0040e440
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.005985d4
mov ecx, esi
call fcn.00415300
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x2c]
inc ebp
add ecx, 0x38
cmp ebp, eax
mov dword [esp + 0x10], ecx
jl 0x414eb3
mov eax, dword [esi + 0x2c]
xor edi, edi
cmp eax, edi
jle 0x415194
mov dword [esp + 0x10], edi
test ebx, ebx
je 0x415194
mov ecx, dword [esi + 0x28]
mov edx, dword [esp + 0x10]
test byte [ecx + edx + 8], 0x10
je 0x41517d
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.0040e450
mov ecx, eax
call fcn.0040e440
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.005985d4
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00415570
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x38], 3
call fcn.005985d4
mov ecx, esi
call fcn.004151e0
test eax, eax
jne 0x41514c
mov dword [esp + 0x14], eax
xor ebx, ebx
jmp 0x41516f
push edi
mov ecx, ebp
call fcn.0040e450
mov ecx, eax
call fcn.0040e440
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.005985d4
mov ecx, esi
call fcn.00415430
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 1
call fcn.0059885f
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x2c]
inc edi
add ecx, 0x38
cmp edi, eax
mov dword [esp + 0x10], ecx
jl 0x4150d3
push 0x60cdf8
lea ecx, [esi + 0x20]
call fcn.00595942
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 0
call fcn.0059885f
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 0xffffffff
call fcn.0059885f
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