Function at 0x461ed0
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x461ed8
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x462306
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x4622bf
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0xc]
call fcn.00437314
cmp dword [ebp - 0xc], 0
jne 0x461f1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4622c9
push 0
push 0xa4
lea ecx, [ebp - 0x28]
xor edx, edx
mov eax, 0x46231c
call fcn.00445990
mov eax, dword [ebp - 0x28]
push eax
lea ecx, [ebp - 0x2c]
xor edx, edx
mov eax, 0x462338
call fcn.00445990
mov edx, dword [ebp - 0x2c]
mov eax, ebx
pop ecx
call fcn.00460e64
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x4622ae
push dword fs:[edx]
mov dword fs:[edx], esp
mov dl, 1
mov eax, dword [0x41b344]
call fcn.004043dc
mov dword [ebp - 4], eax
mov dl, 1
mov eax, dword [0x41b344]
call fcn.004043dc
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x462291
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.0040e11c
push ebp
lea eax, [ebp - 0x30]
mov ecx, 0x462360
mov edx, dword [ebp - 0x14]
call fcn.00405738
mov eax, dword [ebp - 0x30]
call fcn.00461af8
pop ecx
lea ecx, [ebp - 0x34]
xor edx, edx
mov eax, 0x46236c
call fcn.00445990
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
call fcn.00439e20
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.0046150c
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 0x46214d
mov dword [ebp - 0x20], eax
xor edx, edx
push ebp
push 0x462136
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.0046150c
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 0x46205b
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 0x46207b
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.00405918
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x10]
call fcn.00439e20
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x10]
mov dl, 1
call fcn.0043ead8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
call fcn.00438c14
call fcn.0043f250
test al, al
jne 0x4620a7
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
cmp dword [eax + 0x32], 0
je 0x4620e6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.00404dd8
call fcn.00404dd8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4622c9
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.004058b0
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.004058b0
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 0x462140
dec dword [ebp - 0x20]
cmp dword [ebp - 0x20], 0xffffffff
jne 0x46200c
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
cmp eax, 0
jl 0x462273
mov dword [ebp - 0x20], eax
xor edx, edx
push ebp
push 0x46225c
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.0046150c
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 0x4621b1
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 0x4621d1
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.00405918
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x10]
call fcn.00439e20
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x10]
mov dl, 1
call fcn.0043ead8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
call fcn.00438c14
call fcn.0043f250
test al, al
jne 0x4621fd
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
cmp dword [eax + 0x32], 0
je 0x46223c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.00404dd8
call fcn.00404dd8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4622c9
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.004033d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x462266
dec dword [ebp - 0x20]
cmp dword [ebp - 0x20], 0xffffffff
jne 0x462162
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462298
mov eax, dword [ebp - 4]
call fcn.0040440c
mov eax, dword [ebp - 8]
call fcn.0040440c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46230d
lea eax, [ebp - 0x54]
mov edx, 6
call fcn.00405444
lea eax, [ebp - 0x38]
mov edx, 5
call fcn.00405444
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00405444
lea eax, [ebp - 0xc]
call fcn.00405420
ret