Function at 0x411a74
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x411cdd
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4197d8], 0
jle 0x411aae
mov eax, dword [0x4197e4]
call fcn.00401dd4
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, dword [ebp - 4]
call fcn.00409438
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov edx, 0x411cf4
call fcn.004052a8
mov eax, 0x75
call fcn.00414994
cmp eax, dword [0x4197d8]
jne 0x411ae6
mov eax, 0x76
call fcn.00414994
mov esi, eax
jmp 0x411af2
mov eax, 0x5f
call fcn.00414994
mov esi, eax
cmp dword [0x4197e0], 1
jne 0x411b57
mov eax, 0x5f
call fcn.00414994
mov edx, eax
imul edx, dword [0x4197d8]
mov eax, dword [0x418670]
add edx, dword [eax]
mov eax, dword [0x4197dc]
xor ecx, ecx
call fcn.00409314
mov eax, dword [0x4197dc]
call fcn.00409304
push eax
mov eax, dword [0x4197dc]
call fcn.00405290
pop edx
xchg edx, eax
sub eax, edx
sub eax, 0x22
cmp esi, eax
jae 0x411b43
mov eax, esi
mov ecx, eax
mov edx, dword [0x4197dc]
mov eax, dword [ebp - 8]
call fcn.00414bd8
mov edi, eax
jmp 0x411b69
mov ecx, esi
mov edx, dword [0x4197dc]
mov eax, dword [ebp - 8]
call fcn.00414bd8
mov edi, eax
mov bl, 1
cmp esi, edi
je 0x411cad
test bl, bl
je 0x411b7d
inc dword [0x4197e0]
mov eax, dword [0x4197dc]
call fcn.00408648
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.00403c30
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.00404068
mov edx, dword [ebp - 0x10]
mov eax, dword [0x4186a4]
mov eax, dword [eax]
mov ecx, dword [eax + 0x54]
lea eax, [ebp - 0xc]
call fcn.00401c28
lea edx, [ebp - 0x18]
mov eax, dword [0x4197e0]
call fcn.00408eb8
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 0x411d04
call fcn.00403ae4
mov eax, dword [ebp - 0xc]
call fcn.004091e8
test al, al
jne 0x411c7a
push 0x41
mov eax, dword [0x4186a4]
mov eax, dword [eax]
mov eax, dword [eax + 0x104]
call fcn.00401dd4
push eax
lea edx, [ebp - 0x20]
mov eax, dword [0x4197e0]
call fcn.00408eb8
mov ecx, dword [ebp - 0x20]
mov eax, dword [0x418644]
mov eax, dword [eax]
mov edx, dword [eax + 0xbc]
lea eax, [ebp - 0x1c]
call fcn.00401c28
mov eax, dword [ebp - 0x1c]
call fcn.00401dd4
push eax
mov eax, dword [0x4197b8]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x28]
push eax
call sub.user32.dll_MessageBoxA
cmp eax, 2
jne 0x411c7a
push 0x30
mov eax, dword [0x4186a4]
mov eax, dword [eax]
mov eax, dword [eax + 0x104]
call fcn.00401dd4
push eax
mov eax, dword [0x418644]
mov eax, dword [eax]
mov eax, dword [eax + 0xec]
call fcn.00401dd4
push eax
mov eax, dword [0x4197b8]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x28]
push eax
call sub.user32.dll_MessageBoxA
call fcn.00414a68
call fcn.00401948
mov eax, dword [ebp - 0xc]
call fcn.004091e8
mov ebx, eax
mov eax, dword [ebp - 0xc]
call fcn.00409410
mov dword [0x4197dc], eax
mov ecx, esi
sub ecx, edi
mov edx, dword [0x4197dc]
mov eax, dword [ebp - 8]
call fcn.00414bd8
add edi, eax
cmp esi, edi
jne 0x411b73
mov eax, dword [ebp - 8]
call fcn.00408648
mov eax, 0x4197e4
mov edx, dword [ebp - 4]
call fcn.00401aa4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x411ce4
lea eax, [ebp - 0x20]
mov edx, 6
call fcn.00401a74
ret