Function at 0x406ecc
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push ebx
push esi
push edi
mov esi, ecx
push 0x7c
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x20b]
mov byte [ebp - 0x20c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x20c]
push eax
push 0xc
push 0x4118f0
call fcn.0040580e
mov ecx, dword [0x415664]
add esp, 0xc
push eax
lea eax, [ebp - 0xc]
push str._t_n
push eax
call fcn.00408450
push eax
lea eax, [ebp - 8]
push eax
call fcn.004076a7
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004076a7
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x10]
call fcn.00404833
lea ecx, [ebp - 8]
call fcn.00404833
lea ecx, [ebp - 0xc]
call fcn.00404833
mov ecx, dword [0x415664]
call fcn.00408c25
mov ecx, dword [0x415664]
inc eax
push eax
call fcn.00408dad
lea ecx, [ebp - 0x18]
call fcn.0040a293
mov ecx, dword [0x415664]
lea eax, [ebp - 0x14]
push eax
call fcn.00409072
push dword [ebp - 0x14]
lea eax, [ebp - 4]
lea ecx, [ebp - 0x18]
push eax
call fcn.0040a2bf
mov eax, dword [ebp - 4]
cmp dword [eax - 8], 0x14
jl 0x4071ab
movsx eax, byte [eax]
push eax
call dword [sym.imp.MSVCRT.dll_isdigit]
test eax, eax
pop ecx
je 0x4071ab
mov ecx, dword [0x415664]
call fcn.004082c6
mov eax, dword [ebp - 4]
mov cl, byte [eax]
cmp cl, 0x31
jne 0x40702a
mov eax, dword [eax - 8]
lea ecx, [ebp - 4]
dec eax
dec eax
push eax
lea eax, [ebp - 8]
push 2
push eax
call fcn.00407786
lea eax, [ebp - 8]
mov ecx, esi
push eax
call fcn.00406ae5
lea ecx, [ebp - 8]
call fcn.00404833
mov eax, dword [ebp - 4]
lea ecx, [ebp - 4]
mov eax, dword [eax - 8]
dec eax
dec eax
push eax
lea eax, [ebp - 8]
push 2
push eax
call fcn.00407786
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0040f5fd
pop ecx
pop ecx
push eax
lea ecx, [esi + 4]
call fcn.004048f4
lea ecx, [ebp - 0xc]
call fcn.00404833
lea ecx, [ebp - 8]
jmp 0x407194
cmp cl, 0x32
je 0x4070df
cmp cl, 0x33
je 0x4070df
cmp cl, 0x34
jne 0x407199
lea eax, [ebp - 0x10]
push 2
push eax
lea ecx, [ebp - 4]
call fcn.00407768
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0040f5fd
pop ecx
pop ecx
push eax
lea ecx, [ebp - 4]
call fcn.004048f4
lea ecx, [ebp - 0xc]
call fcn.00404833
lea ecx, [ebp - 0x10]
call fcn.00404833
push ebx
push 0xa
lea ecx, [ebp - 4]
call fcn.0040773a
push eax
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
call fcn.00404b37
push ebx
push 0xa
lea ecx, [ebp - 4]
lea edi, [esi + 4]
call fcn.0040773a
push eax
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 4]
call fcn.00407768
push eax
mov ecx, edi
call fcn.004048f4
lea ecx, [ebp - 0xc]
call fcn.00404833
lea eax, [ebp - 0xc]
push edi
push eax
call fcn.0040f65b
pop ecx
pop ecx
push eax
mov ecx, esi
call fcn.00406ae5
lea ecx, [ebp - 0xc]
call fcn.00404833
lea ecx, [ebp - 8]
jmp 0x407194
mov eax, dword [eax - 8]
lea ecx, [ebp - 4]
dec eax
dec eax
push eax
lea eax, [ebp - 8]
push 2
push eax
call fcn.00407786
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0040f5fd
pop ecx
pop ecx
push eax
lea ecx, [ebp - 4]
call fcn.004048f4
lea ecx, [ebp - 0xc]
call fcn.00404833
lea ecx, [ebp - 8]
call fcn.00404833
push ebx
push 0xa
lea ecx, [ebp - 4]
call fcn.0040773a
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 4]
call fcn.00404b37
push ebx
push 0xa
lea ecx, [ebp - 4]
call fcn.0040773a
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx - 8]
sub ecx, eax
push ecx
push eax
lea eax, [ebp - 8]
lea ecx, [ebp - 4]
push eax
call fcn.00407786
lea edi, [esi + 4]
lea eax, [ebp - 8]
push eax
mov ecx, edi
call fcn.004048f4
lea ecx, [ebp - 8]
call fcn.00404833
lea eax, [ebp - 0xc]
push edi
push eax
call fcn.0040f65b
pop ecx
pop ecx
push eax
mov ecx, esi
call fcn.00406ae5
lea ecx, [ebp - 0xc]
call fcn.00404833
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.004074fc
lea ecx, [ebp - 0x10]
call fcn.00404833
lea eax, [esi + 4]
mov ecx, esi
push eax
call fcn.00406b91
mov ecx, esi
call fcn.004071c8
lea ecx, [ebp - 4]
call fcn.00404833
lea ecx, [ebp - 0x14]
call fcn.00404833
lea ecx, [ebp - 0x18]
call fcn.0040a2b8
pop edi
pop esi
pop ebx
leave
ret