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

Disassembly:
push 0x1c
mov eax, 0x5bb7a8
call fcn.0058705b
xor edi, edi
inc edi
cmp dword [0x6c438c], edi
mov dword [ebp - 0x1c], 0xa
jl 0x41fbe3
push ecx
mov eax, esp
mov dword [ebp - 0x24], esp
push dword [ebp + 8]
push eax
call fcn.00408518
and dword [ebp - 4], 0
lea eax, [ebp - 0x18]
push eax
or dword [ebp - 4], 0xffffffff
call fcn.004040c8
pop ecx
pop ecx
mov dword [ebp - 4], edi
mov esi, eax
call fcn.004084ab
push eax
push str.CLEAN:_Prepare_file_moving__s
push 0x689348
push edi
call fcn.00538922
add esp, 0x10
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00408418
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ebx, ebx
mov dword [ebp - 0x14], ebx
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push eax
call fcn.00408518
mov dword [ebp - 4], 2
cmp dword [ebp - 0x14], 0
jbe 0x41fc41
lea eax, [ebp - 0x18]
push eax
call fcn.004084c2
mov byte [ebp - 4], 3
push dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push 0x68935c
call fcn.00417a4d
mov eax, dword [ebp - 0x18]
pop ecx
pop ecx
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x10]
call fcn.0040cf35
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.00408559
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x41fc93
push 0x689364
lea eax, [ebp - 0x24]
push eax
call fcn.00408518
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x20]
push ecx
mov esi, eax
call fcn.00413865
pop ecx
pop ecx
mov byte [ebp - 4], 5
push dword [eax]
call edi
mov esi, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
call fcn.00408559
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.00408559
test esi, esi
je 0x41fcd4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00408559
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x64
jb 0x41fbee
cmp dword [0x6c438c], 1
jl 0x41fcc9
push str.CLEAN:_Processing_file:_file_failed_to_move
push str.Helper::virMoveFile
push 1
call fcn.00538922
add esp, 0xc
test ebx, ebx
setne al
call fcn.00587133
ret
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 1
push dword [ebp - 0x10]
push dword [ebp + 8]
call edi
mov ebx, eax
test ebx, ebx
jne 0x41fd8e
push 0x689370
lea eax, [ebp - 0x14]
push eax
call fcn.00408518
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x18]
push ecx
mov esi, eax
call fcn.00413865
pop ecx
pop ecx
mov esi, eax
mov byte [ebp - 4], 7
push 0x68937c
lea eax, [ebp - 0x20]
push eax
call fcn.00408518
mov byte [ebp - 4], 8
push dword [ebp + 8]
lea ecx, [ebp - 0x24]
push ecx
mov ecx, eax
call fcn.0040fcd8
pop ecx
pop ecx
mov byte [ebp - 4], 9
mov esi, dword [esi]
mov eax, dword [eax]
push 1
push esi
push eax
call edi
mov ebx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x24]
call fcn.00408559
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x20]
call fcn.00408559
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x18]
call fcn.00408559
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00408559
test ebx, ebx
jne 0x41fd8e
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [ebp - 0x1c]
jne 0x41fcda
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00408559
test ebx, ebx
je 0x41fcac
cmp dword [0x6c438c], 1
jl 0x41fcc9
push str.CLEAN:_Processing_file:_file_moved_successfully
push 0x6893b8
jmp 0x41fcbf