Function at 0x42ec20
Capabilities:
Check if file exists
Get number of processors
Move file

Disassembly:
push 0xffffffffffffffff
push 0x5d6740
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6d26f8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, 1
cmp dword [0x6d138c], edi
mov dword [esp + 0x20], 0xa
jl 0x42ecc6
push ecx
mov ecx, dword [esp + 0x44]
mov eax, esp
mov dword [esp + 0x30], esp
push eax
call fcn.0040b8a0
mov dword [esp + 0x3c], 0
lea ecx, [esp + 0x20]
or ebx, 0xffffffff
push ecx
mov dword [esp + 0x40], ebx
call fcn.00405ba0
add esp, 8
mov esi, eax
mov dword [esp + 0x38], edi
mov eax, dword [esi]
sub eax, 0x10
cmp dword [eax + 0xc], edi
jle 0x42eca3
mov edx, dword [eax + 4]
push edx
push esi
call fcn.0040da00
mov esi, dword [esi]
push esi
push str.CLEAN:_Prepare_file_moving__s
push str.Helper::virMoveFile
push edi
call fcn.00552bc2
add esp, 0x10
mov dword [esp + 0x38], ebx
lea ecx, [esp + 0x1c]
call fcn.0040b720
mov dword [esp + 0x18], 0
xor ebp, ebp
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x14]
push eax
call fcn.0040b8a0
mov ebx, 2
mov dword [esp + 0x38], ebx
test ebp, ebp
jbe 0x42ed4c
mov edx, dword [0x6e9718]
mov eax, dword [edx + 0xc]
mov ecx, 0x6e9718
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x38], 4
push ebp
push 0x699500
lea edi, [esp + 0x24]
call fcn.00421d60
mov esi, dword [esp + 0x24]
mov eax, dword [esi - 0xc]
add esp, 8
push eax
push esi
lea ecx, [esp + 0x1c]
push ecx
call fcn.00412100
mov byte [esp + 0x38], bl
lea eax, [esi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42ed4c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ecx
call esi
test eax, eax
jne 0x42ede3
lea edx, [esp + 0x28]
push edx
mov ecx, 0x699ba0
call fcn.0040b8a0
mov byte [esp + 0x38], 6
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push edx
mov ebx, eax
call fcn.0041c9d0
add esp, 8
mov byte [esp + 0x38], 7
mov eax, dword [eax]
push eax
call esi
mov esi, eax
mov byte [esp + 0x38], 6
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42edba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 2
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42eddf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x42ee4e
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ee0b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc ebp
cmp ebp, 0x64
jb 0x42ecd0
cmp dword [0x6d138c], 1
jl 0x42ee32
push str.CLEAN:_Processing_file:_file_failed_to_move
push str.Helper::virMoveFile
push 1
call fcn.00552bc2
add esp, 0xc
cmp dword [esp + 0x18], 0
setne al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x40]
push 1
push ecx
push ebp
call edi
mov esi, eax
mov dword [esp + 0x18], esi
test esi, esi
jne 0x42ef87
lea edx, [esp + 0x2c]
push edx
mov ecx, 0x699ba0
call fcn.0040b8a0
mov byte [esp + 0x38], 0xa
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
mov ebx, eax
call fcn.0041c9d0
add esp, 8
mov esi, eax
mov byte [esp + 0x38], 0xb
lea eax, [esp + 0x24]
push eax
mov ecx, 0x699ba0
call fcn.0040b8a0
mov byte [esp + 0x38], 0xc
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ebx, ebp
call fcn.004176f0
add esp, 8
mov byte [esp + 0x38], 0xd
mov esi, dword [esi]
mov eax, dword [eax]
push 1
push esi
push eax
call edi
mov esi, eax
mov dword [esp + 0x18], esi
mov byte [esp + 0x38], 0xc
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42eefd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 0xb
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ef22
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 0xa
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ef47
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 2
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ef6c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
jne 0x42ef83
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
add dword [esp + 0x20], 1
jne 0x42ee54
mov esi, dword [esp + 0x18]
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42efaf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x42ee15
cmp dword [0x6d138c], 1
jl 0x42ee32
push str.CLEAN:_Processing_file:_file_moved_successfully
jmp 0x42ee23