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

Disassembly:
push 0xffffffffffffffff
push 0x580a00
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6531f0]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov edi, 1
cmp dword [0x65236c], edi
mov dword [esp + 0x24], 0xa
jl 0x429cb6
push ecx
mov ecx, dword [esp + 0x48]
mov eax, esp
mov dword [esp + 0x34], esp
push eax
call fcn.004026a0
mov dword [esp + 0x40], 0
lea ecx, [esp + 0x24]
or ebx, 0xffffffff
push ecx
mov dword [esp + 0x44], ebx
call fcn.004060e0
add esp, 8
mov esi, eax
mov dword [esp + 0x3c], edi
mov eax, dword [esi]
sub eax, 0x10
cmp dword [eax + 0xc], edi
jle 0x429c93
mov edx, dword [eax + 4]
push edx
push esi
call fcn.0040e950
mov esi, dword [esi]
push esi
push str.CLEAN:_Prepare_file_moving__s
push str.Helper::virMoveFile
push edi
call fcn.004fa3c2
add esp, 0x10
mov dword [esp + 0x3c], ebx
lea ecx, [esp + 0x20]
call fcn.0040ca90
xor esi, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], esi
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x14]
push eax
call fcn.004026a0
mov dword [esp + 0x3c], 2
test esi, esi
jbe 0x429d97
mov edx, dword [0x669e38]
mov eax, dword [edx + 0xc]
mov ecx, 0x669e38
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x3c], 4
push esi
push 0x632d5c
lea edi, [esp + 0x24]
call fcn.0042e800
mov ecx, dword [esp + 0x54]
mov ebp, dword [esp + 0x24]
mov esi, dword [ecx]
lea edi, [ebp - 0x10]
sub esi, 0x10
add esp, 8
cmp edi, esi
je 0x429d6a
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x429d5f
mov edx, dword [edi]
cmp edx, dword [esi]
jne 0x429d5f
mov eax, edi
call fcn.00410000
mov dword [esp + 0x28], eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x429d50
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x4c]
add ecx, 0x10
mov dword [edx], ecx
jmp 0x429d6a
mov ebx, dword [ebp - 0xc]
push ebp
mov eax, ecx
call fcn.004028e0
mov eax, dword [ebp - 0xc]
push eax
push ebp
lea eax, [esp + 0x1c]
push eax
call fcn.00411d70
mov byte [esp + 0x3c], 2
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429d97
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call esi
test eax, eax
jne 0x429e2e
lea ecx, [esp + 0x30]
push ecx
mov ecx, 0x632fb8
call fcn.004026a0
mov byte [esp + 0x3c], 6
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x30]
push ecx
mov ebx, eax
call fcn.0042b2a0
add esp, 8
mov byte [esp + 0x3c], 7
mov eax, dword [eax]
push eax
call esi
mov esi, eax
mov byte [esp + 0x3c], 6
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x429e05
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x3c], 2
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429e2a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x429ea1
mov dword [esp + 0x3c], 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 0x429e56
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x20]
inc esi
mov dword [esp + 0x20], esi
cmp esi, 0x64
jb 0x429cc0
cmp dword [0x65236c], 1
jl 0x429e85
push str.CLEAN:_Processing_file:_file_failed_to_move
push str.Helper::virMoveFile
push 1
call fcn.004fa3c2
add esp, 0xc
cmp dword [esp + 0x18], 0
setne al
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
mov ebp, dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x429eb0
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x44]
push 1
push ecx
push edi
call ebp
mov esi, eax
mov dword [esp + 0x18], esi
test esi, esi
jne 0x429fe3
lea edx, [esp + 0x20]
push edx
mov ecx, 0x632fb8
call fcn.004026a0
mov byte [esp + 0x3c], 0xa
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x2c]
push edx
mov ebx, eax
call fcn.0042b2a0
add esp, 8
mov esi, eax
mov byte [esp + 0x3c], 0xb
lea eax, [esp + 0x2c]
push eax
mov ecx, 0x632fb8
call fcn.004026a0
mov byte [esp + 0x3c], 0xc
push eax
lea ecx, [esp + 0x34]
push ecx
mov ebx, edi
call fcn.0042b340
add esp, 8
mov byte [esp + 0x3c], 0xd
mov esi, dword [esi]
mov eax, dword [eax]
push 1
push esi
push eax
call ebp
mov esi, eax
mov dword [esp + 0x18], esi
mov byte [esp + 0x3c], 0xc
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x429f59
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x3c], 0xb
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 0x429f7e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x3c], 0xa
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 0x429fa3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x3c], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429fc8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
jne 0x429fdf
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
add dword [esp + 0x24], 1
jne 0x429eb0
mov esi, dword [esp + 0x18]
mov dword [esp + 0x3c], 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 0x42a00b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x429e68
cmp dword [0x65236c], 1
jl 0x429e85
push str.CLEAN:_Processing_file:_file_moved_successfully
jmp 0x429e76