Function at 0x45eea0
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:
mov eax, 0x2047c
call fcn.004a7dd0
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
push edi
push 0
lea eax, [esp + 0x48c]
push eax
push 0x8000
push ecx
call esi
lea eax, [esp + 0x488]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45eed0
sub eax, edx
sar eax, 1
je 0x45eef8
cmp word [esp + eax*2 + 0x486], 0x5c
lea eax, [esp + eax*2 + 0x486]
jne 0x45eef8
xor edx, edx
mov word [eax], dx
mov ecx, dword [esp + 0x20490]
push 0
lea eax, [esp + 0x1048c]
push eax
push 0x8000
push ecx
call esi
lea eax, [esp + 0x10488]
lea edx, [eax + 2]
jmp 0x45ef20
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45ef20
sub eax, edx
sar eax, 1
je 0x45ef48
cmp word [esp + eax*2 + 0x10486], 0x5c
lea eax, [esp + eax*2 + 0x10486]
jne 0x45ef48
xor edx, edx
mov word [eax], dx
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea eax, [esp + 0x488]
push eax
call esi
cmp eax, 0xffffffff
je 0x45ef98
test al, 0x10
je 0x45ef98
lea eax, [esp + 0x488]
add eax, 0xfffffffe
jmp 0x45ef70
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x45ef70
mov ecx, dword [0x4bc928]
mov edx, dword [0x4bc92c]
mov dword [eax], ecx
mov cx, word [0x4bc930]
mov dword [eax + 4], edx
mov word [eax + 8], cx
lea edx, [esp + 0x10488]
push edx
call esi
cmp eax, 0xffffffff
je 0x45efdd
test al, 0x10
je 0x45efdd
lea eax, [esp + 0x10488]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x45efb5
mov ecx, dword [0x4bc928]
mov edx, dword [0x4bc92c]
mov dword [eax], ecx
mov cx, word [0x4bc930]
mov dword [eax + 4], edx
mov word [eax + 8], cx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x48c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
jne 0x45f015
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x2049c]
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2047c
ret
mov edx, dword [esp + 0x2049c]
lea eax, [esp + 0x488]
push 0x5c
push eax
mov dword [edx], 0
call fcn.0049a802
lea ecx, [esp + 0x10490]
push 0x5c
push ecx
mov edi, eax
call fcn.0049a802
lea ebp, [eax + 2]
lea eax, [esp + 0x498]
lea edx, [edi + 2]
push 0x103
sub edx, eax
lea ecx, [esp + 0x294]
sar edx, 1
push ebp
mov ebx, 0x7fff
push ecx
sub ebx, edx
call fcn.0049d054
xor edx, edx
add esp, 0x1c
mov word [esp + 0x486], dx
xor esi, esi
lea esp, [esp]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x4db234]
mov ecx, dword [0x4d5b14]
cmp eax, dword [ecx + 0xd8]
jbe 0x45f0c8
push 0
push 0
push 0
push 0
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x45f0bd
push 1
push 0xffffffffffffffff
call fcn.004014c0
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4db234], eax
test byte [esp + 0x30], 0x10
jne 0x45f1d6
lea eax, [esp + 0x5c]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45f0e0
sub eax, edx
sar eax, 1
cmp eax, ebx
jbe 0x45f105
mov eax, dword [esp + 0x2049c]
mov dword [eax], 0x6f
jmp 0x45f1d5
lea eax, [esp + 0x5c]
lea edx, [edi + 2]
mov ecx, eax
sub edx, ecx
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x45f110
lea edx, [esp + 0x5c]
push edx
mov eax, ebp
lea ecx, [esp + 0x284]
call fcn.0045f210
add esp, 4
cmp byte [esp + 0x20498], 0
je 0x45f19f
lea eax, [esp + 0x10488]
push eax
lea ecx, [esp + 0x48c]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x45f1d6
cmp byte [esp + 0x20494], al
je 0x45f18e
lea edx, [esp + 0x10488]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x45f18e
lea eax, [esp + 0x10488]
push eax
lea ecx, [esp + 0x48c]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x45f1d6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x2049c]
mov dword [edx], eax
jmp 0x45f1d5
xor eax, eax
cmp byte [esp + 0x20494], al
lea ecx, [esp + 0x10488]
sete al
lea edx, [esp + 0x488]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x45f1d6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x2049c]
mov dword [ecx], eax
inc esi
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x30]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x45f080
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x2047c
ret