Function at 0x464f1c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x464f24
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x465116
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [esi + 0x50], 0
je 0x4650fb
push dword [esi + 0x6c]
push dword [esi + 0x68]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00463320
test al, al
je 0x4650fb
lea eax, [ebp - 0xc]
mov edx, dword [esi + 0x74]
call fcn.00404220
lea eax, [ebp - 8]
mov edx, dword [esi + 0x70]
call fcn.00404220
mov dl, 1
mov eax, dword [0x416e04]
call fcn.00403344
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4650f4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.00408ab8
test al, al
je 0x465003
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov eax, dword [ebp - 0xc]
call fcn.00404648
push eax
call sub.kernel32.dll_DeleteFileA
xor ebx, ebx
jmp 0x464ff6
lea ecx, [ebp - 0x14]
mov edx, ebx
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
cmp dword [ebp - 0x14], 0
je 0x464fe9
lea ecx, [ebp - 0x18]
mov edx, ebx
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x18]
call fcn.00408ab8
test al, al
jne 0x464ff5
mov edx, ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x48]
jmp 0x464ff6
inc ebx
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
cmp ebx, eax
jle 0x464fbd
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0041b5dc
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x465029
mov edx, ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
cmp dword [esi + 0x54], 1
jl 0x4650ae
jmp 0x4650a1
lea ecx, [ebp - 0x1c]
xor edx, edx
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x1c]
call fcn.00408ab8
test al, al
je 0x465097
lea ecx, [ebp - 0x20]
xor edx, edx
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x20]
call fcn.00404648
push eax
call sub.kernel32.dll_DeleteFileA
lea ecx, [ebp - 0x28]
xor edx, edx
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x465130
call fcn.00404494
mov edx, dword [ebp - 0x24]
mov eax, esi
call fcn.00465140
xor edx, edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, dword [esi + 0x54]
jg 0x46503c
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.00408d40
cmp dword [ebp - 0x10], 0
je 0x4650d3
mov eax, dword [ebp - 0x10]
call fcn.00408ac8
test al, al
jne 0x4650d3
mov eax, dword [ebp - 0x10]
call fcn.00408aec
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x74]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4650fb
mov eax, dword [ebp - 4]
call fcn.00403374
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46511d
lea eax, [ebp - 0x28]
mov edx, 9
call fcn.004041ac
ret