Function at 0x4161a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x4161a8
push ebx
push esi
push edi
mov eax, 0x416118
call fcn.00405880
xor eax, eax
push ebp
push 0x416520
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x18]
mov eax, 1
call fcn.004028dc
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.00406a9c
mov eax, dword [ebp - 0x14]
mov edx, 0x416538
call fcn.00404038
jne 0x41649a
xor eax, eax
push ebp
push 0x41648e
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x1c]
mov eax, 2
call fcn.004028dc
mov eax, dword [ebp - 0x1c]
mov edx, dword [0x4175c0]
mov edx, dword [edx]
call fcn.00404038
je 0x416484
lea edx, [ebp - 0x24]
xor eax, eax
call fcn.004028dc
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00407320
lea eax, [ebp - 0x20]
mov edx, 0x41654c
call fcn.00403ef4
mov eax, dword [ebp - 0x20]
call fcn.004040ec
push eax
call sub.kernel32.dll_DeleteFileA
lea edx, [ebp - 0x2c]
xor eax, eax
call fcn.004028dc
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.00407320
lea eax, [ebp - 0x28]
mov edx, 0x416564
call fcn.00403ef4
mov eax, dword [ebp - 0x28]
call fcn.004040ec
push eax
call sub.kernel32.dll_DeleteFileA
lea edx, [ebp - 0x34]
xor eax, eax
call fcn.004028dc
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call fcn.00407320
lea eax, [ebp - 0x30]
mov edx, 0x41657c
call fcn.00403ef4
mov eax, dword [ebp - 0x30]
call fcn.004040ec
push eax
call sub.kernel32.dll_DeleteFileA
lea edx, [ebp - 0x3c]
xor eax, eax
call fcn.004028dc
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.00407320
lea eax, [ebp - 0x38]
mov edx, 0x41654c
call fcn.00403ef4
mov ecx, dword [ebp - 0x38]
mov dl, 1
mov eax, dword [0x414390]
call fcn.00414440
mov dword [0x418888], eax
lea edx, [ebp - 0x40]
mov eax, 2
call fcn.004028dc
mov eax, dword [ebp - 0x40]
call fcn.00406ea4
cmp eax, 0x418
jne 0x416323
push 0x416594
mov ecx, 0x4165a8
mov edx, 0x4165bc
mov eax, dword [0x418888]
mov ebx, dword [eax]
call dword [ebx + 4]
jmp 0x41633c
push 0x4165cc
mov edx, 0x4165bc
mov ecx, 0x4165a8
mov eax, dword [0x418888]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [0x418888]
mov edx, dword [eax]
call dword [edx + 0x54]
mov eax, dword [0x418888]
call fcn.00403000
lea edx, [ebp - 0x48]
xor eax, eax
call fcn.004028dc
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x44]
call fcn.00407320
lea eax, [ebp - 0x44]
mov edx, 0x416564
call fcn.00403ef4
mov ecx, dword [ebp - 0x44]
mov dl, 1
mov eax, dword [0x414390]
call fcn.00414440
mov dword [0x418888], eax
lea edx, [ebp - 0x4c]
mov eax, 2
call fcn.004028dc
mov eax, dword [ebp - 0x4c]
call fcn.00406ea4
cmp eax, 0x418
jne 0x4163bd
push 0x416594
mov edx, 0x4165bc
mov ecx, 0x4165a8
mov eax, dword [0x418888]
mov ebx, dword [eax]
call dword [ebx + 4]
jmp 0x4163d6
push 0x4165cc
mov edx, 0x4165bc
mov ecx, 0x4165a8
mov eax, dword [0x418888]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [0x418888]
mov edx, dword [eax]
call dword [edx + 0x54]
mov eax, dword [0x418888]
call fcn.00403000
lea edx, [ebp - 0x54]
xor eax, eax
call fcn.004028dc
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 0x50]
call fcn.00407320
lea eax, [ebp - 0x50]
mov edx, 0x41657c
call fcn.00403ef4
mov ecx, dword [ebp - 0x50]
mov dl, 1
mov eax, dword [0x414390]
call fcn.00414440
mov dword [0x418888], eax
lea edx, [ebp - 0x58]
mov eax, 2
call fcn.004028dc
mov eax, dword [ebp - 0x58]
call fcn.00406ea4
cmp eax, 0x418
jne 0x416457
push 0x416594
mov edx, 0x4165bc
mov ecx, 0x4165a8
mov eax, dword [0x418888]
mov ebx, dword [eax]
call dword [ebx + 4]
jmp 0x416470
push 0x4165cc
mov edx, 0x4165bc
mov ecx, 0x4165a8
mov eax, dword [0x418888]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [0x418888]
mov edx, dword [eax]
call dword [edx + 0x54]
mov eax, dword [0x418888]
call fcn.00403000
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x416505
lea eax, [ebp - 0x5c]
push eax
mov ecx, 0x4165e4
mov edx, 0x4165f0
mov eax, 0x416608
call fcn.00415c3c
mov edx, dword [ebp - 0x5c]
mov eax, 0x418880
call fcn.00403ca4
cmp dword [0x418880], 0
jne 0x4164ed
lea eax, [ebp - 0x60]
push eax
mov ecx, 0x416624
mov edx, 0x4165f0
mov eax, 0x416608
call fcn.00415c3c
mov edx, dword [ebp - 0x60]
mov eax, 0x418880
call fcn.00403ca4
cmp dword [0x418880], 0
je 0x416500
mov eax, dword [0x418880]
call fcn.00415e14
call fcn.00415e5c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x416527
lea eax, [ebp - 0x60]
mov edx, 0x14
call fcn.00403c74
ret