Function at 0x42a100
Capabilities:
Move file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49bea8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x20
push esi
push edi
mov eax, dword [0x4cf06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x14], edx
mov eax, dword [ebx + 8]
add eax, 0x70
mov esi, eax
mov dword [ebp - 0x18], eax
lea ecx, [esi + 2]
nop
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x42a150
sub esi, ecx
xor edi, edi
sar esi, 1
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x2c], edi
lea eax, [esi + 0x414]
test eax, eax
je 0x42a198
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0047d522
mov edx, dword [ebp - 0x14]
mov edi, eax
add esp, 4
mov dword [ebp - 0x2c], edi
xor eax, eax
mov word [edi], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 4], 0
cmp dword [eax + 0x1c], 4
jne 0x42a1ec
mov eax, dword [eax + 0x20]
test eax, eax
je 0x42a1ec
mov dword [ebp - 0x28], 0xffffffff
mov ecx, edi
cmp eax, 3
jne 0x42a1cc
mov edx, str.Verify_src_dst_read_error
call fcn.0041ae30
jmp 0x42a267
cmp eax, 1
jne 0x42a1e0
mov edx, str.Verify_src_read_error
call fcn.0041ae30
jmp 0x42a267
mov edx, str.Verify_dst_read_error
call fcn.0041ae30
jmp 0x42a267
mov ecx, dword [edx + 0x10a4]
cmp ecx, 5
jne 0x42a1fc
lea eax, [ecx + 0xb]
jmp 0x42a248
cmp ecx, 1
jne 0x42a206
lea eax, [ecx + 0x13]
jmp 0x42a248
cmp ecx, 3
jne 0x42a210
lea eax, [ecx + 0x1d]
jmp 0x42a248
cmp ecx, 6
jne 0x42a21a
lea eax, [ecx + 0x3a]
jmp 0x42a248
cmp ecx, 4
jne 0x42a224
lea eax, [ecx + 4]
jmp 0x42a248
cmp ecx, 7
jne 0x42a22e
lea eax, [ecx + 0x19]
jmp 0x42a248
cmp ecx, 8
jne 0x42a238
lea eax, [ecx + 0x38]
jmp 0x42a248
xor eax, eax
mov dword [ebp - 0x20], 0x10
cmp ecx, 2
cmove eax, dword [ebp - 0x20]
push eax
lea eax, [edx + 0x10bc]
mov dword [ebp - 0x28], 0xffffffff
mov edx, dword [ebx + 8]
mov ecx, edi
push eax
lea edx, [edx + 0x28]
call fcn.004181b0
add esp, 8
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x698]
test eax, 0x4000
je 0x42a2a0
mov esi, dword [ebx + 8]
test edi, edi
mov eax, dword [edx + 0x84c]
mov ecx, 0x4c2758
cmovne ecx, edi
add esi, 0x70
push 2
lea eax, [esi + eax*2]
push eax
push ecx
mov ecx, edx
call fcn.00419420
jmp 0x42a5c8
test eax, 0x2000
je 0x42a3d3
mov eax, dword [edx + 0x888]
neg eax
push 0
sbb eax, eax
and eax, 0x2000000
push eax
push 3
push 0
push 3
push 0x40000000
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
test esi, esi
je 0x42a370
cmp esi, 0xffffffff
je 0x42a360
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0xe1d58000
push eax
push eax
push eax
push esi
mov dword [ebp - 0x20], 0x1a8e79f
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
je 0x42a360
test edi, edi
mov ecx, 0x4c2758
cmovne ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42a310
sub ecx, edx
mov edx, str.and_the_timestamp_was_changed_to_1980_01_01
sar ecx, 1
lea ecx, [edi + ecx*2]
call fcn.0041ae30
mov edx, dword [ebp - 0x14]
test edi, edi
mov ecx, 0x4c2758
cmovne ecx, edi
push 2
mov eax, dword [edx + 0x84c]
mov edx, dword [ebx + 8]
add edx, 0x70
lea eax, [edx + eax*2]
push eax
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.00419420
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x42a5c8
test esi, esi
je 0x42a370
cmp esi, 0xffffffff
je 0x42a370
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 0x4c2758
test edi, edi
mov ecx, esi
cmovne ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42a380
sub ecx, edx
mov dword [ebp - 0x28], 0xffffffff
sar ecx, 1
mov edx, str.and_it_was_tried_to_change_the_timstamp__but_it_was_failed._r_n_So_try_to_rename...
lea ecx, [edi + ecx*2]
call fcn.0041ae30
mov edx, dword [ebp - 0x14]
mov ecx, esi
mov esi, dword [ebx + 8]
test edi, edi
push 0
cmovne ecx, edi
add esi, 0x70
mov eax, dword [edx + 0x84c]
lea eax, [esi + eax*2]
push eax
push ecx
mov ecx, edx
call fcn.00419420
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x1c]
mov eax, dword [edx + 0x698]
test eax, 0x1000
je 0x42a4a2
mov edx, dword [edx + 0x790]
mov ecx, dword [ebp - 0x18]
or edx, 0x100
call fcn.00457a80
test eax, eax
je 0x42a448
mov esi, 0x4c2758
test edi, edi
mov ecx, esi
cmovne ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42a405
sub ecx, edx
mov edx, str.and_it_was_deleted
sar ecx, 1
lea ecx, [edi + ecx*2]
call fcn.0041ae30
mov edx, dword [ebp - 0x14]
test edi, edi
mov ecx, dword [ebx + 8]
cmovne esi, edi
add ecx, 0x70
push 2
mov eax, dword [edx + 0x84c]
lea eax, [ecx + eax*2]
mov ecx, edx
push eax
push esi
call fcn.00419420
jmp 0x42a5c8
test edi, edi
mov ecx, 0x4c2758
cmovne ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42a455
sub ecx, edx
mov dword [ebp - 0x28], 0xffffffff
sar ecx, 1
mov edx, str.and_it_was_tried_to_delete__but_it_was_failed._r_n_So_try_to_rename...
lea ecx, [edi + ecx*2]
call fcn.0041ae30
mov edx, dword [ebp - 0x14]
test edi, edi
mov esi, dword [ebx + 8]
mov ecx, 0x4c2758
cmovne ecx, edi
add esi, 0x70
push 0
mov eax, dword [edx + 0x84c]
lea eax, [esi + eax*2]
push eax
push ecx
mov ecx, edx
call fcn.00419420
mov esi, dword [ebp - 0x1c]
lea ecx, [esi + 0x14]
xor eax, eax
mov dword [ebp - 0x1c], eax
test ecx, ecx
je 0x42a4d2
lea eax, [ecx + 1]
mov edx, 2
xor ecx, ecx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0047d522
add esp, 4
mov dword [ebp - 0x1c], eax
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [ebp - 0x18]
mov edx, eax
sub edx, ecx
nop dword [eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x42a4e0
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
movups xmm0, xmmword [0x4b24bc]
push 1
movups xmmword [ecx + esi*2], xmm0
movq xmm0, qword [0x4b24cc]
movq qword [ecx + esi*2 + 0x10], xmm0
mov eax, dword [0x4b24d4]
mov dword [ecx + esi*2 + 0x18], eax
mov ax, word [0x4b24d8]
mov word [ecx + esi*2 + 0x1c], ax
mov esi, 0x4c2758
mov eax, esi
cmovne eax, ecx
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 0x20], eax
mov ecx, esi
test eax, eax
je 0x42a564
test edi, edi
cmovne ecx, edi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42a550
sub ecx, edx
mov edx, str.in_and_it_was_renamed__.fc_verify_err_
jmp 0x42a582
test edi, edi
cmovne ecx, edi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42a570
sub ecx, edx
mov edx, str.and_it_was_tried_to_rename__but_it_was_failed
sar ecx, 1
lea ecx, [edi + ecx*2]
call fcn.0041ae30
mov edx, dword [ebx + 8]
test edi, edi
mov eax, 2
cmovne esi, edi
xor ecx, ecx
cmp dword [ebp - 0x20], ecx
cmovne eax, ecx
mov ecx, dword [ebp - 0x14]
push eax
add edx, 0x70
mov eax, dword [ecx + 0x84c]
lea eax, [edx + eax*2]
push eax
push esi
call fcn.00419420
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x42a5c8
push eax
call fcn.0047d4ed
add esp, 4
test edi, edi
je 0x42a5d5
push edi
call fcn.0047d4ed
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4