Function at 0x1400d36d8
Capabilities:
Set file attributes
Timestomp file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
xor edi, edi
mov rbx, r8
mov r13, rcx
lea r14d, [rdi + 0x20]
lea r12d, [rdi + 2]
jmp 0x1400d3727
mov ecx, 9
cmp cx, ax
ja 0x1400d3716
cmp ax, 0xd
jbe 0x1400d372f
cmp r14w, ax
je 0x1400d372f
add rdx, r12
mov qword [rsp + 0xe8], rdx
movzx eax, word [rdx]
cmp ax, di
jne 0x1400d3706
lea rcx, [rsp + 0xe8]
call fcn.140058ecc
mov rdx, qword [rsp + 0xe8]
mov ecx, 0x3f
cmp cx, word [rdx]
jne 0x1400d37aa
lea ebp, [rcx - 0x3e]
lea r8, [rsp + 0xf8]
xor r9d, r9d
mov rcx, r13
mov qword [rsp + 0xf8], rdi
mov byte [rsp + 0x20], bpl
call fcn.140078800
mov rdx, qword [rsp + 0xf8]
mov r9b, r12b
mov qword [rsp + 0xe8], rdx
mov r8, rbx
mov rcx, r13
add rdx, r12
call fcn.1400d1b7c
lea rcx, [rsp + 0xf8]
mov rbx, rax
call fcn.140058efc
mov rax, rbx
jmp 0x1400d3d80
lea rcx, [rsp + 0xe8]
call fcn.140058ecc
lea rcx, [rsp + 0x48]
call fcn.140061620
lea rcx, [rsp + 0x40]
call fcn.140061620
mov ebp, 0x2c
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0xe8]
mov r9d, ebp
mov rcx, r13
mov word [rsp + 0x20], di
call fcn.1400524d0
mov rsi, qword [rsp + 0x48]
mov qword [rsp + 0xe8], rax
cmp bp, word [rax]
jne 0x1400d382f
add rax, r12
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0xe8]
mov r9d, ebp
mov rcx, r13
mov word [rsp + 0x20], di
mov qword [rsp + 0xe8], rax
call fcn.1400524d0
mov qword [rsp + 0xe8], rax
cmp word [rsi], di
je 0x1400d3d65
mov rax, qword [rsp + 0x40]
cmp word [rax], di
je 0x1400d3d65
lea rcx, str.touch
mov r8d, 6
mov rdx, rsi
call qword [sym.imp.SHLWAPI.dll_StrCmpNIW]
cmp eax, edi
jne 0x1400d3bba
mov rbx, qword [rsp + 0x40]
lea rcx, [rsp + 0x58]
add rsi, 0xc
call fcn.140061620
mov rax, qword [rsp + 0xe8]
cmp bp, word [rax]
jne 0x1400d38a4
add rax, r12
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0xe8]
mov r8d, ebp
mov qword [rsp + 0xe8], rax
call fcn.1400654c0
xor eax, eax
lea rcx, [rsp + 0xf8]
mov dword [rsp + 0xf8], edi
mov dword [rsp + 0x70], edi
mov r14, rdi
mov r15, rdi
mov dword [rsp + 0xfc], eax
mov dword [rsp + 0x74], eax
mov r12, rdi
mov word [rsp + 0x60], di
mov qword [rsp + 0x62], rax
mov dword [rsp + 0x6a], eax
mov word [rsp + 0x6e], ax
mov qword [rsp + 0xe8], rsi
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov r11, qword [rsp + 0xe8]
mov eax, 0x3a
lea ebp, [rax - 0x39]
cmp ax, word [r11]
je 0x1400d391a
lea eax, [rbp + 0x29]
lea r12, [rsp + 0xf8]
cmp ax, word [r11]
je 0x1400d3983
jmp 0x1400d3b0f
add r11, 2
mov qword [rsp + 0xe8], r11
movzx eax, word [r11]
or ax, 0x20
cmp ax, 0x63
je 0x1400d393a
cmp ax, 0x72
jne 0x1400d3946
add r11, 2
mov qword [rsp + 0xe8], r11
cmp ax, 0x63
jne 0x1400d3956
lea r14, [rsp + 0xf8]
jmp 0x1400d396e
cmp ax, 0x72
jne 0x1400d3966
lea r15, [rsp + 0xf8]
jmp 0x1400d396e
lea r12, [rsp + 0xf8]
lea rcx, [rsp + 0xe8]
call fcn.140058ecc
mov r11, qword [rsp + 0xe8]
mov esi, 5
lea rcx, str.utc:
mov rdx, r11
mov r8d, esi
call fcn.14005a5c4
cmp al, dil
je 0x1400d39f5
mov ecx, dword [rsp + 0xfc]
mov eax, dword [rsp + 0xf8]
add r11, 0xa
shl rcx, 0x20
lea rdx, [rsp + 0x50]
mov qword [rsp + 0xe8], r11
or rcx, rax
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0xe8]
call fcn.140065cf0
mov r11, qword [rsp + 0x50]
mov dword [rsp + 0xf8], r11d
shr r11, 0x20
mov dword [rsp + 0xfc], r11d
jmp 0x1400d3b0f
lea rcx, str.local0:
mov r8d, 8
mov rdx, r11
call fcn.14005a5c4
cmp al, dil
jne 0x1400d3ab5
lea rcx, str.local:
mov r8d, 7
mov rdx, r11
call fcn.14005a5c4
cmp al, dil
je 0x1400d3a34
mov edx, edi
jmp 0x1400d3ab7
lea rcx, str.sys0:
mov r8d, 6
mov rdx, r11
call fcn.14005a5c4
cmp al, dil
je 0x1400d3a52
mov edx, ebp
jmp 0x1400d3a6b
lea rcx, str.sys:
mov r8d, esi
mov rdx, r11
call fcn.14005a5c4
cmp al, dil
je 0x1400d3aab
mov edx, edi
lea eax, [rdx + 5]
mov r8b, dl
lea rdx, [rsp + 0x60]
movsxd rcx, eax
lea rax, [r11 + rcx*2]
lea rcx, [rsp + 0xe8]
mov qword [rsp + 0xe8], rax
call fcn.140076298
cmp eax, edi
jle 0x1400d3ae2
lea rdx, [rsp + 0xf8]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
jmp 0x1400d3b0f
cmp word [r11], di
je 0x1400d3b0f
sub r11, 0x10
mov edx, ebp
lea eax, [rdx + 7]
mov r8b, dl
lea rdx, [rsp + 0x60]
movsxd rcx, eax
lea rax, [r11 + rcx*2]
lea rcx, [rsp + 0xe8]
mov qword [rsp + 0xe8], rax
call fcn.140076298
cmp eax, edi
jg 0x1400d3aec
mov edi, 0x80070057
jmp 0x1400d3b85
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea rdx, [rsp + 0xf8]
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], 0x2000080
lea rcx, [rsp + 0x50]
mov r9d, 7
mov r8d, 0x100
mov rdx, rbx
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x20], rdi
call fcn.1400037bc
mov rbx, qword [rsp + 0x50]
cmp rbx, rdi
je 0x1400d3b78
mov r9, r12
mov r8, r15
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileTime]
mov esi, eax
cmp rbx, 0xffffffffffffffff
je 0x1400d3b74
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, edi
jne 0x1400d3b85
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
cmove eax, ebp
mov edi, eax
mov r8, qword [rsp + 0x58]
mov edx, edi
mov rcx, r13
call fcn.1400648ec
lea rcx, [rsp + 0x58]
call fcn.140058efc
lea rcx, [rsp + 0x40]
call fcn.140058efc
lea rcx, [rsp + 0x48]
call fcn.140058efc
movsxd rax, edi
jmp 0x1400d3d80
lea r8, [rsp + 0x78]
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
mov r11, qword [rsp + 0x40]
mov ebx, dword [rsp + 0x78]
mov qword [rsp + 0xe8], r11
mov ebp, 1
cmp word [r11], di
je 0x1400d3d30
lea rcx, [0x1401201c4]
mov r8d, r12d
mov rdx, r11
call fcn.14005a5c4
cmp al, dil
je 0x1400d3c0a
add r11, 4
or ebx, r14d
jmp 0x1400d3c28
lea rcx, [0x1401201c0]
mov r8d, r12d
mov rdx, r11
call fcn.14005a5c4
cmp al, dil
je 0x1400d3c34
add r11, 4
and ebx, 0xffffffdf
mov dword [rsp + 0x78], ebx
mov qword [rsp + 0xe8], r11
lea rcx, [0x1401201bc]
mov r8d, r12d
mov rdx, r11
call fcn.14005a5c4
cmp al, dil
je 0x1400d3c54
add r11, 4
or ebx, r12d
jmp 0x1400d3c72
lea rcx, [0x1401201b8]
mov r8d, r12d
mov rdx, r11
call fcn.14005a5c4
cmp al, dil
je 0x1400d3c7e
add r11, 4
and ebx, 0xfffffffd
mov dword [rsp + 0x78], ebx
mov qword [rsp + 0xe8], r11
lea rcx, [0x1401201b4]
mov r8d, r12d
mov rdx, r11
call fcn.14005a5c4
cmp al, dil
je 0x1400d3c9d
add r11, 4
or ebx, ebp
jmp 0x1400d3cbb
lea rcx, [0x1401201b0]
mov r8d, r12d
mov rdx, r11
call fcn.14005a5c4
cmp al, dil
je 0x1400d3cc7
add r11, 4
and ebx, 0xfffffffe
mov dword [rsp + 0x78], ebx
mov qword [rsp + 0xe8], r11
lea rcx, [0x1401201ac]
mov r8d, r12d
mov rdx, r11
call fcn.14005a5c4
cmp al, dil
je 0x1400d3ceb
add r11, 4
or ebx, 4
mov dword [rsp + 0x78], ebx
jmp 0x1400d3d0e
lea rcx, [0x1401201a8]
mov r8d, r12d
mov rdx, r11
call fcn.14005a5c4
cmp al, dil
je 0x1400d3d0b
add r11, 4
and ebx, 0xfffffffb
jmp 0x1400d3ce5
add r11, r12
lea rcx, [rsp + 0xe8]
mov qword [rsp + 0xe8], r11
call fcn.140058ecc
mov r11, qword [rsp + 0xe8]
jmp 0x1400d3be0
mov edx, ebx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp eax, edi
jne 0x1400d3d4c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
cmove eax, ebp
mov edi, eax
lea rcx, [rsp + 0x40]
call fcn.140058efc
lea rcx, [rsp + 0x48]
call fcn.140058efc
mov rax, rdi
jmp 0x1400d3d80
lea rcx, [rsp + 0x40]
call fcn.140058efc
lea rcx, [rsp + 0x48]
call fcn.140058efc
mov rax, 0xffffffff80070057
mov rbx, qword [rsp + 0xe0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret