Function at 0x49a868
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x49a870
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 0x49ae19
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00408fdc
inc eax
je 0x49adf1
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, 0x49ae30
call fcn.00404be8
jne 0x49ab5b
xor edx, edx
push ebp
push 0x49ab51
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, 0x49ae3c
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, 0x49ae3c
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 0x49aa33
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 [0x49ae48]
call fcn.00402b6c
mov edx, eax
add edx, 5
mov eax, dword [ebp + 8]
mov eax, ebx
call fcn.0043fb74
jmp 0x49aa49
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 0x49aab1
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 [0x49ae48]
call fcn.00402b6c
mov edx, eax
add edx, 9
mov eax, dword [ebp + 8]
mov eax, ebx
call fcn.0043fb98
jmp 0x49aac7
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, 0x49ae54
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, 0x49ae68
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 0x49ab5b
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, 0x49ae7c
call fcn.00404be8
jne 0x49adf1
xor edx, edx
push ebp
push 0x49ade7
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, 0x49ae3c
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, 0x49ae3c
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 0x49acc9
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 [0x49ae48]
call fcn.00402b6c
mov edx, eax
add edx, 5
mov eax, dword [ebp + 8]
mov eax, ebx
call fcn.0043fb74
jmp 0x49acdf
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 0x49ad47
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 [0x49ae48]
call fcn.00402b6c
mov edx, eax
add edx, 9
mov eax, dword [ebp + 8]
mov eax, ebx
call fcn.0043fb98
jmp 0x49ad5d
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, 0x49ae54
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, 0x49ae68
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 0x49adf1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49ae20
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.004047e4
lea eax, [ebp - 0x20]
mov edx, 8
call fcn.004047e4
ret