Function at 0x406e70
Capabilities:
Set file attributes
Timestomp file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x82c
mov eax, dword [0x42424c]
xor eax, esp
mov dword [esp + 0x828], eax
push ebx
push esi
push edi
mov esi, ecx
push 0x104
lea edi, [esi + 0x420]
push edi
push 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
push edi
call fcn.0040ae50
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
mov byte [eax], 0
mov eax, dword [esi]
mov ecx, dword [eax]
add esp, 8
cmp byte [ecx], 0
je 0x406fe8
xor edi, edi
mov edi, edi
mov edx, dword [eax + edi]
push edx
lea eax, [esi + 0x114]
push eax
lea eax, [esi + 0x420]
push eax
lea eax, [esp + 0x43c]
push 0x41ce38
push eax
call ebx
mov ecx, dword [esi]
mov edx, dword [edi + ecx]
push edx
lea eax, [esi + 0x31c]
push eax
lea eax, [esp + 0x4c]
push 0x41cf70
push eax
call ebx
mov ecx, dword [esi]
mov edx, dword [edi + ecx]
add esp, 0x24
push edx
lea eax, [esp + 0x434]
push eax
lea ecx, [esp + 0x38]
push ecx
mov ecx, esi
call fcn.00405880
push 0x80
lea edx, [esp + 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
lea eax, [esp + 0x448]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x406fc8
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
lea ecx, [esp + 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
je 0x407149
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x28]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
mov eax, dword [esp + 0x14]
push eax
call edi
mov eax, dword [esp + 0x10]
add eax, 1
lea edi, [eax*4]
mov dword [esp + 0x10], eax
mov eax, dword [esi]
mov ecx, dword [eax + edi]
cmp byte [ecx], 0
jne 0x406ed0
mov eax, dword [esi + 4]
mov edx, dword [eax]
xor edi, edi
cmp byte [edx], 0
mov dword [esp + 0x10], edi
je 0x40711b
lea esp, [esp]
mov eax, dword [eax + edi]
push eax
lea eax, [esi + 0x114]
push eax
lea eax, [esi + 0x420]
push eax
lea ecx, [esp + 0x43c]
push 0x41ce38
push ecx
call ebx
mov edx, dword [esi + 4]
mov eax, dword [edi + edx]
push eax
lea eax, [esi + 0x31c]
push eax
lea ecx, [esp + 0x4c]
push 0x41cf70
push ecx
call ebx
mov edx, dword [esi + 4]
mov eax, dword [edi + edx]
add esp, 0x24
push eax
lea ecx, [esp + 0x434]
push ecx
lea edx, [esp + 0x38]
push edx
mov ecx, esi
call fcn.00405880
push 0x80
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
lea ecx, [esp + 0x448]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x4070fa
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
lea edx, [esp + 0x48]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
je 0x407149
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x30]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x30]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
mov ecx, dword [esp + 0x14]
push ecx
call edi
mov eax, dword [esp + 0x10]
add eax, 1
lea edi, [eax*4]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 4]
mov edx, dword [eax + edi]
cmp byte [edx], 0
jne 0x407000
mov eax, dword [esi + 0xab0]
push 0x30
push 0x41cca0
push 0x41d778
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x828]
xor ecx, esp
call fcn.004096cb
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x834]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004096cb
mov esp, ebp
pop ebp
ret