Function at 0x48afc4
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x48afcc
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 0x48b575
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00408fec
inc eax
je 0x48b54d
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.00408674
mov eax, dword [ebp - 0x18]
mov edx, 0x48b58c
call fcn.00404be8
jne 0x48b2b7
xor edx, edx
push ebp
push 0x48b2ad
push dword fs:[edx]
mov dword fs:[edx], esp
mov dl, 1
mov eax, dword [0x4639d8]
call fcn.00463c88
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.004218ac
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.0042187c
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.0042187c
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0x20]
mov ecx, 0x48b598
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, 0x48b598
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.0042187c
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.0042187c
mov edx, dword [eax]
call dword [edx + 0x2c]
cmp eax, 0x1e4
jge 0x48b18f
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ebx, dword [eax + 0x338]
mov eax, dword [ebx + 0x170]
call fcn.0042187c
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 [0x48b5a4]
call fcn.00402b6c
mov edx, eax
add edx, 5
mov eax, dword [ebp + 8]
mov eax, ebx
call fcn.0043fb18
jmp 0x48b1a5
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x338]
mov edx, 5
call fcn.0043fb18
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x338]
mov eax, dword [eax + 0x170]
call fcn.0042187c
mov edx, dword [eax]
call dword [edx + 0x20]
cmp eax, 0xf2
jge 0x48b20d
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ebx, dword [eax + 0x338]
mov eax, dword [ebx + 0x170]
call fcn.0042187c
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 [0x48b5a4]
call fcn.00402b6c
mov edx, eax
add edx, 9
mov eax, dword [ebp + 8]
mov eax, ebx
ret
call fcn.0043fb3c
jmp 0x48b223
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x338]
mov edx, 9
call fcn.0043fb3c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x3b4]
xor edx, edx
call fcn.004402e4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x3c4]
xor edx, edx
call fcn.004402e4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 8]
mov ecx, 0x48b5b0
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, 0x48b5c4
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 0x48b2b7
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.00408674
mov eax, dword [ebp - 0x28]
mov edx, 0x48b5d8
call fcn.00404be8
jne 0x48b54d
xor edx, edx
push ebp
push 0x48b543
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.0042187c
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.0042187c
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.0042187c
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0x30]
mov ecx, 0x48b598
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, 0x48b598
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.0042187c
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.0042187c
mov edx, dword [eax]
call dword [edx + 0x2c]
cmp eax, 0x1e4
jge 0x48b425
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ebx, dword [eax + 0x338]
mov eax, dword [ebx + 0x170]
call fcn.0042187c
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 [0x48b5a4]
call fcn.00402b6c
mov edx, eax
add edx, 5
mov eax, dword [ebp + 8]
mov eax, ebx
call fcn.0043fb18
jmp 0x48b43b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x338]
mov edx, 5
call fcn.0043fb18
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x338]
mov eax, dword [eax + 0x170]
call fcn.0042187c
mov edx, dword [eax]
call dword [edx + 0x20]
cmp eax, 0xf2
jge 0x48b4a3
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ebx, dword [eax + 0x338]
mov eax, dword [ebx + 0x170]
call fcn.0042187c
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 [0x48b5a4]
call fcn.00402b6c
mov edx, eax
add edx, 9
mov eax, dword [ebp + 8]
mov eax, ebx
call fcn.0043fb3c
jmp 0x48b4b9
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x338]
mov edx, 9
call fcn.0043fb3c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x3b4]
xor edx, edx
call fcn.004402e4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x3c4]
xor edx, edx
call fcn.004402e4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [eax + 0x541]
lea eax, [ebp - 0x10]
mov ecx, 0x48b5b0
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, 0x48b5c4
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 0x48b54d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48b57c
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.004047e4
lea eax, [ebp - 0x20]
mov edx, 8
call fcn.004047e4
ret