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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b1fe8
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push ebp
push esi
xor esi, esi
push edi
push esi
call fcn.004247f0
mov ebp, dword [esp + 0x78]
add esp, 4
cmp ebp, esi
je 0x425e37
cmp word [ebp], si
je 0x425e37
mov ebx, dword [esp + 0x78]
cmp ebx, esi
je 0x425e37
cmp word [ebx], si
je 0x425e37
cmp dword [0x4f679c], esi
jne 0x425946
push 0x4ce
push 2
jmp 0x425e3e
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push ebp
or edi, 0xffffffff
call esi
test al, 0x10
mov dword [esp + 0x24], eax
je 0x42596e
push 0x4dc
push 0x1d
jmp 0x425e3e
push ebx
call esi
mov ebx, eax
cmp ebx, 0xffffffff
je 0x425989
test bl, 0x10
je 0x425989
push 0x4e6
push 0x1e
jmp 0x425e3e
mov ecx, dword [0x4bc794]
mov eax, 1
xor esi, esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x6c], esi
cmp ecx, esi
mov dword [esp + 0x74], esi
je 0x4259c7
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x80], eax
cmp ecx, esi
jne 0x4259ce
mov dword [esp + 0x80], esi
cmp ebx, 0xffffffff
jne 0x4259da
mov dword [esp + 0x80], esi
push ebp
call fcn.004135c0
add esp, 4
cmp eax, esi
jne 0x425bce
mov ecx, dword [esp + 0x8c]
mov eax, 5
cmp ecx, esi
je 0x425a00
mov eax, 7
push esi
push 0x80
push 3
push esi
push eax
push SysReAllocStringLen
push ebp
call fcn.00429640
mov esi, eax
add esp, 0x1c
cmp esi, 0xffffffff
je 0x425cd7
push esi
call fcn.00413320
add esp, 4
test eax, eax
jne 0x425d75
cmp ebx, 0xffffffff
setne al
xor ebp, ebp
mov dword [esp + 0x8c], eax
cmp eax, ebp
je 0x425ae8
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x44]
mov dword [esp + 0x40], ebp
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x78]
lea edx, [esp + 0x40]
push edx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x425ad2
mov eax, dword [esp + 0x60]
test eax, eax
jne 0x425a81
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x425ad2
mov eax, dword [0x4f6ccc]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0x4e1afc
push edi
call fcn.00429330
add esp, 0x10
test eax, eax
je 0x425ac3
mov edx, dword [esp + 0x10]
push 0
push edx
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x425aba
mov dword [esp + 0x74], 1
jmp 0x425ad2
push 0x566
push 0x28
jmp 0x425aca
push 0x56d
push 0x24
call fcn.00424810
add esp, 8
test bl, 1
je 0x425ae6
mov eax, dword [esp + 0x78]
and ebx, 0xfffffffe
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor ebp, ebp
mov ecx, dword [esp + 0x78]
push ebp
push 0x80
push 4
push ebp
push ebp
push 0xc0000000
push ecx
call fcn.00429640
mov edi, eax
add esp, 0x1c
cmp edi, 0xffffffff
je 0x425d88
cmp dword [esp + 0x8c], ebp
je 0x425b24
mov eax, dword [esp + 0x74]
mov dword [esp + 0x14], ebp
cmp eax, ebp
je 0x425b2c
mov dword [esp + 0x14], 1
lea edx, [esp + 0x14]
push edx
push edi
push esi
push ebp
call fcn.00427d30
add esp, 0x10
cmp eax, ebp
je 0x425d97
mov bl, byte [esp + 0x88]
test bl, 1
je 0x425b94
lea eax, [esp + 0x28]
lea ecx, [esp + 0x30]
push eax
lea edx, [esp + 0x3c]
push ecx
push edx
push esi
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], 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 0x425bac
lea eax, [esp + 0x20]
lea ecx, [esp + 0x18]
push eax
push ecx
push esi
call fcn.00428e80
add esp, 0xc
cmp dword [esp + 0x90], ebp
je 0x425bbc
push edi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
mov dword [esp + 0x1c], ebp
jmp 0x425da0
xor eax, eax
cmp ebx, 0xffffffff
setne al
cmp eax, esi
je 0x425c7b
lea edx, [esp + 0x40]
mov dword [esp + 0x40], esi
mov esi, dword [esp + 0x78]
xor eax, eax
mov ecx, 8
lea edi, [esp + 0x44]
push edx
push eax
rep stosd dword es:[edi], eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x425c65
mov eax, dword [esp + 0x60]
test eax, eax
jne 0x425c14
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x425c65
mov eax, dword [0x4f6ccc]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0x4e1afc
push esi
call fcn.00429330
add esp, 0x10
test eax, eax
je 0x425c56
mov edx, dword [esp + 0x10]
push 0
push edx
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x425c4d
mov dword [esp + 0x74], 1
jmp 0x425c65
push 0x513
push 0x28
jmp 0x425c5d
push 0x51a
push 0x24
call fcn.00424810
add esp, 8
mov eax, dword [esp + 0x74]
test eax, eax
jne 0x425c79
mov dword [esp + 0x14], 0
xor esi, esi
jmp 0x425c83
xor esi, esi
mov dword [esp + 0x14], 1
test byte [esp + 0x88], 4
je 0x425ca0
lea eax, [esp + 0x20]
lea ecx, [esp + 0x18]
push eax
push ecx
push ebp
call fcn.00429050
add esp, 0xc
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x78]
push edx
push 0xffffffffffffffff
push esi
push eax
push ebp
call fcn.00412440
add esp, 0x14
test eax, eax
je 0x425cc6
mov dword [esp + 0x1c], esi
jmp 0x425db4
push 0x52e
push 0x24
call fcn.00424810
add esp, 8
jmp 0x425ce8
push 0x547
push 3
call fcn.00424810
add esp, 8
xor esi, esi
cmp dword [esp + 0x14], esi
je 0x425cf9
mov eax, dword [esp + 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esp + 0x74], esi
je 0x425d38
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 0x425d38
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x1c], 0xffffffff
cmp eax, esi
je 0x425d38
mov ecx, dword [esp + 0x10]
push 0x103
push ecx
push eax
call fcn.00438675
add esp, 0xc
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x425d4d
push eax
call fcn.004a299c
add esp, 4
mov dword [esp + 0x18], esi
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
push 0x54f
push 0x2a
call fcn.00424810
add esp, 8
xor ebp, ebp
jmp 0x425d97
push 0x583
push 4
call fcn.00424810
add esp, 8
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
cmp edi, 0xffffffff
je 0x425da8
push edi
call esi
cmp dword [esp + 0x1c], ebp
jne 0x425ce6
xor esi, esi
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x425dcf
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x78]
push ecx
push eax
push edx
call fcn.00429100
add esp, 0xc
test byte [esp + 0x88], 2
je 0x425de9
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x78]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [esp + 0x74], esi
je 0x425d38
cmp dword [esp + 0x80], esi
je 0x425e12
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x84]
push 0x103
push edx
jmp 0x425d2f
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x425d38
mov edx, dword [esp + 0x10]
push edx
call fcn.00429150
add esp, 4
jmp 0x425d38
push 0x4c8
push 1
call fcn.00424810
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