Function at 0x100837a0
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x68
push esi
mov esi, dword [ebp + 0xc]
xorps xmm0, xmm0
push edi
mov edi, dword [ebp + 8]
mov eax, edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
movaps xmmword [esp + 0x40], xmm0
movaps xmmword [esp + 0x50], xmm0
movq qword [esp + 0x60], xmm0
cmp edi, sym.python310.dll__Py_NoneStruct
je 0x100838ee
test esi, esi
je 0x10083817
mov esi, dword [sym.python310.dll_PyExc_ValueError]
mov edx, 0x3a
mov edi, dword [0x103fb118]
mov ecx, str.utime:_you_may_specify_either_times_or_ns_but_not_both
push 0
push 0
push 0
call fcn.101599e0
add esp, 0xc
mov dword [esp + 0x18], eax
push eax
push esi
push edi
call sym.python310.dll__PyErr_SetObject
mov ecx, dword [esp + 0x24]
jmp 0x10083985
cmp dword [edi + 4], sym.python310.dll_PyTuple_Type
jne 0x100838e2
push edi
call sym.python310.dll_PyTuple_Size
add esp, 4
cmp eax, 2
jne 0x100838e2
mov ecx, dword [edi + 0xc]
lea eax, [esp + 0x18]
push 0
push 0x3b9aca00
push eax
lea edx, [esp + 0x3c]
call fcn.1020cbc0
add esp, 0xc
cmp eax, 0xffffffff
je 0x100838da
mov ecx, dword [edi + 0x10]
lea eax, [esp + 0x1c]
push 0
push 0x3b9aca00
push eax
lea edx, [esp + 0x44]
call fcn.1020cbc0
add esp, 0xc
cmp eax, 0xffffffff
je 0x100838da
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x14]
cmp dword [ebp + 0x14], 0
jne 0x100839ba
push str.follow_symlinks
push 0x1036f8b8
push str.utime
push str._s_s_s_unavailable_on_this_platform
push dword [sym.python310.dll_PyExc_NotImplementedError]
call sym.python310.dll_PyErr_Format
add esp, 0x14
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, 0x39
mov ecx, str.utime:_times_must_be_either_a_tuple_of_two_ints_or_None
jmp 0x1008395b
test esi, esi
je 0x100839ad
cmp dword [esi + 4], sym.python310.dll_PyTuple_Type
jne 0x10083951
push esi
call sym.python310.dll_PyTuple_Size
add esp, 4
cmp eax, 2
jne 0x10083951
mov edx, dword [esi + 0xc]
lea eax, [esp + 0x50]
mov ecx, dword [esp + 0x18]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.100836a0
add esp, 8
test eax, eax
je 0x100838da
mov edx, dword [esi + 0x10]
lea eax, [esp + 0x60]
mov ecx, dword [esp + 0x18]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.100836a0
add esp, 8
test eax, eax
jne 0x100838aa
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, 0x27
mov ecx, str.utime:_ns_must_be_a_tuple_of_two_ints
mov edi, dword [0x103fb118]
mov esi, dword [sym.python310.dll_PyExc_TypeError]
push 0
push 0
push 0
call fcn.101599e0
add esp, 0xc
mov dword [esp + 0x1c], eax
push eax
push esi
push edi
call sym.python310.dll__PyErr_SetObject
mov ecx, dword [esp + 0x28]
add esp, 0xc
test ecx, ecx
je 0x100838da
add dword [ecx], 0xffffffff
jne 0x100838da
mov eax, dword [ecx + 4]
push ecx
mov eax, dword [eax + 0x18]
call eax
add esp, 4
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x40], 1
jmp 0x100838ae
cmp dword [eax + 0x10], 0
mov edx, dword [ebp + 0x10]
jne 0x100839e8
cmp edx, 0xffffff9c
je 0x100839e8
push str.utime
push str._s:_cant_specify_dir_fd_without_matching_path
push dword [sym.python310.dll_PyExc_ValueError]
call sym.python310.dll_PyErr_Format
add esp, 0xc
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push dword [eax + 0x18]
mov ecx, str.utime
call fcn.10081b10
add esp, 4
test eax, eax
jne 0x100838da
mov edx, dword [esp + 0x14]
mov ecx, str.utime
push dword [ebp + 0x14]
mov edx, dword [edx + 0x18]
call fcn.10081b40
add esp, 4
test eax, eax
jne 0x100838da
mov eax, dword [ebp + 0x10]
or ecx, 0xffffffff
cmp eax, 0xffffff9c
cmove eax, ecx
test esi, esi
push eax
mov eax, sym.python310.dll__Py_NoneStruct
cmovne eax, esi
mov esi, dword [esp + 0x18]
push eax
push edi
push dword [esi + 0x20]
push str.OOOi
push str.os.utime
call sym.python310.dll_PySys_Audit
add esp, 0x18
test eax, eax
js 0x100838da
call sym.python310.dll_PyEval_SaveThread
push 0
push 0x2000000
push 3
push 0
push 0
push pe_nt_image_headers32
push dword [esi + 0x10]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x1c], eax
test edi, edi
je 0x10083bae
mov ecx, edi
call fcn.101c8d20
mov eax, dword [edi + 8]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0x118]
add ecx, 0x118
xchg dword [ecx], edi
mov edi, dword [esp + 0x1c]
cmp edi, 0xffffffff
jne 0x10083aba
mov ecx, esi
call fcn.10081d00
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0x40], 0
je 0x10083ae1
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
jmp 0x10083b67
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
add ecx, 0xb6109100
push 0
push 0x989680
adc eax, 2
push eax
push ecx
call fcn.1024b4f0
mov ecx, eax
mov esi, edx
mov eax, 0x51eb851f
imul dword [esp + 0x50]
push 0
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
add ecx, eax
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x60]
adc esi, edx
mov edx, dword [esp + 0x5c]
add edx, 0xb6109100
mov dword [esp + 0x30], esi
push 0x989680
adc ecx, 2
push ecx
push edx
call fcn.1024b4f0
mov ecx, eax
mov esi, edx
mov eax, 0x51eb851f
imul dword [esp + 0x60]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
add ecx, eax
mov dword [esp + 0x20], ecx
adc esi, edx
mov dword [esp + 0x24], esi
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x2c]
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x10083b96
push eax
call sym.python310.dll_PyErr_SetFromWindowsErr
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [sym.python310.dll__Py_NoneStruct]
mov eax, sym.python310.dll__Py_NoneStruct
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x10389b34
call sym.python310.dll__Py_FatalError_TstateNULL
int3