Function at 0x411ab0
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 0x411d19
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4197d8], 0
jle 0x411aea
mov eax, dword [0x4197e4]
call fcn.00401dd4
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, dword [ebp - 4]
call fcn.004093ac
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov edx, 0x411d30
call fcn.0040521c
mov eax, 0x75
call fcn.00414a58
cmp eax, dword [0x4197d8]
jne 0x411b22
mov eax, 0x76
call fcn.00414a58
mov esi, eax
jmp 0x411b2e
mov eax, 0x5f
call fcn.00414a58
mov esi, eax
cmp dword [0x4197e0], 1
jne 0x411b93
mov eax, 0x5f
call fcn.00414a58
mov edx, eax
imul edx, dword [0x4197d8]
mov eax, dword [0x418670]
add edx, dword [eax]
mov eax, dword [0x4197dc]
xor ecx, ecx
call fcn.00409288
mov eax, dword [0x4197dc]
call fcn.00409278
push eax
mov eax, dword [0x4197dc]
call fcn.00405204
pop edx
xchg edx, eax
sub eax, edx
sub eax, 0x22
cmp esi, eax
jae 0x411b7f
mov eax, esi
mov ecx, eax
mov edx, dword [0x4197dc]
mov eax, dword [ebp - 8]
call fcn.00414c0c
mov edi, eax
jmp 0x411ba5
mov ecx, esi
mov edx, dword [0x4197dc]
mov eax, dword [ebp - 8]
call fcn.00414c0c
mov edi, eax
mov bl, 1
cmp esi, edi
je 0x411ce9
test bl, bl
je 0x411bb9
inc dword [0x4197e0]
mov eax, dword [0x4197dc]
call fcn.004085bc
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.00403ba4
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.00403fdc
mov edx, dword [ebp - 0x10]
mov eax, dword [0x4186a0]
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.00408e2c
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 0x411d40
call fcn.00403a58
mov eax, dword [ebp - 0xc]
call fcn.0040915c
test al, al
jne 0x411cb6
push 0x41
mov eax, dword [0x4186a0]
mov eax, dword [eax]
mov eax, dword [eax + 0x104]
call fcn.00401dd4
push eax
lea edx, [ebp - 0x20]
mov eax, dword [0x4197e0]
call fcn.00408e2c
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 0x411cb6
push 0x30
mov eax, dword [0x4186a0]
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.00414b2c
call fcn.00401948
mov eax, dword [ebp - 0xc]
call fcn.0040915c
mov ebx, eax
mov eax, dword [ebp - 0xc]
call fcn.00409384
mov dword [0x4197dc], eax
mov ecx, esi
sub ecx, edi
mov edx, dword [0x4197dc]
mov eax, dword [ebp - 8]
call fcn.00414c0c
add edi, eax
cmp esi, edi
jne 0x411baf
mov eax, dword [ebp - 8]
call fcn.004085bc
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 0x411d20
lea eax, [ebp - 0x20]
mov edx, 6
call fcn.00401a74
ret