Function at 0x45c218
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x45c220
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x45c64e
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x45c607
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0xc]
call fcn.00434b68
cmp dword [ebp - 0xc], 0
jne 0x45c264
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45c611
push 0
push 0xa4
lea ecx, [ebp - 0x28]
xor edx, edx
mov eax, 0x45c664
call fcn.00442e7c
mov eax, dword [ebp - 0x28]
push eax
lea ecx, [ebp - 0x2c]
xor edx, edx
mov eax, 0x45c680
call fcn.00442e7c
mov edx, dword [ebp - 0x2c]
mov eax, ebx
pop ecx
call fcn.0045b1ac
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x45c5f6
push dword fs:[edx]
mov dword fs:[edx], esp
mov dl, 1
mov eax, dword [0x41b334]
call fcn.004043c8
mov dword [ebp - 4], eax
mov dl, 1
mov eax, dword [0x41b334]
call fcn.004043c8
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x45c5d9
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.0040e114
push ebp
lea eax, [ebp - 0x30]
mov ecx, 0x45c6a8
mov edx, dword [ebp - 0x14]
call fcn.00405724
mov eax, dword [ebp - 0x30]
call fcn.0045be40
pop ecx
lea ecx, [ebp - 0x34]
xor edx, edx
mov eax, 0x45c6b4
call fcn.00442e7c
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
call fcn.0043762c
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
add ebx, eax
mov ecx, ebx
sub ecx, 2
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.0045b854
xor eax, eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
cmp eax, 0
jl 0x45c495
mov dword [ebp - 0x20], eax
xor edx, edx
push ebp
push 0x45c47e
push dword fs:[edx]
mov dword fs:[edx], esp
inc dword [ebp - 0x24]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
add ebx, eax
mov ecx, ebx
sub ecx, 2
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x10]
call fcn.0045b854
lea ecx, [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x45c3a3
sub ebx, 4
mov ebx, dword [ebx]
lea ecx, [ebp - 0x38]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov esi, dword [ebp - 0x3c]
test esi, esi
je 0x45c3c3
sub esi, 4
mov esi, dword [esi]
lea eax, [ebp - 0x40]
push eax
lea edx, [ebx + 1]
mov ecx, esi
mov eax, dword [ebp - 0x18]
call fcn.00405904
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x10]
call fcn.0043762c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x10]
mov dl, 1
call fcn.0043c040
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
call fcn.00436468
call fcn.0043c750
test al, al
jne 0x45c3ef
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
cmp dword [eax + 0x32], 0
je 0x45c42e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.00404dc4
call fcn.00404dc4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45c611
push 0
lea ecx, [ebp - 0x44]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x44]
call fcn.0040589c
push eax
call sub.kernel32.dll_SetFileAttributesA
lea ecx, [ebp - 0x48]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, dword [ebp - 0x48]
mov dword [ebp - 0x3c], ebx
mov eax, dword [ebp - 0x3c]
call fcn.0040589c
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45c488
dec dword [ebp - 0x20]
cmp dword [ebp - 0x20], 0xffffffff
jne 0x45c354
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
cmp eax, 0
jl 0x45c5bb
mov dword [ebp - 0x20], eax
xor edx, edx
push ebp
push 0x45c5a4
push dword fs:[edx]
mov dword fs:[edx], esp
inc dword [ebp - 0x24]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
add ebx, eax
mov ecx, ebx
sub ecx, 2
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x10]
call fcn.0045b854
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x45c4f9
sub ebx, 4
mov ebx, dword [ebx]
lea ecx, [ebp - 0x4c]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x3c], eax
mov esi, dword [ebp - 0x3c]
test esi, esi
je 0x45c519
sub esi, 4
mov esi, dword [esi]
lea eax, [ebp - 0x50]
push eax
lea edx, [ebx + 1]
mov ecx, esi
mov eax, dword [ebp - 0x1c]
call fcn.00405904
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x10]
call fcn.0043762c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x10]
mov dl, 1
call fcn.0043c040
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
call fcn.00436468
call fcn.0043c750
test al, al
jne 0x45c545
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
cmp dword [eax + 0x32], 0
je 0x45c584
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.00404dc4
call fcn.00404dc4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45c611
lea ecx, [ebp - 0x54]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x54]
call fcn.004033c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45c5ae
dec dword [ebp - 0x20]
cmp dword [ebp - 0x20], 0xffffffff
jne 0x45c4aa
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45c5e0
mov eax, dword [ebp - 4]
call fcn.004043f8
mov eax, dword [ebp - 8]
call fcn.004043f8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45c655
lea eax, [ebp - 0x54]
mov edx, 6
call fcn.00405430
lea eax, [ebp - 0x38]
mov edx, 5
call fcn.00405430
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00405430
lea eax, [ebp - 0xc]
call fcn.0040540c
ret