Function at 0x453070
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:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x12f4
call fcn.004a4980
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
lea eax, [esp + 8]
push edi
push eax
lea eax, [esp + 0x34]
mov edi, edx
push eax
push 0x104
push ecx
call esi
lea ecx, [esp + 0x30]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4530a4
sub ecx, edx
sar ecx, 1
je 0x4530c4
cmp word [esp + ecx*2 + 0x2e], 0x5c
jne 0x4530c4
xor eax, eax
mov word [esp + ecx*2 + 0x2e], ax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x244]
push eax
push 0x104
push edi
call esi
lea ecx, [esp + 0x240]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4530e3
sub ecx, edx
sar ecx, 1
je 0x453109
cmp word [esp + ecx*2 + 0x23e], 0x5c
jne 0x453109
xor eax, eax
mov word [esp + ecx*2 + 0x23e], ax
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea eax, [esp + 0x30]
push eax
call esi
cmp eax, 0xffffffff
je 0x45314b
test al, 0x10
je 0x45314b
lea ecx, [esp + 0x30]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x453126
mov eax, dword [str..]
mov dword [ecx], eax
mov eax, dword [0x4c77ac]
mov dword [ecx + 4], eax
mov ax, word [0x4c77b0]
mov word [ecx + 8], ax
lea eax, [esp + 0x240]
push eax
call esi
cmp eax, 0xffffffff
je 0x453195
test al, 0x10
je 0x453195
lea ecx, [esp + 0x240]
add ecx, 0xfffffffe
nop dword [eax + eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x453170
mov eax, dword [str..]
mov dword [ecx], eax
mov eax, dword [0x4c77ac]
mov dword [ecx + 4], eax
mov ax, word [0x4c77b0]
mov word [ecx + 8], ax
lea eax, [esp + 0x450]
push eax
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4531c3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0x10]
lea eax, [esp + 0xee0]
push eax
lea eax, [esp + 0x10f4]
push eax
lea eax, [esp + 0xac8]
mov dword [edi], 0
push eax
lea eax, [esp + 0xcdc]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.00497c52
add esp, 0x14
lea eax, [esp + 0xac0]
push eax
lea eax, [esp + 0xcd4]
push eax
push 0x4c1b40
lea eax, [esp + 0x8bc]
push 0x105
push eax
call fcn.00472ce0
lea ecx, [esp + 0x8c4]
add esp, 0x14
lea ecx, [ecx + eax*2]
mov dword [esp + 0xc], ecx
mov ecx, 0x104
sub ecx, eax
xor esi, esi
mov dword [esp + 0x10], ecx
nop
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x4ce8c8]
sub eax, dword [0x4d49c4]
cmp eax, dword [ecx + 0xd8]
jbe 0x453289
push 0
push 0
push 0
push 0
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x45327e
mov edx, 1
or ecx, 0xffffffff
call fcn.00401e60
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4d49c4], eax
test byte [esp + 0x450], 0x10
jne 0x453378
lea ecx, [esp + 0x47c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4532a1
sub ecx, edx
sar ecx, 1
cmp ecx, dword [esp + 0x10]
jbe 0x4532c1
mov dword [edi], 0x6f
jmp 0x453377
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x47c]
mov ecx, eax
sub edx, ecx
movzx ecx, word [eax]
lea eax, [eax + 2]
mov word [edx + eax - 2], cx
test cx, cx
jne 0x4532d0
lea eax, [esp + 0x6a0]
push eax
lea edx, [esp + 0x244]
lea ecx, [esp + 0x480]
call fcn.004533a0
add esp, 4
cmp byte [ebp + 0xc], 0
je 0x45334d
lea eax, [esp + 0x6a0]
push eax
lea eax, [esp + 0x8b4]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x453378
cmp byte [ebp + 8], al
je 0x45336f
lea eax, [esp + 0x6a0]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x45336f
lea eax, [esp + 0x6a0]
push eax
lea eax, [esp + 0x8b4]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x45336b
movzx eax, byte [ebp + 8]
xor eax, 1
push eax
lea eax, [esp + 0x6a4]
push eax
lea eax, [esp + 0x8b8]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x453378
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
inc esi
lea eax, [esp + 0x450]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x453240
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret