Function at 0x446010
Capabilities:
Check if file exists
Delete file
Timestomp file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d3f62
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x515080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0xf0], eax
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0xf4], edi
mov dword [ebp - 4], 0
lea ecx, [eax + 0x58]
push 0xa
lea eax, [ebp - 0xe8]
push eax
call fcn.0040b1b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xe8]
push 1
push 0x4f2b80
call fcn.004025b0
lea edx, [ebp + 8]
lea ecx, [ebp - 0xe0]
call fcn.0041f2f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xe8]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.004025b0
mov byte [ebp - 4], 1
or eax, 0xffffffff
mov ecx, dword [ebp - 0xe0]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4460d3
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
mov edi, dword [ebp - 0xf4]
mov eax, dword [ebp - 0xf0]
mov ecx, edi
add eax, 0x54
push eax
call fcn.00409b90
mov ecx, edi
call fcn.0040ecb0
mov eax, dword [ebp - 0xe8]
mov ecx, edi
push dword [eax - 0xc]
push eax
call fcn.004025b0
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov ecx, dword [ebp - 0xe8]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x446130
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
mov edi, dword [ebp - 0xf4]
push 0
push 0
lea ecx, [ebp - 0xdc]
call fcn.00431a10
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xf0]
add ecx, 0x4c
mov byte [ebp - 0x7a], 1
mov eax, dword [ecx]
cmp dword [eax - 0xc], 0
je 0x446161
push ecx
lea ecx, [ebp - 0x68]
call fcn.00409b90
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x446217
push 0
push 0
push 3
push 0
push 0
push 0x40000000
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0xe4], 0x4ed624
mov dword [ebp - 0xe0], esi
mov byte [ebp - 4], 6
cmp esi, 0xffffffff
jne 0x4461ba
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [ebp - 4], 5
mov dword [ebp - 0xe4], 0x4ed624
push esi
jmp 0x4461fc
lea eax, [ebp - 0xec]
push eax
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
jne 0x4461d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4461e9
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xec]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
mov byte [ebp - 4], 5
mov dword [ebp - 0xe4], 0x4ed624
test esi, esi
je 0x44620c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0xe0], 0
movups xmm0, xmmword [ebp - 0x20]
movups xmmword [ebp - 0x9a], xmm0
push edi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0xdc]
call fcn.00433180
mov esi, eax
mov dword [ebp - 0xe8], esi
test esi, esi
je 0x446253
cmp esi, 0xe0000013
je 0x446320
push dword [edi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, edi
call fcn.004037c0
jmp 0x446320
movups xmm0, xmmword [ebp - 0x8a]
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0x30]
push eax
movups xmmword [ebp - 0x30], xmm0
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
push 0
push 0
push 3
push 0
push 0
push 0x40000000
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0xe4], 0x4ed624
mov dword [ebp - 0xe0], esi
mov byte [ebp - 4], 7
cmp esi, 0xffffffff
jne 0x4462b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [ebp - 4], 5
mov dword [ebp - 0xe4], 0x4ed624
push esi
jmp 0x4462e5
lea eax, [ebp - 0xec]
push eax
push eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x4462d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [ebp - 4], 5
mov dword [ebp - 0xe4], 0x4ed624
test esi, esi
je 0x4462f5
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0xe0], 0
mov edi, dword [ebp - 0xf0]
push 0
push dword [ebp - 0xf4]
mov eax, dword [edi + 4]
push 6
mov esi, dword [eax + 0x20]
mov ecx, esi
call dword [0x4e2514]
lea ecx, [edi + 4]
call esi
xor esi, esi
mov dword [ebp - 0xe8], esi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xdc]
call fcn.00431dc0
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x446365
mov edi, dword [eax]
push eax
mov edx, dword [edi]
mov esi, dword [edx + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
mov eax, dword [ebp - 0xe8]
jmp 0x446367
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a1bc0
mov esp, ebp
pop ebp
ret 8