Function at 0x410af8
Capabilities:
Delete file
Set file attributes
Timestomp file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x12
push 0
push 0
dec ecx
jne 0x410b00
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x411534
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x41761c]
mov eax, dword [eax]
mov edx, dword [eax + 0xcc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
call fcn.00409ec8
mov eax, dword [0x417654]
mov eax, dword [eax]
call fcn.0040a460
mov eax, 0x2000
call fcn.00401170
mov edi, eax
lea edx, [ebp - 0x48]
xor eax, eax
call fcn.00403b04
mov eax, dword [ebp - 0x48]
call fcn.00408b68
mov dword [ebp - 0x10], eax
mov edx, dword [0x417644]
mov edx, dword [edx]
mov eax, dword [ebp - 0x10]
xor ecx, ecx
call fcn.00408a68
lea eax, [ebp - 0x4c]
call fcn.00404178
mov edx, dword [ebp - 0x4c]
lea eax, [ebp - 0x38]
mov ecx, 0x41154c
call fcn.00401c3c
mov eax, 0x22
call fcn.00413ce0
test al, al
je 0x410e30
mov eax, dword [0x40c12c]
push eax
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x40c0c8]
call fcn.0040c288
mov esi, eax
mov eax, 0x43
call fcn.00413d08
dec eax
test eax, eax
jl 0x410e1c
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x18], 0
mov ebx, dword [ebp - 0x18]
lea ebx, [ebx + ebx*4]
mov eax, dword [0x417634]
mov eax, dword [eax]
mov eax, dword [eax + ebx*4]
lea ecx, [ebp - 0x1c]
xor edx, edx
call fcn.0040f01c
mov eax, dword [0x417634]
mov eax, dword [eax]
mov eax, dword [eax + ebx*4 + 8]
lea edx, [ebp - 0x54]
call fcn.00403698
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x1c]
call fcn.0040893c
test al, al
jne 0x410c1d
mov byte [ebp - 0x1d], 1
jmp 0x410c93
mov eax, dword [0x417634]
mov eax, dword [eax]
mov eax, dword [eax + ebx*4 + 4]
call fcn.00408754
sub eax, 1
jb 0x410c39
je 0x410c3f
dec eax
je 0x410c45
jmp 0x410c93
mov byte [ebp - 0x1d], 0
jmp 0x410c93
mov byte [ebp - 0x1d], 1
jmp 0x410c93
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
mov eax, dword [ebp - 0x1c]
call fcn.00401de8
push eax
call sub.kernel32.dll_CreateFileA
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x2c]
push eax
push 0
push 0
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_GetFileTime
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_CloseHandle
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x34]
call fcn.00403e20
test eax, eax
setg byte [ebp - 0x1d]
cmp byte [ebp - 0x1d], 0
je 0x410dd7
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 0x1c]
call fcn.00403ee8
mov eax, dword [ebp - 0x58]
call fcn.00403f64
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 0x1c]
call fcn.004089e8
mov ecx, dword [ebp - 0x60]
mov eax, dword [0x41761c]
mov eax, dword [eax]
mov edx, dword [eax + 0x8c]
lea eax, [ebp - 0x5c]
call fcn.00401c3c
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
call fcn.00409ec8
mov eax, dword [0x417654]
mov eax, dword [eax]
call fcn.0040a460
mov eax, dword [ebp - 0x1c]
call fcn.00408b90
mov dword [ebp - 0xc], eax
lea edx, [ebp - 8]
mov ecx, 4
mov eax, esi
call fcn.0040c450
cmp dword [ebp - 8], 0
jle 0x410d3d
mov ebx, dword [ebp - 8]
cmp ebx, 0x2000
jle 0x410d1d
mov ebx, 0x2000
mov edx, edi
mov ecx, ebx
mov eax, esi
call fcn.0040c450
mov edx, edi
mov eax, dword [ebp - 0xc]
mov ecx, ebx
call fcn.00408a64
sub dword [ebp - 8], ebx
cmp dword [ebp - 8], 0
jg 0x410d0d
mov eax, dword [ebp - 0xc]
call fcn.00407e7c
push 0
push 0x80
push 3
push 0
push 0
push 0x40000000
mov eax, dword [ebp - 0x1c]
call fcn.00401de8
mov ebx, eax
push ebx
call sub.kernel32.dll_CreateFileA
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_SetFileTime
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x18]
lea eax, [eax + eax*4]
mov edx, dword [0x417634]
mov edx, dword [edx]
mov eax, dword [edx + eax*4 + 0x10]
call fcn.00408754
push eax
push ebx
call sub.kernel32.dll_SetFileAttributesA
mov eax, dword [ebp - 0x18]
lea eax, [eax + eax*4]
mov edx, dword [0x417634]
mov edx, dword [edx]
mov eax, dword [edx + eax*4 + 0xc]
call fcn.00408754
dec eax
jne 0x410dcd
mov eax, dword [0x418b20]
mov edx, dword [ebp - 0x1c]
call fcn.0040abc4
mov eax, dword [ebp - 4]
call fcn.0040f22c
jmp 0x410e10
lea edx, [ebp - 8]
mov ecx, 4
mov eax, esi
call fcn.0040c450
cmp dword [ebp - 8], 0
jle 0x410e10
mov ebx, dword [ebp - 8]
cmp ebx, 0x2000
jle 0x410dfc
mov ebx, 0x2000
mov edx, edi
mov ecx, ebx
mov eax, esi
call fcn.0040c450
sub dword [ebp - 8], ebx
cmp dword [ebp - 8], 0
jg 0x410dec
inc dword [ebp - 0x18]
dec dword [ebp - 0x44]
jne 0x410bd2
mov eax, esi
call fcn.00401478
mov eax, dword [ebp - 0x10]
call fcn.00407e7c
jmp 0x4114e5
mov dword [ebp - 0x3c], 1
mov eax, 0x43
call fcn.00413d08
dec eax
test eax, eax
jl 0x4114dd
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x18], 0
mov ebx, dword [ebp - 0x18]
lea ebx, [ebx + ebx*4]
mov eax, dword [0x417634]
mov eax, dword [eax]
mov eax, dword [eax + ebx*4]
lea ecx, [ebp - 0x1c]
xor edx, edx
call fcn.0040f01c
mov eax, dword [0x417634]
mov eax, dword [eax]
mov eax, dword [eax + ebx*4 + 8]
lea edx, [ebp - 0x54]
call fcn.00403698
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x1c]
call fcn.0040893c
test al, al
jne 0x410ea0
mov byte [ebp - 0x1d], 1
jmp 0x410f16
mov eax, dword [0x417634]
mov eax, dword [eax]
mov eax, dword [eax + ebx*4 + 4]
call fcn.00408754
sub eax, 1
jb 0x410ebc
je 0x410ec2
dec eax
je 0x410ec8
jmp 0x410f16
mov byte [ebp - 0x1d], 0
jmp 0x410f16
mov byte [ebp - 0x1d], 1
jmp 0x410f16
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
mov eax, dword [ebp - 0x1c]
call fcn.00401de8
push eax
call sub.kernel32.dll_CreateFileA
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x2c]
push eax
push 0
push 0
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_GetFileTime
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_CloseHandle
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x34]
call fcn.00403e20
test eax, eax
setg byte [ebp - 0x1d]
cmp byte [ebp - 0x1d], 0
je 0x41127b
lea edx, [ebp - 0x64]
mov eax, dword [ebp - 0x1c]
call fcn.00403ee8
mov eax, dword [ebp - 0x64]
call fcn.00403f64
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 0x1c]
call fcn.004089e8
mov ecx, dword [ebp - 0x6c]
mov eax, dword [0x41761c]
mov eax, dword [eax]
mov edx, dword [eax + 0x8c]
lea eax, [ebp - 0x68]
call fcn.00401c3c
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
call fcn.00409ec8
mov eax, dword [0x417654]
mov eax, dword [eax]
call fcn.0040a460
mov eax, dword [0x417684]
mov eax, dword [eax]
mov edx, dword [ebp - 0x18]
mov esi, dword [eax + edx*8]
mov eax, dword [ebp - 0x38]
call fcn.00401de8
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, dword [ebp - 0x38]
call fcn.00404cf0
mov dword [ebp - 0x14], eax
mov ebx, esi
cmp dword [ebp - 0x3c], 1
jne 0x411008
mov eax, dword [0x417608]
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
mov eax, dword [0x417644]
mov edx, dword [eax + 4]
mov eax, dword [eax]
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
push edx
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404b50
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
push edx
push eax
mov eax, ebx
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x410fe8
cmp eax, dword [esp]
pop edx
pop eax
jbe 0x411034
jmp 0x410fec
pop edx
pop eax
jle 0x411034
mov eax, dword [ebp - 0x10]
call fcn.00404b50
mov ebx, dword [0x417608]
mov ebx, dword [ebx]
mov edx, dword [0x417644]
add ebx, dword [edx]
sub ebx, eax
jmp 0x411034
mov eax, dword [ebp - 0x10]
call fcn.00408a58
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404b50
pop edx
sub edx, eax
cmp ebx, edx
jbe 0x411034
mov eax, dword [ebp - 0x10]
call fcn.00408a58
mov ebx, eax
mov eax, dword [ebp - 0x10]
call fcn.00404b50
sub ebx, eax
test ebx, ebx
jbe 0x411047
mov ecx, ebx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
call fcn.00413e84
sub esi, eax
test esi, esi
jbe 0x411152
mov eax, dword [ebp - 0x10]
call fcn.00407e7c
inc dword [ebp - 0x3c]
lea edx, [ebp - 0x74]
xor eax, eax
call fcn.00403b04
mov eax, dword [ebp - 0x74]
lea edx, [ebp - 0x70]
call fcn.00403ee8
mov edx, dword [ebp - 0x70]
mov eax, dword [0x417664]
mov eax, dword [eax]
mov ecx, dword [eax + 0x54]
lea eax, [ebp - 0x40]
call fcn.00401c3c
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 0x3c]
call fcn.004086ec
mov ecx, dword [ebp - 0x78]
lea eax, [ebp - 0x40]
mov edx, 0x411568
call fcn.004039d8
mov eax, dword [ebp - 0x40]
call fcn.0040893c
test al, al
jne 0x411147
push 0x31
mov eax, dword [0x417664]
mov eax, dword [eax]
mov eax, dword [eax + 0x104]
call fcn.00401de8
push eax
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 0x3c]
call fcn.004086ec
mov ecx, dword [ebp - 0x80]
mov eax, dword [0x41761c]
mov eax, dword [eax]
mov edx, dword [eax + 0xbc]
lea eax, [ebp - 0x7c]
call fcn.00401c3c
mov eax, dword [ebp - 0x7c]
call fcn.00401de8
push eax
mov eax, dword [0x418b0c]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x28]
push eax
call sub.user32.dll_MessageBoxA
cmp eax, 2
jne 0x411147
push 0x10
mov eax, dword [0x417664]
mov eax, dword [eax]
mov eax, dword [eax + 0x104]
call fcn.00401de8
push eax
mov eax, dword [0x41761c]
mov eax, dword [eax]
mov eax, dword [eax + 0xec]
call fcn.00401de8
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x28]
push eax
call sub.user32.dll_MessageBoxA
call fcn.00413dac
call fcn.0040195c
mov eax, dword [ebp - 0x40]
call fcn.00408b68
mov dword [ebp - 0x10], eax
test esi, esi
jne 0x410f96
mov eax, dword [ebp - 0x14]
xor ecx, ecx
xor edx, edx
call fcn.00408a68
mov eax, dword [0x40c12c]
push eax
mov ecx, dword [ebp - 0x14]
mov dl, 1
mov eax, dword [0x40c0c8]
call fcn.0040c288
mov esi, eax
mov eax, dword [ebp - 0x1c]
call fcn.00408b90
mov dword [ebp - 0xc], eax
lea edx, [ebp - 8]
mov ecx, 4
mov eax, esi
call fcn.0040c450
cmp dword [ebp - 8], 0
jle 0x4111cd
mov ebx, dword [ebp - 8]
cmp ebx, 0x2000
jle 0x4111ad
mov ebx, 0x2000
mov edx, edi
mov ecx, ebx
mov eax, esi
call fcn.0040c450
mov edx, edi
mov eax, dword [ebp - 0xc]
mov ecx, ebx
call fcn.00408a64
sub dword [ebp - 8], ebx
cmp dword [ebp - 8], 0
jg 0x41119d
mov eax, dword [ebp - 0xc]
call fcn.00407e7c
mov eax, esi
call fcn.00401478
mov eax, dword [ebp - 0x14]
call fcn.00407e7c
mov eax, dword [ebp - 0x38]
call fcn.00401de8
push eax
call sub.kernel32.dll_DeleteFileA
push 0
push 0x80
push 3
push 0
push 0
push 0x40000000
mov eax, dword [ebp - 0x1c]
call fcn.00401de8
mov ebx, eax
push ebx
call sub.kernel32.dll_CreateFileA
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_SetFileTime
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_CloseHandle
mov esi, dword [ebp - 0x18]
lea esi, [esi + esi*4]
mov eax, dword [0x417634]
mov eax, dword [eax]
mov eax, dword [eax + esi*4 + 0x10]
call fcn.00408754
push eax
push ebx
call sub.kernel32.dll_SetFileAttributesA
mov eax, dword [0x417634]
mov eax, dword [eax]
mov eax, dword [eax + esi*4 + 0xc]
call fcn.00408754
dec eax
jne 0x4114c9
mov eax, dword [0x418b20]
mov edx, dword [ebp - 0x1c]
call fcn.0040abc4
jmp 0x4114c9
mov eax, dword [0x417684]
mov eax, dword [eax]
mov edx, dword [ebp - 0x18]
mov esi, dword [eax + edx*8]
mov ebx, esi
cmp dword [ebp - 0x3c], 1
jne 0x4112fa
mov eax, dword [0x417608]
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
mov eax, dword [0x417644]
mov edx, dword [eax + 4]
mov eax, dword [eax]
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
push edx
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404b50
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
push edx
push eax
mov eax, ebx
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x4112da
cmp eax, dword [esp]
pop edx
pop eax
jbe 0x411326
jmp 0x4112de
pop edx
pop eax
jle 0x411326
mov eax, dword [ebp - 0x10]
call fcn.00404b50
mov ebx, dword [0x417608]
mov ebx, dword [ebx]
mov edx, dword [0x417644]
add ebx, dword [edx]
sub ebx, eax
jmp 0x411326
mov eax, dword [ebp - 0x10]
call fcn.00408a58
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404b50
pop edx
sub edx, eax
cmp ebx, edx
jbe 0x411326
mov eax, dword [ebp - 0x10]
call fcn.00408a58
mov ebx, eax
mov eax, dword [ebp - 0x10]
call fcn.00404b50
sub ebx, eax
test ebx, ebx
jbe 0x411398
mov eax, dword [ebp - 0x10]
call fcn.00408a58
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404b50
pop edx
sub edx, eax
cmp ebx, edx
ja 0x41135a
sub esi, ebx
mov eax, dword [ebp - 0x10]
call fcn.00404b50
mov edx, eax
add edx, ebx
mov eax, dword [ebp - 0x10]
call fcn.00404b5c
jmp 0x411398
mov eax, dword [ebp - 0x10]
call fcn.00408a58
mov ebx, eax
mov eax, dword [ebp - 0x10]
call fcn.00404b50
sub ebx, eax
sub esi, ebx
mov eax, dword [ebp - 0x10]
call fcn.00408a58
mov ebx, eax
mov eax, dword [ebp - 0x10]
call fcn.00404b50
sub ebx, eax
mov eax, dword [ebp - 0x10]
call fcn.00404b50
add ebx, eax
mov edx, ebx
mov eax, dword [ebp - 0x10]
call fcn.00404b5c
test esi, esi
jbe 0x4114c1
mov eax, dword [ebp - 0x10]
call fcn.00407e7c
inc dword [ebp - 0x3c]
lea edx, [ebp - 0x88]
xor eax, eax
call fcn.00403b04
mov eax, dword [ebp - 0x88]
lea edx, [ebp - 0x84]
call fcn.00403ee8
mov edx, dword [ebp - 0x84]
mov eax, dword [0x417664]
mov eax, dword [eax]
mov ecx, dword [eax + 0x54]
lea eax, [ebp - 0x40]
call fcn.00401c3c
lea edx, [ebp - 0x8c]
mov eax, dword [ebp - 0x3c]
call fcn.004086ec
mov ecx, dword [ebp - 0x8c]
lea eax, [ebp - 0x40]
mov edx, 0x411568
call fcn.004039d8
mov eax, dword [ebp - 0x40]
call fcn.0040893c
test al, al
jne 0x4114b6
push 0x31
mov eax, dword [0x417664]
mov eax, dword [eax]
mov eax, dword [eax + 0x104]
call fcn.00401de8
push eax
lea edx, [ebp - 0x94]
mov eax, dword [ebp - 0x3c]
call fcn.004086ec
mov ecx, dword [ebp - 0x94]
mov eax, dword [0x41761c]
mov eax, dword [eax]
mov edx, dword [eax + 0xbc]
lea eax, [ebp - 0x90]
call fcn.00401c3c
mov eax, dword [ebp - 0x90]
call fcn.00401de8
push eax
mov eax, dword [0x418b0c]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x28]
push eax
call sub.user32.dll_MessageBoxA
cmp eax, 2
jne 0x4114b6
push 0x10
mov eax, dword [0x417664]
mov eax, dword [eax]
mov eax, dword [eax + 0x104]
call fcn.00401de8
push eax
mov eax, dword [0x41761c]
mov eax, dword [eax]
mov eax, dword [eax + 0xec]
call fcn.00401de8
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x28]
push eax
call sub.user32.dll_MessageBoxA
call fcn.00413dac
call fcn.0040195c
mov eax, dword [ebp - 0x40]
call fcn.00408b68
mov dword [ebp - 0x10], eax
test esi, esi
jne 0x411288
mov eax, dword [ebp - 4]
call fcn.0040f22c
inc dword [ebp - 0x18]
dec dword [ebp - 0x44]
jne 0x410e55
mov eax, dword [ebp - 0x10]
call fcn.00407e7c
mov edx, 0x2000
mov eax, edi
call fcn.00401188
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41153b
lea eax, [ebp - 0x94]
mov edx, 0x10
call fcn.00401a88
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.00401a88
lea eax, [ebp - 0x40]
call fcn.00401a64
lea eax, [ebp - 0x38]
call fcn.00401a64
lea eax, [ebp - 0x1c]
call fcn.00401a64
ret