Function at 0x14013e6b0
Capabilities:
Copy file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x140412700]
xor rax, rsp
mov qword [rbp + 0x178], rax
mov rsi, rdx
xor edi, edi
lea r14d, [rdi + 1]
test cl, cl
je 0x14013e6fd
call fcn.1401416c4
lea rdx, [0x140449d90]
jmp 0x14013e709
call fcn.1401416c4
lea rdx, [0x140449db0]
mov rcx, rax
call fcn.140172b98
test al, al
je 0x14013ed63
xor edx, edx
mov rcx, rsi
call fcn.14017a350
cmp eax, r14d
jne 0x14013ed63
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
mov qword [rbp + 0xb0], rdi
mov qword [rbp + 0xb8], rdi
mov qword [rbp + 0xb0], rdi
mov r15d, 7
mov qword [rbp + 0xb8], r15
mov word [rbp + 0xa0], di
movups xmmword [rbp + 0x110], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x120], xmm1
movdqa xmm0, xmmword [0x1403a9d70]
movdqu xmmword [rbp + 0x120], xmm0
mov word [rbp + 0x110], di
xorps xmm0, xmm0
movups xmmword [rbp + 0xf0], xmm0
mov qword [rbp + 0x100], rdi
mov qword [rbp + 0x108], rdi
mov qword [rbp + 0x100], rdi
mov qword [rbp + 0x108], r15
mov word [rbp + 0xf0], di
movups xmmword [rbp + 0xc8], xmm0
mov qword [rbp + 0xd8], rdi
mov qword [rbp + 0xe0], rdi
mov qword [rbp + 0xd8], rdi
mov qword [rbp + 0xe0], r15
mov word [rbp + 0xc8], di
mov r8b, r14b
mov rdx, rsi
lea rcx, [rbp + 0x130]
call fcn.14017a8e4
nop
lea r9, [rbp + 0xc8]
lea r8, [rbp + 0xf0]
lea rdx, [rbp + 0x110]
mov rcx, rax
call fcn.14017bb78
nop
lea rcx, [rbp + 0x130]
call fcn.14000dd24
call fcn.1401416c4
lea rdx, [0x140449dd0]
mov rcx, rax
call fcn.140172b80
lea r12d, [r15 + 0x19]
test eax, eax
jne 0x14013e876
lea rcx, [rbp + 0xa0]
call fcn.14000dd24
mov r8d, r12d
lea rdx, [rbp + 0x110]
lea rcx, [rbp + 0xa0]
call fcn.1402bec40
movdqa xmm0, xmmword [0x1403a9d70]
movdqu xmmword [rbp + 0x120], xmm0
mov word [rbp + 0x110], di
jmp 0x14013e95c
call fcn.1401416c4
lea rdx, [0x140449dd0]
mov rcx, rax
call fcn.140172b80
cmp eax, r14d
jne 0x14013e95c
call fcn.1401416c4
lea rdx, [0x140449df0]
mov rcx, rax
call fcn.140172b68
mov rdx, rax
lea rcx, [rbp + 0xa0]
call fcn.1400455e0
cmp qword [rbp + 0xb0], rdi
jne 0x14013e8fa
lea rcx, [rbp + 0xa0]
call fcn.14000dd24
mov r8, r12
lea rdx, [rbp + 0x110]
lea rcx, [rbp + 0xa0]
call fcn.1402bec40
movdqa xmm0, xmmword [0x1403a9d70]
movdqu xmmword [rbp + 0x120], xmm0
mov word [rbp + 0x110], di
jmp 0x14013e950
mov r8b, r14b
lea rdx, [rbp + 0xa0]
lea rcx, [rsp + 0x40]
call fcn.14017a8e4
mov rbx, rax
lea rax, [rbp + 0xa0]
cmp rax, rbx
je 0x14013e946
lea rcx, [rbp + 0xa0]
call fcn.14000dd24
mov r8, r12
mov rdx, rbx
lea rcx, [rbp + 0xa0]
call fcn.1402bec40
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], r15
mov word [rbx], di
lea rcx, [rsp + 0x40]
call fcn.14000dd24
lea rcx, [rbp + 0xa0]
call fcn.14017aec8
call fcn.1401416c4
lea rdx, [0x140449e10]
mov rcx, rax
call fcn.140172b98
test al, al
je 0x14013e9ac
cmp qword [rbp + 0xd8], rdi
jbe 0x14013e993
mov r8, r14
lea rdx, [0x14039bb44]
lea rcx, [rbp + 0xc8]
call fcn.140011a6c
mov r8d, 3
lea rdx, [0x140346828]
lea rcx, [rbp + 0xc8]
call fcn.140011a6c
call fcn.1401416c4
lea rdx, [0x140449e30]
mov rcx, rax
call fcn.140172b98
test al, al
je 0x14013eacd
mov qword [rbp + 0xe8], rdi
lea rcx, [rbp + 0xe8]
call fcn.140293370
lea rdx, [rbp + 0xe8]
lea rcx, [rbp + 0x150]
call fcn.1402a3b58
mov qword [rbp + 0xc0], rdi
call fcn.1401bdd78
mov rcx, rax
test rax, rax
je 0x14013ed97
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14001d845.0]
add rax, 0x18
mov qword [rbp + 0xc0], rax
mov r9d, dword [rbp + 0x160]
inc r9d
mov r8d, dword [rbp + 0x164]
add r8d, 0x76c
mov eax, dword [rbp + 0x150]
mov dword [rsp + 0x38], eax
mov eax, dword [rbp + 0x154]
mov dword [rsp + 0x30], eax
mov eax, dword [rbp + 0x158]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp + 0x15c]
mov dword [rsp + 0x20], eax
lea rdx, str._04d_02d_02d_02d_02d_02d
lea rcx, [rbp + 0xc0]
call fcn.14000dac8
mov r8, r14
lea rdx, [0x1403a38b4]
lea rcx, [rbp + 0xf0]
call fcn.140011a6c
mov rbx, qword [rbp + 0xc0]
or r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], di
jne 0x14013ea92
mov rdx, rbx
lea rcx, [rbp + 0xf0]
call fcn.140011a6c
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14013eacd
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14001d845.0]
mov rdx, qword [rbp + 0x100]
add rdx, qword [rbp + 0xb0]
add rdx, qword [rbp + 0xd8]
cmp rdx, 0x7fff
jae 0x14013ebe9
lea r8, [rbp + 0xf0]
lea rdx, [rbp + 0xa0]
lea rcx, [rsp + 0x60]
call fcn.14017b720
mov rbx, rax
lea rax, [rbp + 0xa0]
cmp rax, rbx
je 0x14013eb3f
lea rcx, [rbp + 0xa0]
call fcn.14000dd24
mov r8, r12
mov rdx, rbx
lea rcx, [rbp + 0xa0]
call fcn.1402bec40
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], r15
mov word [rbx], di
lea rcx, [rsp + 0x60]
call fcn.14000dd24
mov r8, r14
lea rdx, [0x14039bb44]
lea rcx, [rbp + 0xa0]
call fcn.140011a6c
lea rdx, [rbp + 0xc8]
cmp qword [rbp + 0xe0], r15
cmova rdx, qword [rbp + 0xc8]
mov r8, qword [rbp + 0xd8]
lea rcx, [rbp + 0xa0]
call fcn.140011a6c
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0x50]
call fcn.1400765a0
nop
lea rbx, [rax + 0x28]
cmp qword [rbx + 0x18], r15
jbe 0x14013eba6
mov rbx, qword [rbx]
mov rdx, rsi
lea rcx, [rbp]
call fcn.1400765a0
nop
lea rcx, [rax + 0x28]
cmp qword [rcx + 0x18], r15
jbe 0x14013ebc0
mov rcx, qword [rcx]
xor r8d, r8d
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_CopyFileW]
mov ebx, eax
lea rcx, [rbp]
call fcn.140222560
nop
lea rcx, [rbp + 0x50]
call fcn.140222560
test ebx, ebx
jne 0x14013ed28
lea r8, [0x1403a38a8]
mov rdx, rsi
lea rcx, [rbp - 0x20]
call fcn.14008b7cc
nop
lea r8, [rbp + 0xa0]
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.14006e2d0
nop
lea r8, [0x14039ca0c]
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.14006e244
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 0x34
lea rdx, str.Unable_to_backup_original_file:_n_1_n_nContinue_anyway_
lea rcx, [rsp + 0x40]
call fcn.1400384d0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.140141828
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x130]
call fcn.1401ae67c
nop
lea rcx, [rbp - 0x80]
call fcn.14000dd24
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x14013ecb9
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14013ecb4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14013ed91
call fcn.14000e3f0
movdqa xmm0, xmmword [0x1403a9d80]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], dil
lea rcx, [rbp - 0x60]
call fcn.14000dd24
nop
lea rcx, [rbp - 0x40]
call fcn.14000dd24
nop
lea rcx, [rbp - 0x20]
call fcn.14000dd24
lea rcx, [rbp + 0x130]
cmp qword [rbp + 0x148], r15
cmova rcx, qword [rbp + 0x130]
mov edx, 0x2000034
mov r8d, 0xa115
call fcn.1401c19e0
nop
lea rcx, [rbp + 0x130]
cmp eax, 6
je 0x14013ed23
call fcn.14000dd24
jmp 0x14013ed2b
call fcn.14000dd24
mov dil, r14b
lea rcx, [rbp + 0xc8]
call fcn.14000dd24
nop
lea rcx, [rbp + 0xf0]
call fcn.14000dd24
nop
lea rcx, [rbp + 0x110]
call fcn.14000dd24
nop
lea rcx, [rbp + 0xa0]
call fcn.14000dd24
mov al, dil
jmp 0x14013ed66
mov al, r14b
mov rcx, qword [rbp + 0x178]
xor rcx, rsp
call fcn.1402194b0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.140287130
nop
mov ecx, 0x80004005
call fcn.14000e344
int3