Function at 0x423e60
Capabilities:
Check if file exists
Delete file
Get file attributes
Get file size
Move file
Set file attributes
Timestomp file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b1ea8
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push ebp
push esi
xor ebp, ebp
push edi
push ebp
call fcn.00423e40
mov edi, dword [esp + 0x78]
add esp, 4
cmp edi, ebp
je 0x42427e
cmp word [edi], bp
je 0x42427e
mov ebx, dword [esp + 0x78]
cmp ebx, ebp
je 0x42427e
cmp word [ebx], bp
je 0x42427e
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push edi
call esi
test al, 0x10
mov dword [esp + 0x24], eax
je 0x423ece
push 0x97
push 0x1d
jmp 0x424285
push ebx
call esi
mov ebx, eax
cmp ebx, 0xffffffff
je 0x423ee9
test bl, 0x10
je 0x423ee9
push 0xa1
push 0x1e
jmp 0x424285
mov ecx, dword [0x4bc794]
mov eax, 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x6c], ebp
cmp ecx, ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x20], ebp
je 0x423f26
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x74], eax
cmp ecx, ebp
jne 0x423f2a
mov dword [esp + 0x74], ebp
cmp ebx, 0xffffffff
jne 0x423f33
mov dword [esp + 0x74], ebp
mov ecx, dword [esp + 0x94]
mov eax, 5
cmp ecx, ebp
je 0x423f48
mov eax, 7
push ebp
push 0x80
push 3
push ebp
push eax
push SysReAllocStringLen
push edi
call fcn.00429640
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x4241b4
xor edx, edx
cmp ebx, 0xffffffff
setne dl
mov esi, edx
test esi, esi
je 0x42401c
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x44]
mov dword [esp + 0x40], 0
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x78]
lea eax, [esp + 0x40]
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x42400a
mov eax, dword [esp + 0x60]
test eax, eax
jne 0x423fb8
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x42400a
mov ecx, dword [0x4f6544]
lea edx, [esp + 0x10]
push ecx
push edx
push 0x4e1afc
push edi
call fcn.00429330
add esp, 0x10
test eax, eax
je 0x423ffb
mov eax, dword [esp + 0x10]
push 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x423ff2
mov dword [esp + 0x14], 1
jmp 0x42400a
push 0xe5
push 0x28
jmp 0x424002
push 0xec
push 0x24
call fcn.00423e20
add esp, 8
test bl, 1
je 0x424020
and ebx, 0xfffffffe
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x424020
mov edi, dword [esp + 0x78]
push 0
push 0x80
push 4
push 0
push 0
push 0xc0000000
push edi
call fcn.00429640
mov edi, eax
add esp, 0x1c
cmp edi, 0xffffffff
je 0x4241c5
xor eax, eax
cmp esi, eax
je 0x4240c7
cmp dword [esp + 0x14], eax
je 0x4240c7
mov ecx, dword [esp + 0x10]
push eax
push 0x80
push 4
push eax
push 7
push SysReAllocStringLen
push ecx
call fcn.00429640
mov esi, eax
add esp, 0x1c
cmp esi, 0xffffffff
je 0x4240c5
mov eax, dword [esp + 0x74]
xor ebx, ebx
cmp eax, ebx
je 0x4240be
lea edx, [esp + 0x94]
mov dword [esp + 0x94], ebx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, ebx
jne 0x4240a3
cmp dword [esp + 0x94], ebx
je 0x4240ba
cmp dword [esp + 0x88], 1
jne 0x4240be
push esi
call fcn.00413320
add esp, 4
test eax, eax
je 0x4240be
mov dword [esp + 0x74], ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov bl, byte [esp + 0x90]
test bl, 1
je 0x424117
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x28]
lea ecx, [esp + 0x30]
push eax
lea edx, [esp + 0x3c]
push ecx
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileTime]
lea eax, [esp + 0x28]
lea ecx, [esp + 0x30]
push eax
lea edx, [esp + 0x3c]
push ecx
push edx
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test bl, 4
je 0x42412f
lea eax, [esp + 0x20]
lea ecx, [esp + 0x18]
push eax
push ecx
push ebp
call fcn.00428e80
add esp, 0xc
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
mov eax, dword [esp + 0x98]
test eax, eax
je 0x42414a
push edi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push edi
mov dword [esp + 0x20], 0
call esi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x424173
mov edx, dword [esp + 0x20]
push edx
push eax
mov eax, dword [esp + 0x80]
push eax
call fcn.00429100
add esp, 0xc
test bl, 2
je 0x424188
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x78]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x42421f
mov eax, dword [esp + 0x74]
test eax, eax
je 0x424260
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x8c]
push 0x103
push eax
push ecx
jmp 0x424217
push 0xce
push 3
call fcn.00423e20
add esp, 8
jmp 0x42421f
push 0x102
push 4
call fcn.00423e20
add esp, 8
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x42421f
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x10]
push 1
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x42421f
mov eax, dword [esp + 0x84]
mov dword [esp + 0x1c], 0xffffffff
test eax, eax
je 0x42421f
mov ecx, dword [esp + 0x10]
push 0x103
push ecx
push eax
call fcn.00438675
add esp, 0xc
mov eax, dword [esp + 0x18]
test eax, eax
je 0x424238
push eax
call fcn.004a299c
add esp, 4
mov dword [esp + 0x18], 0
lea ecx, [esp + 0x10]
mov dword [esp + 0x6c], 0xffffffff
call fcn.00447cd0
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x42421f
mov eax, dword [esp + 0x10]
push eax
call fcn.00429150
add esp, 4
jmp 0x42421f
push 0x8f
push 1
call fcn.00423e20
mov ecx, dword [esp + 0x6c]
add esp, 8
mov eax, 1
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret