Function at 0x48c828
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x48c830
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404c8c
xor eax, eax
push ebp
push 0x48cdd9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00408fdc
inc eax
je 0x48cdb1
mov eax, dword [ebp - 4]
call fcn.00404a9c
mov edx, dword [ebp - 4]
movzx edx, byte [edx + eax - 1]
lea eax, [ebp - 0x1c]
call fcn.004049a8
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.00408664
mov eax, dword [ebp - 0x18]
mov edx, 0x48cdf0
call fcn.00404be8
jne 0x48cb1b
xor edx, edx
push ebp
push 0x48cb11
push dword fs:[edx]
mov dword fs:[edx], esp
mov dl, 1
mov eax, dword [0x463a34]
call fcn.00463ce4
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x3b8]
mov eax, dword [eax + 0x170]
call fcn.00421900
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x3b8]
mov eax, dword [eax + 0x170]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x3bc]
mov eax, dword [eax + 0x170]
call fcn.004218d0
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov edx, dword [edx + 0x3b8]
mov edx, dword [edx + 0x170]
mov edx, dword [edx + 0xc]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x3bc]
mov eax, dword [eax + 0x170]
call fcn.004218d0
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0x20]
mov ecx, 0x48cdfc
call fcn.00404ae8
mov edx, dword [ebp - 0x20]
pop eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 4]
mov ecx, 0x48cdfc
call fcn.00404ae8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x338]
mov eax, dword [eax + 0x170]
call fcn.004218d0
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x338]
mov eax, dword [eax + 0x170]
call fcn.004218d0
mov edx, dword [eax]
call dword [edx + 0x2c]
cmp eax, 0x1e4
jge 0x48c9f3
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ebx, dword [eax + 0x338]
mov eax, dword [ebx + 0x170]
call fcn.004218d0
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, 0x1e4
sub edx, eax
mov dword [ebp - 0x24], edx
fild dword [ebp - 0x24]
fdiv dword [0x48ce08]
call fcn.00402b6c
mov edx, eax
add edx, 5
mov eax, dword [ebp + 8]
mov eax, ebx
ret
call fcn.0043fb74
jmp 0x48ca09
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x338]
mov edx, 5
call fcn.0043fb74
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x338]
mov eax, dword [eax + 0x170]
call fcn.004218d0
mov edx, dword [eax]
call dword [edx + 0x20]
cmp eax, 0xf2
jge 0x48ca71
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ebx, dword [eax + 0x338]
mov eax, dword [ebx + 0x170]
call fcn.004218d0
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, 0xf2
sub edx, eax
mov dword [ebp - 0x24], edx
fild dword [ebp - 0x24]
fdiv dword [0x48ce08]
call fcn.00402b6c
mov edx, eax
add edx, 9
mov eax, dword [ebp + 8]
mov eax, ebx
call fcn.0043fb98
jmp 0x48ca87
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x338]
mov edx, 9
call fcn.0043fb98
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x3b4]
xor edx, edx
call fcn.00440340
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x3c4]
xor edx, edx
call fcn.00440340
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 8]
mov ecx, 0x48ce14
call fcn.00404ae8
mov eax, dword [ebp - 8]
call fcn.00404c9c
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0xc]
mov ecx, 0x48ce28
call fcn.00404ae8
mov eax, dword [ebp - 0xc]
call fcn.00404c9c
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 0x48cb1b
mov eax, dword [ebp - 4]
call fcn.00404a9c
mov edx, dword [ebp - 4]
movzx edx, byte [edx + eax - 1]
lea eax, [ebp - 0x2c]
call fcn.004049a8
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.00408664
mov eax, dword [ebp - 0x28]
mov edx, 0x48ce3c
call fcn.00404be8
jne 0x48cdb1
xor edx, edx
push ebp
push 0x48cda7
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x3b8]
mov eax, dword [eax + 0x170]
call fcn.004218d0
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x3bc]
mov eax, dword [eax + 0x170]
call fcn.004218d0
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov edx, dword [edx + 0x3b8]
mov edx, dword [edx + 0x170]
mov edx, dword [edx + 0xc]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x3bc]
mov eax, dword [eax + 0x170]
call fcn.004218d0
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0x30]
mov ecx, 0x48cdfc
call fcn.00404ae8
mov edx, dword [ebp - 0x30]
pop eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 4]
mov ecx, 0x48cdfc
call fcn.00404ae8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x338]
mov eax, dword [eax + 0x170]
call fcn.004218d0
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x338]
mov eax, dword [eax + 0x170]
call fcn.004218d0
mov edx, dword [eax]
call dword [edx + 0x2c]
cmp eax, 0x1e4
jge 0x48cc89
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ebx, dword [eax + 0x338]
mov eax, dword [ebx + 0x170]
call fcn.004218d0
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, 0x1e4
sub edx, eax
mov dword [ebp - 0x24], edx
fild dword [ebp - 0x24]
fdiv dword [0x48ce08]
call fcn.00402b6c
mov edx, eax
add edx, 5
mov eax, dword [ebp + 8]
mov eax, ebx
call fcn.0043fb74
jmp 0x48cc9f
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x338]
mov edx, 5
call fcn.0043fb74
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x338]
mov eax, dword [eax + 0x170]
call fcn.004218d0
mov edx, dword [eax]
call dword [edx + 0x20]
cmp eax, 0xf2
jge 0x48cd07
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ebx, dword [eax + 0x338]
mov eax, dword [ebx + 0x170]
call fcn.004218d0
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, 0xf2
sub edx, eax
mov dword [ebp - 0x24], edx
fild dword [ebp - 0x24]
fdiv dword [0x48ce08]
call fcn.00402b6c
mov edx, eax
add edx, 9
mov eax, dword [ebp + 8]
mov eax, ebx
call fcn.0043fb98
jmp 0x48cd1d
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x338]
mov edx, 9
call fcn.0043fb98
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x3b4]
xor edx, edx
call fcn.00440340
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x3c4]
xor edx, edx
call fcn.00440340
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0x10]
mov ecx, 0x48ce14
call fcn.00404ae8
mov eax, dword [ebp - 0x10]
call fcn.00404c9c
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0x14]
mov ecx, 0x48ce28
call fcn.00404ae8
mov eax, dword [ebp - 0x14]
call fcn.00404c9c
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 0x48cdb1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48cde0
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.004047e4
lea eax, [ebp - 0x20]
mov edx, 8
call fcn.004047e4
ret