Function at 0x406752
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 0x40f8f0
call fcn.0040582c
mov ecx, dword [0x413664]
add esp, 0xc
push eax
lea eax, [ebp - 0xc]
push str._t_n
push eax
call fcn.00407cd6
push eax
lea eax, [ebp - 8]
push eax
call fcn.00406f2d
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00406f2d
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x10]
call fcn.00404851
lea ecx, [ebp - 8]
call fcn.00404851
lea ecx, [ebp - 0xc]
call fcn.00404851
mov ecx, dword [0x413664]
call fcn.004084ab
mov ecx, dword [0x413664]
inc eax
push eax
call fcn.00408633
lea ecx, [ebp - 0x18]
call fcn.00409b19
mov ecx, dword [0x413664]
lea eax, [ebp - 0x14]
push eax
call fcn.004088f8
push dword [ebp - 0x14]
lea eax, [ebp - 4]
lea ecx, [ebp - 0x18]
push eax
call fcn.00409b45
mov eax, dword [ebp - 4]
cmp dword [eax - 8], 0x14
jl 0x406a31
movsx eax, byte [eax]
push eax
call dword [sym.imp.MSVCRT.dll_isdigit]
test eax, eax
pop ecx
je 0x406a31
mov ecx, dword [0x413664]
call fcn.00407b4c
mov eax, dword [ebp - 4]
mov cl, byte [eax]
cmp cl, 0x31
jne 0x4068b0
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.0040700c
lea eax, [ebp - 8]
mov ecx, esi
push eax
call fcn.0040636b
lea ecx, [ebp - 8]
call fcn.00404851
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.0040700c
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0040deb5
pop ecx
pop ecx
push eax
lea ecx, [esi + 4]
call fcn.00404912
lea ecx, [ebp - 0xc]
call fcn.00404851
lea ecx, [ebp - 8]
jmp 0x406a1a
cmp cl, 0x32
je 0x406965
cmp cl, 0x33
je 0x406965
cmp cl, 0x34
jne 0x406a1f
lea eax, [ebp - 0x10]
push 2
push eax
lea ecx, [ebp - 4]
call fcn.00406fee
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0040deb5
pop ecx
pop ecx
push eax
lea ecx, [ebp - 4]
call fcn.00404912
lea ecx, [ebp - 0xc]
call fcn.00404851
lea ecx, [ebp - 0x10]
call fcn.00404851
push ebx
push 0xa
lea ecx, [ebp - 4]
call fcn.00406fc0
push eax
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
call fcn.00404b55
push ebx
push 0xa
lea ecx, [ebp - 4]
lea edi, [esi + 4]
call fcn.00406fc0
push eax
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 4]
call fcn.00406fee
push eax
mov ecx, edi
call fcn.00404912
lea ecx, [ebp - 0xc]
call fcn.00404851
lea eax, [ebp - 0xc]
push edi
push eax
call fcn.0040df13
pop ecx
pop ecx
push eax
mov ecx, esi
call fcn.0040636b
lea ecx, [ebp - 0xc]
call fcn.00404851
lea ecx, [ebp - 8]
jmp 0x406a1a
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.0040700c
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0040deb5
pop ecx
pop ecx
push eax
lea ecx, [ebp - 4]
call fcn.00404912
lea ecx, [ebp - 0xc]
call fcn.00404851
lea ecx, [ebp - 8]
call fcn.00404851
push ebx
push 0xa
lea ecx, [ebp - 4]
call fcn.00406fc0
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 4]
call fcn.00404b55
push ebx
push 0xa
lea ecx, [ebp - 4]
call fcn.00406fc0
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.0040700c
lea edi, [esi + 4]
lea eax, [ebp - 8]
push eax
mov ecx, edi
call fcn.00404912
lea ecx, [ebp - 8]
call fcn.00404851
lea eax, [ebp - 0xc]
push edi
push eax
call fcn.0040df13
pop ecx
pop ecx
push eax
mov ecx, esi
call fcn.0040636b
lea ecx, [ebp - 0xc]
call fcn.00404851
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.00406d82
lea ecx, [ebp - 0x10]
call fcn.00404851
lea eax, [esi + 4]
mov ecx, esi
push eax
call fcn.00406417
mov ecx, esi
call fcn.00406a4e
lea ecx, [ebp - 4]
call fcn.00404851
lea ecx, [ebp - 0x14]
call fcn.00404851
lea ecx, [ebp - 0x18]
call fcn.00409b3e
pop edi
pop esi
pop ebx
leave
ret