Function at 0x1403c1050
Capabilities:
Timestomp file

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0xe0
mov rax, qword [0x1405033c0]
xor rax, rsp
mov qword [rsp + 0xd0], rax
movsxd rax, dword [rsp + 0xf0]
cmp rax, 0xfffffffffffffffe
jne 0x1403c1096
call fcn.14016f2e1
mov dword [rax], 9
mov eax, 0xffffffff
jmp 0x1403c14e8
cmp dword [rsp + 0xf0], 0
jl 0x1403c10b9
mov eax, dword [0x14050966c]
cmp dword [rsp + 0xf0], eax
jae 0x1403c10b9
mov dword [rsp + 0x30], 1
jmp 0x1403c10c1
mov dword [rsp + 0x30], 0
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x1403c110a
lea rax, str.fh___0__static_cast_unsigned__fh____static_cast_unsigned___nhandle_
mov qword [rsp + 0x28], rax
lea rax, [0x140497658]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x51
lea rdx, str.minkernelcrtsucrt_src_appcrt_timeutime.cpp
mov ecx, 2
call fcn.14016cfb9
cmp eax, 1
jne 0x1403c110a
int3
cmp dword [rsp + 0x34], 0
jne 0x1403c114f
call fcn.14016f2e1
mov dword [rax], 9
mov qword [rsp + 0x20], 0
mov r9d, 0x51
lea r8, str.minkernelcrtsucrt_src_appcrt_timeutime.cpp
lea rdx, str.common_futime
lea rcx, str.fh___0__static_cast_unsigned__fh____static_cast_unsigned___nhandle_
call fcn.1401738c3
mov eax, 0xffffffff
jmp 0x1403c14e8
mov eax, dword [rsp + 0xf0]
sar eax, 6
cdqe
lea rcx, [0x1405091a0]
mov edx, dword [rsp + 0xf0]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + rdx + 0x38]
and eax, 1
test eax, eax
je 0x1403c118d
mov dword [rsp + 0x38], 1
jmp 0x1403c1195
mov dword [rsp + 0x38], 0
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
jne 0x1403c11de
lea rax, str._osfile_fh___FOPEN
mov qword [rsp + 0x28], rax
lea rax, [0x140497658]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x52
lea rdx, str.minkernelcrtsucrt_src_appcrt_timeutime.cpp
mov ecx, 2
call fcn.14016cfb9
cmp eax, 1
jne 0x1403c11de
int3
cmp dword [rsp + 0x3c], 0
jne 0x1403c1223
call fcn.14016f2e1
mov dword [rax], 9
mov qword [rsp + 0x20], 0
mov r9d, 0x52
lea r8, str.minkernelcrtsucrt_src_appcrt_timeutime.cpp
lea rdx, str.common_futime
lea rcx, str._osfile_fh___FOPEN
call fcn.1401738c3
mov eax, 0xffffffff
jmp 0x1403c14e8
lea rax, [rsp + 0xb0]
mov rdi, rax
xor eax, eax
mov ecx, reloc.WS2_32.dll_recv
rep stosb byte [rdi], al
cmp qword [rsp + 0xf8], 0
jne 0x1403c1279
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x50]
call fcn.14016c401
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xb0], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0xf8], rax
lea rax, [rsp + 0x88]
mov rdi, rax
xor eax, eax
mov ecx, 0x24
rep stosb byte [rdi], al
mov rax, qword [rsp + 0xf8]
add rax, 8
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x60]
call fcn.1401747e1
test eax, eax
je 0x1403c12d3
call fcn.14016f2e1
mov dword [rax], reloc.WLDAP32.dll_Ordinal_22
mov eax, 0xffffffff
jmp 0x1403c14e8
lea rax, [rsp + 0x78]
mov rdi, rax
xor eax, eax
mov ecx, reloc.WS2_32.dll_recv
rep stosb byte [rdi], al
mov eax, dword [rsp + 0x9c]
add eax, 0x76c
mov word [rsp + 0x78], ax
mov eax, dword [rsp + 0x98]
inc eax
mov word [rsp + 0x7a], ax
movzx eax, word [rsp + 0x94]
mov word [rsp + 0x7e], ax
movzx eax, word [rsp + 0x90]
mov word [rsp + 0x80], ax
movzx eax, word [rsp + 0x8c]
mov word [rsp + 0x82], ax
movzx eax, word [rsp + 0x88]
mov word [rsp + 0x84], ax
xor eax, eax
mov word [rsp + 0x86], ax
lea rax, [rsp + 0xc0]
mov rdi, rax
xor eax, eax
mov ecx, reloc.WS2_32.dll_recv
rep stosb byte [rdi], al
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
lea r8, [rsp + 0xc0]
lea rdx, [rsp + 0x78]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_TzSpecificLocalTimeToSystemTime]
test eax, eax
je 0x1403c139f
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
test eax, eax
jne 0x1403c13b4
call fcn.14016f2e1
mov dword [rax], reloc.WLDAP32.dll_Ordinal_22
mov eax, 0xffffffff
jmp 0x1403c14e8
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x70], rax
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x70]
call fcn.1401747e1
test eax, eax
je 0x1403c13f6
call fcn.14016f2e1
mov dword [rax], reloc.WLDAP32.dll_Ordinal_22
mov eax, 0xffffffff
jmp 0x1403c14e8
mov eax, dword [rsp + 0x9c]
add eax, 0x76c
mov word [rsp + 0x78], ax
mov eax, dword [rsp + 0x98]
inc eax
mov word [rsp + 0x7a], ax
movzx eax, word [rsp + 0x94]
mov word [rsp + 0x7e], ax
movzx eax, word [rsp + 0x90]
mov word [rsp + 0x80], ax
movzx eax, word [rsp + 0x8c]
mov word [rsp + 0x82], ax
movzx eax, word [rsp + 0x88]
mov word [rsp + 0x84], ax
xor eax, eax
mov word [rsp + 0x86], ax
lea rax, [rsp + 0x48]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
lea r8, [rsp + 0xc0]
lea rdx, [rsp + 0x78]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_TzSpecificLocalTimeToSystemTime]
test eax, eax
je 0x1403c149d
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
test eax, eax
jne 0x1403c14af
call fcn.14016f2e1
mov dword [rax], reloc.WLDAP32.dll_Ordinal_22
mov eax, 0xffffffff
jmp 0x1403c14e8
mov ecx, dword [rsp + 0xf0]
call fcn.140175277
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x48]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x1403c14e6
call fcn.14016f2e1
mov dword [rax], reloc.WLDAP32.dll_Ordinal_22
mov eax, 0xffffffff
jmp 0x1403c14e8
xor eax, eax
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1401703e9
add rsp, 0xe0
pop rdi
ret