Function at 0x40cf60
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f5c48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], esi
call fcn.004ea406
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0
call fcn.004ea406
mov edi, dword [ebp + 0xc]
push 0
push 0
mov bl, 2
push edi
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], bl
call fcn.004ea69e
test eax, eax
jne 0x40cfd9
call fcn.00407270
push 0x5d
push str..ArchiveCopyDlg.cpp
mov ecx, eax
call fcn.0040a520
push edi
push 0x5035dc
push 0x20
call fcn.0047fc80
add esp, 0xc
mov edi, dword [ebp + 0x10]
lea eax, [ebp + 0x10]
push edi
push eax
call fcn.00487f60
add esp, 8
mov eax, dword [eax]
push eax
mov byte [ebp - 4], 3
call fcn.00487ee0
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], bl
add eax, 0xfffffff0
or ebx, 0xffffffff
add esp, 4
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d01a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0
push 0x1001
push edi
lea ecx, [ebp - 0x34]
call fcn.004ea69e
test eax, eax
jne 0x40d051
call fcn.00407270
push 0x61
push str..ArchiveCopyDlg.cpp
mov ecx, eax
call fcn.0040a520
push edi
push 0x5035dc
push 0x20
call fcn.0047fc80
add esp, 0xc
cmp dword [ebp - 0x30], ebx
je 0x40d1a7
cmp dword [ebp - 0x40], ebx
je 0x40d1a7
lea ecx, [ebp - 0x44]
call fcn.004ea2fe
mov ebx, eax
push 0x40000
mov dword [ebp - 0x18], edx
mov edi, ebx
call fcn.004e50fe
add esp, 4
push 0
push ebx
lea ecx, [ebp - 0x34]
mov dword [ebp + 0xc], eax
call fcn.004ea2cc
mov eax, dword [ebp - 0x34]
push 0
push 0
push 0
lea ecx, [ebp - 0x34]
call dword [eax + 0x28]
lea esp, [esp]
test edi, edi
je 0x40d17b
mov eax, dword [esi + 0x2fc]
test eax, eax
jne 0x40d0ec
cmp edi, 0x40000
mov esi, 0x40000
ja 0x40d0c1
mov esi, edi
mov ecx, dword [ebp + 0xc]
push esi
push ecx
lea ecx, [ebp - 0x44]
call fcn.004ea119
cmp esi, eax
je 0x40d11c
mov edx, dword [ebp + 8]
or eax, 0xffffffff
push eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x1c]
push edx
push 0x401
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0
call fcn.004ea445
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0xffffffff
call fcn.004ea445
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp + 0xc]
push esi
push edx
lea ecx, [ebp - 0x34]
call fcn.004ea159
mov eax, ebx
sub eax, edi
test eax, eax
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
jge 0x40d13d
fadd dword [0x5035d8]
test ebx, ebx
fmul dword [0x5035d4]
mov dword [ebp - 0x18], ebx
fild dword [ebp - 0x18]
jge 0x40d153
fadd dword [0x5035d8]
fdivp st(1)
call fcn.004d503c
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
push eax
mov eax, dword [edx + 0x1c]
push ecx
push 0x402
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
sub edi, esi
mov esi, dword [ebp - 0x14]
jmp 0x40d0a0
mov edx, dword [ebp - 0x40]
lea ecx, [ebp - 0x24]
push ecx
push 0
push 0
push edx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x40d1a3
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x24]
push eax
push 0
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
xor esi, esi
jmp 0x40d1f9
mov edx, dword [ebp + 8]
mov eax, dword [esi + 0x1c]
push ebx
push edx
push 0x401
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0
call fcn.004ea445
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], ebx
call fcn.004ea445
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x1c]
push esi
push ecx
push 0x401
push eax
mov dword [ebp - 4], 1
call dword [sym.imp.USER32.dll_PostMessageA]
xor ecx, ecx
test esi, esi
sete cl
mov byte [ebp - 4], 0
mov esi, ecx
lea ecx, [ebp - 0x34]
call fcn.004ea445
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0xffffffff
call fcn.004ea445
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc