Function at 0x41ff56
Capabilities:
Check if file exists
Move file

Disassembly:
push 0x1c
mov eax, 0x5b4c0d
call fcn.00580e6b
xor edi, edi
inc edi
cmp dword [0x6af38c], edi
mov dword [ebp - 0x20], 0xa
jl 0x41ffc0
push ecx
mov eax, esp
mov dword [ebp - 0x28], esp
push dword [ebp + 8]
push eax
call fcn.00408561
and dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
or dword [ebp - 4], 0xffffffff
call fcn.004040c8
pop ecx
pop ecx
mov dword [ebp - 4], edi
mov esi, eax
call fcn.004084f4
push eax
push str.CLEAN:_Prepare_file_moving__s
push str.Helper::virMoveFile
push edi
call fcn.00532962
add esp, 0x10
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00408461
and dword [ebp - 0x18], 0
and dword [ebp - 0x14], 0
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, 0x677b98
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push eax
call fcn.00408561
mov dword [ebp - 4], 2
cmp dword [ebp - 0x14], 0
jbe 0x420026
lea eax, [ebp - 0x1c]
push eax
call fcn.0040850b
mov byte [ebp - 4], 3
push dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
push 0x6774f8
call fcn.00417833
mov eax, dword [ebp - 0x1c]
pop ecx
pop ecx
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x10]
call fcn.0040ce50
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.004085a2
push dword [ebp - 0x10]
call ebx
test eax, eax
jne 0x420074
push edi
lea eax, [ebp - 0x28]
push eax
call fcn.00408561
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x24]
push ecx
mov esi, eax
call fcn.004136d2
pop ecx
pop ecx
mov byte [ebp - 4], 5
push dword [eax]
call ebx
mov esi, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
call fcn.004085a2
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.004085a2
test esi, esi
je 0x4200b7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004085a2
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x64
jb 0x41ffd3
cmp dword [0x6af38c], 1
jl 0x4200aa
push str.CLEAN:_Processing_file:_file_failed_to_move
push str.Helper::virMoveFile
push 1
call fcn.00532962
add esp, 0xc
cmp dword [ebp - 0x18], 0
setne al
call fcn.00580f43
ret
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 1
push dword [ebp - 0x10]
push dword [ebp + 8]
call ebx
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x42016d
push edi
lea eax, [ebp - 0x14]
push eax
call fcn.00408561
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
mov esi, eax
call fcn.004136d2
pop ecx
pop ecx
mov esi, eax
mov byte [ebp - 4], 7
push edi
lea eax, [ebp - 0x24]
push eax
call fcn.00408561
mov byte [ebp - 4], 8
push dword [ebp + 8]
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.0040fc53
pop ecx
pop ecx
mov byte [ebp - 4], 9
mov esi, dword [esi]
mov eax, dword [eax]
push 1
push esi
push eax
call ebx
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x28]
call fcn.004085a2
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x24]
call fcn.004085a2
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1c]
call fcn.004085a2
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.004085a2
cmp dword [ebp - 0x18], 0
jne 0x42016d
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [ebp - 0x20]
jne 0x4200bd
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004085a2
cmp dword [ebp - 0x18], 0
je 0x42008d
cmp dword [0x6af38c], 1
jl 0x4200aa
push str.CLEAN:_Processing_file:_file_moved_successfully
jmp 0x42009b