Function at 0x45e720
Capabilities:
Check for time delay via gettickcount
Check if file exists
Copy file
Delete file
Enumerate files on windows
Get file attributes
Move file

Disassembly:
sub esp, 0x484
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
push edi
push 0
lea eax, [esp + 0x1c]
push eax
push 0x104
push ecx
call esi
lea eax, [esp + 0x18]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45e746
sub eax, edx
je 0x45e75e
cmp byte [esp + eax + 0x17], 0x5c
lea eax, [esp + eax + 0x17]
jne 0x45e75e
mov byte [eax], cl
mov eax, dword [esp + 0x498]
push 0
lea edx, [esp + 0x124]
push edx
push 0x104
push eax
call esi
lea eax, [esp + 0x120]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45e781
sub eax, edx
je 0x45e79f
cmp byte [esp + eax + 0x11f], 0x5c
lea eax, [esp + eax + 0x11f]
jne 0x45e79f
mov byte [eax], cl
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea ecx, [esp + 0x18]
push ecx
call esi
cmp eax, 0xffffffff
je 0x45e7d9
test al, 0x10
je 0x45e7d9
lea eax, [esp + 0x18]
dec eax
lea ebx, [ebx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x45e7c0
mov edx, dword [str..]
mov cl, byte [0x4af05c]
mov dword [eax], edx
mov byte [eax + 4], cl
lea edx, [esp + 0x120]
push edx
call esi
cmp eax, 0xffffffff
je 0x45e80d
test al, 0x10
je 0x45e80d
lea eax, [esp + 0x120]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x45e7f4
mov ecx, dword [str..]
mov dl, byte [0x4af05c]
mov dword [eax], ecx
mov byte [eax + 4], dl
lea eax, [esp + 0x248]
push eax
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
jne 0x45e845
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x4a4]
mov dword [edx], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x484
ret
mov eax, dword [esp + 0x4a4]
lea ecx, [esp + 0x18]
push 0x5c
push ecx
mov dword [eax], 0
call fcn.0049349c
lea edx, [esp + 0x128]
push 0x5c
push edx
lea edi, [eax + 1]
call fcn.0049349c
lea ebp, [eax + 1]
push 0x103
lea eax, [esp + 0x39c]
push ebp
lea ebx, [esp + 0x133]
push eax
sub ebx, edi
call fcn.00495b20
add esp, 0x1c
mov byte [esp + 0x48b], 0
xor esi, esi
lea esp, [esp]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x4bca94]
mov ecx, dword [0x4b7a60]
cmp eax, dword [ecx + 0xb8]
jbe 0x45e8eb
push 0
push 0
push 0
push 0
lea edx, [esp + 0x23c]
push edx
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x45e8e0
push 1
push 0xffffffffffffffff
call fcn.00401450
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4bca94], eax
test byte [esp + 0x248], 0x10
jne 0x45e9ea
lea eax, [esp + 0x274]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45e903
sub eax, edx
cmp eax, ebx
jbe 0x45e922
mov eax, dword [esp + 0x4a4]
mov dword [eax], 0x6f
jmp 0x45e9e9
lea eax, [esp + 0x274]
mov edx, edi
mov ecx, eax
sub edx, ecx
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x45e930
lea edx, [esp + 0x274]
push ebp
push edx
lea eax, [esp + 0x390]
call fcn.0045ea20
add esp, 8
cmp byte [esp + 0x4a0], 0
je 0x45e9b6
lea eax, [esp + 0x120]
push eax
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x45e9ea
cmp byte [esp + 0x49c], al
je 0x45e9a5
lea edx, [esp + 0x120]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x45e9a5
lea eax, [esp + 0x120]
push eax
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x45e9ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x4a4]
mov dword [edx], eax
jmp 0x45e9e9
xor eax, eax
cmp byte [esp + 0x49c], al
lea ecx, [esp + 0x120]
sete al
lea edx, [esp + 0x18]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x45e9ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x4a4]
mov dword [ecx], eax
inc esi
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x248]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x45e8a0
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x484
ret