Function at 0x40230e
Capabilities:
Copy file
Delete file
Get common file path
Get file attributes
Set file attributes
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x624
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push esi
call fcn.00402547
push eax
call fcn.00401728
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ebx, ebx
mov dword [ebp + 0xc], eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push ebx
push 0x80
push 3
push ebx
push 1
push bind
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 3
lea eax, [ebp - 8]
push esi
push eax
mov byte [ebp - 8], bl
mov byte [ebp - 7], bl
mov byte [ebp - 6], bl
mov byte [ebp - 5], bl
mov byte [ebp - 4], bl
call fcn.00403e50
add esp, 0xc
lea eax, [ebp - 8]
push eax
call fcn.00403554
test eax, eax
jne 0x402431
mov edi, 0x104
lea eax, [ebp - 0x124]
push edi
push ebx
push eax
call fcn.00403df0
add esp, 0xc
lea eax, [ebp - 0x124]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x124]
push 0x40d10c
push eax
call fcn.00404350
pop ecx
pop ecx
push esi
call fcn.00402547
push eax
lea eax, [ebp - 0x124]
push eax
call fcn.00404350
pop ecx
lea eax, [ebp - 0x124]
pop ecx
xor esi, esi
push 1
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x402406
push 1
pop esi
push 0xffffffffffffffff
lea eax, [ebp - 0x124]
push dword [ebp + 0x10]
push eax
call fcn.004039fa
cmp esi, ebx
je 0x402540
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x402540
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileA]
push ebx
push esi
push dword [ebp + 8]
call edi
test eax, eax
jne 0x402451
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push esi
push dword [ebp + 8]
jmp 0x40243c
push 0xffffffffffffffff
push dword [ebp + 0x10]
push esi
call fcn.004039fa
mov edi, 0x100
lea eax, [ebp - 0x224]
push edi
push ebx
push eax
call fcn.00403df0
add esp, 0xc
lea eax, [ebp - 0x224]
push edi
push eax
call fcn.0040150d
push 0x400
lea eax, [ebp - 0x624]
push ebx
push eax
call fcn.00403df0
lea eax, [ebp - 0x624]
push str.__e_
push eax
call fcn.00404350
push dword [ebp + 8]
lea eax, [ebp - 0x624]
push eax
call fcn.00404350
mov edi, 0x40d0b8
lea eax, [ebp - 0x624]
push edi
push eax
call fcn.00404350
lea eax, [ebp - 0x624]
push esi
push eax
call fcn.00404350
lea eax, [ebp - 0x624]
push edi
push eax
call fcn.00404350
add esp, 0x34
lea eax, [ebp - 0x624]
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.004039fa
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebx
push 0x80
push 3
push ebx
push 1
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x402536
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
pop edi
pop esi
pop ebx
leave
ret 0xc