Function at 0x140020740
Capabilities:
Copy file
Delete file
Get common file path
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov qword [rsp + 0x18], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x420]
sub rsp, 0x520
mov rax, qword [0x14009d2d0]
xor rax, rsp
mov qword [rbp + 0x410], rax
xor r15b, r15b
xor r12d, r12d
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x40], 7
mov word [rbp - 0x58], r12w
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], r12w
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x20], 7
mov word [rbp - 0x38], r12w
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x10]
call fcn.1400464e0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x200]
call fcn.1400464e0
mov dword [rbp - 0x80], 1
mov dword [rbp - 0x7c], 0x208
mov dword [rsp + 0x60], r12d
mov dword [rsp + 0x7c], r12d
mov dword [rsp + 0x68], r12d
mov dword [rsp + 0x78], r12d
mov dword [rsp + 0x74], r12d
mov dword [rsp + 0x70], r12d
mov dword [rsp + 0x30], r12d
lea rax, [rbp - 0x7c]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x80]
lea r8, str.szInstallPath
lea rdx, str.SOFTWAREMcAfeeAVSolutionInstall_Reference
mov rcx, 0xffffffff80000002
call fcn.140003d20
mov dword [rsp + 0x50], eax
test eax, eax
jne 0x1400210e1
cmp dword [rbp - 0x80], 1
jne 0x1400210e1
lea rax, [rbp - 0x10]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp word [rax + r8*2], 0
jne 0x140020863
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x58]
call fcn.14000ea70
mov r8d, 0x13
lea rdx, str.mcshieldclient.dll
lea rcx, [rbp - 0x58]
call fcn.14000e9d0
lea rcx, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rcx, qword [rbp - 0x58]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x7c]
lea rdx, [rsp + 0x60]
call fcn.140020470
cmp dword [rsp + 0x60], 1
jbe 0x14002091a
mov ecx, 1
call fcn.14002bb50
test eax, eax
je 0x140021124
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, str.Installed_mcshieldclient.dll_is__u._u._u._u__skip_sync
mov qword [rsp + 0x20], rax
mov r9d, 0x6f
call fcn.140021680
jmp 0x140021124
mov edx, 0x5c
lea rcx, [rbp - 0x10]
call fcn.140045b04
mov rdi, rax
test rax, rax
jne 0x140020988
lea edx, [rax + 0x2f]
lea rcx, [rbp - 0x10]
call fcn.140045b04
mov rdi, rax
test rax, rax
jne 0x140020988
lea ecx, [rax + 5]
call fcn.14002bb50
test eax, eax
je 0x140021124
lea rax, [rbp - 0x10]
mov qword [rsp + 0x28], rax
lea rax, str.AMCore_installed_foler_looks_wrong:__s__skip_sync
mov qword [rsp + 0x20], rax
lea r9d, [rdi + 0x7c]
lea r8, str.mcshieldclienthotfix::SyncMcShieldClient
lea rdx, str.E:BTc1fd866d_3751_4c72_a231_f6b223727ef9_vscore_srcMcAPExemcshieldclienthotfix.h
lea ecx, [rdi + 5]
call fcn.1400083a0
jmp 0x140021124
movzx r14d, word [rdi]
mov word [rdi], r12w
lea rax, [rbp - 0x10]
mov r8, rbx
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400209a0
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x38]
call fcn.14000ea70
mov r8d, 0x1a
lea rdx, str.Caspermcshieldclient.dll
lea rcx, [rbp - 0x38]
call fcn.14000e9d0
mov word [rdi], r14w
lea rcx, [rbp - 0x38]
cmp qword [rbp - 0x20], 8
cmovae rcx, qword [rbp - 0x38]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x74]
lea rdx, [rsp + 0x78]
call fcn.140020470
mov eax, dword [rsp + 0x78]
cmp eax, dword [rsp + 0x60]
ja 0x140020a82
jne 0x140020a2c
mov eax, dword [rsp + 0x74]
cmp eax, dword [rsp + 0x7c]
ja 0x140020a82
jne 0x140020a2c
mov eax, dword [rsp + 0x58]
cmp eax, dword [rsp + 0x50]
ja 0x140020a82
jne 0x140020a2c
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x70], eax
ja 0x140020a82
mov ecx, 1
call fcn.14002bb50
test eax, eax
je 0x140021124
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x74]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, str.Backup_mcshieldclient.dll_is__u._u._u._u__skip_sync
mov qword [rsp + 0x20], rax
mov r9d, 0xd3
call fcn.140021680
jmp 0x140021124
mov ecx, 1
call fcn.14002bb50
test eax, eax
je 0x140020acf
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x74]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, str.Backup_mcshieldclient.dll_is__u._u._u._u__synching...
mov qword [rsp + 0x20], rax
mov r9d, 0x8c
call fcn.140021680
lea rax, [rbp - 0x10]
mov r8, rbx
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140020ae0
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x78]
call fcn.14000ea70
mov r8d, 0x17
lea rdx, str.mcshieldclient.dll.syn
lea rcx, [rbp - 0x78]
call fcn.14000e9d0
lea r9, [rbp + 0x200]
xor r8d, r8d
lea rdx, [0x14008e1a0]
lea rcx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x140020b62
lea rcx, [rbp + 0x200]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x140020b62
lea rax, [rbp + 0x200]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140020b45
mov r8, rbx
lea rdx, [rbp + 0x200]
lea rcx, [rbp - 0x78]
call fcn.14000ea70
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rdx, qword [rbp - 0x78]
lea rcx, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rcx, qword [rbp - 0x58]
mov r8d, 8
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x140020c00
mov ecx, 1
call fcn.14002bb50
test eax, eax
je 0x140020bfb
lea rax, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rax, qword [rbp - 0x78]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rax, qword [rbp - 0x58]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, str.rename__s_to__s_succeeded
mov qword [rsp + 0x20], rax
mov r9d, 0x9c
lea r8, str.mcshieldclienthotfix::SyncMcShieldClient
lea rdx, str.E:BTc1fd866d_3751_4c72_a231_f6b223727ef9_vscore_srcMcAPExemcshieldclienthotfix.h
call fcn.1400093c0
mov r15b, 1
jmp 0x140020c78
mov ecx, 5
call fcn.14002bb50
test eax, eax
je 0x140020c78
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x50], eax
lea rax, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rax, qword [rbp - 0x78]
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rax, qword [rbp - 0x58]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, str.rename___s_to__s_failed._error___d
mov qword [rsp + 0x20], rax
mov ecx, 5
mov r9d, 0xa1
call fcn.140021700
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rdx, qword [rbp - 0x58]
lea rcx, [rbp - 0x38]
cmp qword [rbp - 0x20], 8
cmovae rcx, qword [rbp - 0x38]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x140020d17
mov ecx, 1
call fcn.14002bb50
test eax, eax
je 0x140020fe7
lea rax, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rax, qword [rbp - 0x58]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x38]
cmp qword [rbp - 0x20], 8
cmovae rax, qword [rbp - 0x38]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, str.sync_successfuly_from__s_to__s
mov qword [rsp + 0x20], rax
mov r9d, 0xa7
lea r8, str.mcshieldclienthotfix::SyncMcShieldClient
lea rdx, str.E:BTc1fd866d_3751_4c72_a231_f6b223727ef9_vscore_srcMcAPExemcshieldclienthotfix.h
call fcn.1400093c0
jmp 0x140020fe7
mov ecx, 5
call fcn.14002bb50
test eax, eax
je 0x140020d8f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x50], eax
lea rax, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rax, qword [rbp - 0x58]
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x38]
cmp qword [rbp - 0x20], 8
cmovae rax, qword [rbp - 0x38]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, str.sync_failed_from__s_to__s__error___d
mov qword [rsp + 0x20], rax
mov ecx, 5
mov r9d, 0xab
call fcn.140021700
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rdx, qword [rbp - 0x78]
lea rcx, [rbp - 0x38]
cmp qword [rbp - 0x20], 8
cmovae rcx, qword [rbp - 0x38]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x140020f6f
mov ecx, 1
call fcn.14002bb50
test eax, eax
je 0x140020e29
lea rax, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rax, qword [rbp - 0x78]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x38]
cmp qword [rbp - 0x20], 8
cmovae rax, qword [rbp - 0x38]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, str.copy__s_to__s_succeeded
mov qword [rsp + 0x20], rax
mov r9d, 0xaf
lea r8, str.mcshieldclienthotfix::SyncMcShieldClient
lea rdx, str.E:BTc1fd866d_3751_4c72_a231_f6b223727ef9_vscore_srcMcAPExemcshieldclienthotfix.h
call fcn.1400093c0
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rdx, qword [rbp - 0x58]
lea rcx, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rcx, qword [rbp - 0x78]
mov r8d, 9
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, 1
test eax, eax
jne 0x140020efe
call fcn.14002bb50
test eax, eax
je 0x140020ed1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x50], eax
lea rax, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rax, qword [rbp - 0x58]
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rax, qword [rbp - 0x78]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, str.Rename__s_to__s_failed__error___d___put_it_to_delay_reboot
mov qword [rsp + 0x20], rax
mov ecx, 1
mov r9d, 0xb4
call fcn.140021700
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rdx, qword [rbp - 0x58]
lea rcx, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rcx, qword [rbp - 0x78]
mov r8d, 5
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x140021124
call fcn.14002bb50
test eax, eax
je 0x140021124
lea rax, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rax, qword [rbp - 0x58]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rax, qword [rbp - 0x78]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, str.Rename__s_to__s_succeeded
mov qword [rsp + 0x20], rax
mov r9d, 0xb9
lea r8, str.mcshieldclienthotfix::SyncMcShieldClient
lea rdx, str.E:BTc1fd866d_3751_4c72_a231_f6b223727ef9_vscore_srcMcAPExemcshieldclienthotfix.h
call fcn.1400093c0
jmp 0x140021124
mov ecx, 5
call fcn.14002bb50
test eax, eax
je 0x140020fe7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x50], eax
lea rax, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rax, qword [rbp - 0x78]
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x38]
cmp qword [rbp - 0x20], 8
cmovae rax, qword [rbp - 0x38]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, str.copy__s_to__s_failed__error___d
mov qword [rsp + 0x20], rax
mov ecx, 5
mov r9d, 0xbe
call fcn.140021700
test r15b, r15b
je 0x140021124
lea rcx, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, 1
test eax, eax
je 0x140021061
call fcn.14002bb50
test eax, eax
je 0x140021124
lea rax, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rax, qword [rbp - 0x78]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, str.Delete__s_succeeded.
mov qword [rsp + 0x20], rax
mov r9d, 0xc8
lea r8, str.mcshieldclienthotfix::SyncMcShieldClient
lea rdx, str.E:BTc1fd866d_3751_4c72_a231_f6b223727ef9_vscore_srcMcAPExemcshieldclienthotfix.h
call fcn.140008340
jmp 0x140021124
call fcn.14002bb50
test eax, eax
je 0x1400210c5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x50], eax
lea rax, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rax, qword [rbp - 0x78]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, str.Delete__s_failed__error___d__delete_it_on_reboot
mov qword [rsp + 0x20], rax
mov r9d, 0xcc
lea r8, str.mcshieldclienthotfix::SyncMcShieldClient
lea rdx, str.E:BTc1fd866d_3751_4c72_a231_f6b223727ef9_vscore_srcMcAPExemcshieldclienthotfix.h
mov ecx, 1
call fcn.140008410
lea rcx, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rcx, qword [rbp - 0x78]
xor edx, edx
lea r8d, [rdx + 5]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x140021124
mov ecx, 5
call fcn.14002bb50
test eax, eax
je 0x140021124
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, str.Reading_AMCore_installed_foler_faied__error___d__skip_sync
mov qword [rsp + 0x20], rax
mov r9d, 0xd9
lea r8, str.mcshieldclienthotfix::SyncMcShieldClient
lea rdx, str.E:BTc1fd866d_3751_4c72_a231_f6b223727ef9_vscore_srcMcAPExemcshieldclienthotfix.h
mov ecx, 5
call fcn.140001f30
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 8
jb 0x140021164
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002115f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140021234
call fcn.140043780
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x20], 7
mov word [rbp - 0x38], r12w
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x1400211b5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400211b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002123a
call fcn.140043780
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], r12w
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x140021202
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400211fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002122e
call fcn.140043780
mov rcx, qword [rbp + 0x410]
xor rcx, rsp
call fcn.140043760
lea r11, [rsp + 0x520]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov r12, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.14004fbe0
nop
call fcn.14004fbe0
nop
call fcn.14004fbe0
int3