Function at 0x44f1b0
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, 0x9a4
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
push edi
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x34]
push ecx
push 0x104
push edx
call esi
lea eax, [esp + 0x30]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44f1e0
sub eax, edx
je 0x44f1f8
cmp byte [esp + eax + 0x2f], 0x5c
lea eax, [esp + eax + 0x2f]
jne 0x44f1f8
mov byte [eax], cl
mov edx, dword [esp + 0x9b8]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x13c]
push ecx
push 0x104
push edx
call esi
lea eax, [esp + 0x138]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44f220
sub eax, edx
je 0x44f23e
cmp byte [esp + eax + 0x137], 0x5c
lea eax, [esp + eax + 0x137]
jne 0x44f23e
mov byte [eax], cl
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea eax, [esp + 0x30]
push eax
call esi
cmp eax, 0xffffffff
je 0x44f279
test al, 0x10
je 0x44f279
lea eax, [esp + 0x30]
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x44f260
mov ecx, dword [str..]
mov dl, byte [0x498150]
mov dword [eax], ecx
mov byte [eax + 4], dl
lea eax, [esp + 0x138]
push eax
call esi
cmp eax, 0xffffffff
je 0x44f2ad
test al, 0x10
je 0x44f2ad
lea eax, [esp + 0x138]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x44f294
mov ecx, dword [str..]
mov dl, byte [0x498150]
mov dword [eax], ecx
mov byte [eax + 4], dl
lea eax, [esp + 0x240]
push eax
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
jne 0x44f2e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x9c4]
mov dword [edx], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x9a4
ret
mov eax, dword [esp + 0x9c4]
lea ecx, [esp + 0x7a0]
push ecx
lea edx, [esp + 0x8ac]
push edx
mov dword [eax], 0
lea eax, [esp + 0x6a0]
push eax
lea ecx, [esp + 0x59c]
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.00481bb0
lea eax, [esp + 0x6ac]
push eax
lea ecx, [esp + 0x5a8]
push ecx
push str._s_s
mov esi, 0x105
lea edi, [esp + 0x3a0]
call fcn.0046c720
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, 0x104
add esp, 0x20
sub edi, eax
lea ebx, [esp + eax + 0x380]
xor esi, esi
jmp 0x44f360
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x4a5274]
mov edx, dword [0x49f440]
cmp eax, dword [edx + 0xb4]
jbe 0x44f3a8
push 0
push 0
push 0
push 0
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x44f39d
push 1
push 0xffffffffffffffff
call fcn.004012a0
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4a5274], eax
test byte [esp + 0x240], 0x10
jne 0x44f4b1
lea eax, [esp + 0x26c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44f3c0
sub eax, edx
cmp eax, edi
jbe 0x44f3df
mov ecx, dword [esp + 0x9c4]
mov dword [ecx], 0x6f
jmp 0x44f4b0
lea eax, [esp + 0x26c]
mov edx, ebx
mov ecx, eax
sub edx, ecx
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x44f3f0
lea edx, [esp + 0x26c]
push edx
lea eax, [esp + 0x48c]
lea ecx, [esp + 0x13c]
call fcn.0044f4f0
add esp, 4
cmp byte [esp + 0x9c0], 0
je 0x44f47e
lea eax, [esp + 0x488]
push eax
lea ecx, [esp + 0x384]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x44f4b1
cmp byte [esp + 0x9bc], al
je 0x44f471
lea edx, [esp + 0x488]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x44f471
lea eax, [esp + 0x488]
push eax
lea ecx, [esp + 0x384]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x44f4b1
call ebp
mov edx, dword [esp + 0x9c4]
mov dword [edx], eax
jmp 0x44f4b0
xor eax, eax
cmp byte [esp + 0x9bc], al
lea ecx, [esp + 0x488]
sete al
lea edx, [esp + 0x380]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x44f4b1
call ebp
mov ecx, dword [esp + 0x9c4]
mov dword [ecx], eax
inc esi
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x240]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x44f360
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, 0x9a4
ret