Function at 0x47b9f0
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
sub esp, 0x8ac
lea eax, [esp + 0x14]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
push edi
push 0
push eax
push 0x104
push ecx
mov edi, edx
call esi
lea ecx, [esp + 0x20]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47ba20
sub ecx, edx
je 0x47ba36
cmp byte [esp + ecx + 0x1f], 0x5c
jne 0x47ba36
mov byte [esp + ecx + 0x1f], al
push 0
lea eax, [esp + 0x12c]
push eax
push 0x104
push edi
call esi
lea ecx, [esp + 0x128]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47ba52
sub ecx, edx
je 0x47ba6e
cmp byte [esp + ecx + 0x127], 0x5c
jne 0x47ba6e
mov byte [esp + ecx + 0x127], al
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea eax, [esp + 0x20]
push eax
call esi
cmp eax, 0xffffffff
je 0x47baa9
test al, 0x10
je 0x47baa9
lea ecx, [esp + 0x20]
dec ecx
nop dword [eax]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x47ba90
mov eax, dword [0x4ef658]
mov dword [ecx], eax
mov al, byte [0x4ef65c]
mov byte [ecx + 4], al
lea eax, [esp + 0x128]
push eax
call esi
cmp eax, 0xffffffff
je 0x47badd
test al, 0x10
je 0x47badd
lea ecx, [esp + 0x128]
dec ecx
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x47bac4
mov eax, dword [0x4ef658]
mov dword [ecx], eax
mov al, byte [0x4ef65c]
mov byte [ecx + 4], al
lea eax, [esp + 0x460]
push eax
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
jne 0x47bb0d
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 esi, dword [ebp + 0x10]
lea eax, [esp + 0x20]
push 0x5c
push eax
mov dword [esi], 0
call fcn.004c7059
push 0x5c
lea ebx, [eax + 1]
lea eax, [esp + 0x134]
mov dword [esp + 0x28], ebx
push eax
call fcn.004c7059
push 0x103
lea edi, [eax + 1]
lea eax, [esp + 0x137]
mov dword [esp + 0x20], edi
sub eax, ebx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x36c]
push edi
push eax
call fcn.004cc440
mov eax, dword fs:[0x24]
add esp, 0x1c
mov byte [esp + 0x45b], 0
xor ebx, ebx
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x4f898c]
sub eax, dword [0x4fe0dc]
cmp eax, dword [ecx + 0xb8]
jbe 0x47bbce
push 0
push 0
push 0
push 0
lea eax, [esp + 0x244]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x47bbc3
mov eax, dword [esp + 0x14]
cmp dword [0x4fda50], eax
jne 0x47bbc3
mov edx, 1
or ecx, 0xffffffff
call fcn.004018a0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4fe0dc], eax
test byte [esp + 0x460], 0x10
jne 0x47bdb7
lea ecx, [esp + 0x48c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47bbe6
sub ecx, edx
cmp ecx, dword [esp + 0x18]
jbe 0x47bc00
mov dword [esi], 0x6f
jmp 0x47bdb6
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x48c]
mov eax, ecx
sub edx, eax
nop
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x47bc10
lea eax, [esp + 0x358]
push 0x2a
push eax
call fcn.004ca733
add esp, 8
test eax, eax
jne 0x47bc52
lea ecx, [esp + 0x358]
mov edx, edi
mov eax, ecx
sub edx, eax
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x47bc40
jmp 0x47bd46
lea eax, [esp + 0x5a0]
push eax
lea eax, [esp + 0x7b4]
push eax
push 0
lea eax, [esp + 0x498]
push 0
push eax
call fcn.004cdea6
lea eax, [esp + 0x264]
push eax
lea eax, [esp + 0x6c0]
push eax
push 0
lea eax, [esp + 0x378]
push 0
push eax
call fcn.004cdea6
add esp, 0x28
cmp byte [esp + 0x5a0], 0x2e
jne 0x47bcb4
lea ecx, [esp + 0x5a1]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 2], al
test al, al
jne 0x47bca8
cmp byte [esp + 0x250], 0x2e
jne 0x47bcd1
lea ecx, [esp + 0x251]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 2], al
test al, al
jne 0x47bcc5
push edi
lea edx, [esp + 0x6ac]
lea ecx, [esp + 0x7b4]
call fcn.0047bdf0
add esp, 4
cmp byte [esp + 0x5a0], 0
jne 0x47bcfc
cmp byte [esp + 0x250], 0
je 0x47bd46
push 0
push edi
call fcn.004ca733
add esp, 8
mov edi, eax
cmp byte [esp + 0x250], 0
jne 0x47bd1d
mov word [esp + 0x250], 0x2a
lea esi, [edi + 1]
push esi
lea edx, [esp + 0x254]
lea ecx, [esp + 0x5a4]
call fcn.0047bdf0
add esp, 4
cmp byte [esi], 0
mov esi, dword [ebp + 0x10]
je 0x47bd42
mov byte [edi], 0x2e
mov edi, dword [esp + 0xc]
cmp byte [ebp + 0xc], 0
je 0x47bd8f
lea eax, [esp + 0x128]
push eax
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x47bdb7
cmp byte [ebp + 8], al
je 0x47bdae
lea eax, [esp + 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x47bdae
lea eax, [esp + 0x128]
push eax
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
jmp 0x47bdaa
movzx eax, byte [ebp + 8]
xor eax, 1
push eax
lea eax, [esp + 0x12c]
push eax
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x47bdb7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
inc ebx
lea eax, [esp + 0x460]
push eax
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x47bb76
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret