Function at 0x140002e20
Capabilities:
Set file attributes
Timestomp file

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov rax, qword [0x140007100]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0x98], 0
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
jne 0x140002e6b
xor al, al
jmp 0x140003146
lea r8, [rsp + 0x48]
xor edx, edx
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExA]
test eax, eax
jne 0x140002e8b
xor al, al
jmp 0x140003146
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x54]
call qword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
jne 0x140002ea9
jmp 0x140003097
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
jne 0x140002eca
jmp 0x140003097
movzx eax, word [rsp + 0x88]
mov rcx, qword [rsp + 0x78]
movzx ecx, word [rcx]
cmp eax, ecx
jle 0x140002ee8
jmp 0x140003097
movzx eax, word [rsp + 0x88]
mov rcx, qword [rsp + 0x78]
movzx ecx, word [rcx]
cmp eax, ecx
jge 0x140002f06
jmp 0x140002fd3
movzx eax, word [rsp + 0x8a]
mov rcx, qword [rsp + 0x78]
movzx ecx, word [rcx + 2]
cmp eax, ecx
jle 0x140002f25
jmp 0x140003097
movzx eax, word [rsp + 0x8a]
mov rcx, qword [rsp + 0x78]
movzx ecx, word [rcx + 2]
cmp eax, ecx
jge 0x140002f44
jmp 0x140002fd3
movzx eax, word [rsp + 0x8e]
mov rcx, qword [rsp + 0x78]
movzx ecx, word [rcx + 6]
cmp eax, ecx
jle 0x140002f63
jmp 0x140003097
movzx eax, word [rsp + 0x8e]
mov rcx, qword [rsp + 0x78]
movzx ecx, word [rcx + 6]
cmp eax, ecx
jge 0x140002f7c
jmp 0x140002fd3
movzx eax, word [rsp + 0x90]
mov rcx, qword [rsp + 0x78]
movzx ecx, word [rcx + 8]
cmp eax, ecx
jle 0x140002f9b
jmp 0x140003097
movzx eax, word [rsp + 0x90]
mov rcx, qword [rsp + 0x78]
movzx ecx, word [rcx + 8]
cmp eax, ecx
jge 0x140002fb4
jmp 0x140002fd3
movzx eax, word [rsp + 0x92]
mov rcx, qword [rsp + 0x78]
movzx ecx, word [rcx + 0xa]
cmp eax, ecx
jl 0x140002fd3
jmp 0x140003097
mov eax, dword [rsp + 0x64]
shl rax, 4
mov rcx, qword [rsp + 0x98]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
mov eax, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x98]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov rcx, qword [0x140007ae8]
add rcx, rax
mov rax, rcx
mov qword [0x140007ae8], rax
movzx eax, byte [0x1400079d0]
test eax, eax
je 0x140003058
movzx eax, byte [0x1400079d6]
test eax, eax
jne 0x140003052
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0xc0]
call fcn.140002da0
jmp 0x140003097
movzx eax, byte [0x1400079d5]
test eax, eax
je 0x140003085
mov eax, dword [rsp + 0x48]
or eax, 1
test eax, eax
je 0x140003085
mov eax, dword [rsp + 0x48]
and eax, 0xfffffffe
mov edx, eax
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov rcx, qword [rsp + 0xc0]
call fcn.140002c60
jmp 0x140003146
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x100
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0xffffffffffffffff
jne 0x1400030fd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [rsp + 0xc0]
mov edx, eax
lea rcx, [0x140001b60]
call qword [sym.imp.msvcrt.dll_printf]
xor al, al
jmp 0x140003146
xor r9d, r9d
lea r8, [rsp + 0x54]
xor edx, edx
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x140003136
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [rsp + 0xc0]
mov edx, eax
lea rcx, [0x140001b60]
call qword [sym.imp.msvcrt.dll_printf]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140004680
add rsp, 0xb8
ret