Function at 0x14013fc60
Capabilities:
Copy file

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xb0
mov qword [rbp - 0x59], 0xfffffffffffffffe
mov qword [rsp + 0x100], rbx
mov rax, qword [0x14028a238]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rbx, rdx
mov r13, rcx
mov qword [rbp - 0x51], rdx
cmp byte [rcx], 0
jne 0x14013fcdf
mov r8, qword [rdx + 0x18]
cmp r8, 8
jb 0x14013fcbd
inc r8
mov rdx, qword [rdx]
mov rcx, rbx
call fcn.1400c3a10
mov qword [rbx + 0x18], 7
xor edi, edi
mov qword [rbx + 0x10], rdi
cmp qword [rbx + 0x18], 8
jb 0x14013fcd5
mov rbx, qword [rbx]
mov eax, 0xffffffe9
jmp 0x14013ff77
mov qword [rbp - 0x31], 7
xor edi, edi
mov qword [rbp - 0x39], rdi
mov word [rbp - 0x49], di
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rbp - 0x49]
call fcn.1400c3ac0
nop
mov qword [rbp + 0xf], 7
mov qword [rbp + 7], rdi
mov word [rbp - 9], di
xor r8d, r8d
lea rdx, [0x1402305b4]
lea rcx, [rbp - 9]
call fcn.1400c3720
nop
mov qword [rbp - 0x11], 7
mov qword [rbp - 0x19], rdi
mov word [rbp - 0x29], di
lea r8d, [rdi + 1]
lea rdx, [0x140230fe0]
lea rcx, [rbp - 0x29]
call fcn.1400c3720
nop
lea rdx, [rbp - 0x29]
mov r12, qword [rbp - 0x29]
mov r14, qword [rbp - 0x11]
cmp r14, 8
cmovae rdx, r12
mov r15, qword [rbp - 0x19]
mov r9, r15
xor r8d, r8d
lea rcx, [rbp - 0x49]
call fcn.1400c35d0
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14013fdd5
nop dword [rax + rax]
mov qword [rsp + 0x28], 0xffffffffffffffff
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 9]
mov r8, r15
mov rdx, rsi
lea rcx, [rbp - 0x49]
call fcn.1400cb960
lea rdx, [rbp - 0x29]
mov r12, qword [rbp - 0x29]
mov r14, qword [rbp - 0x11]
cmp r14, 8
cmovae rdx, r12
mov r8, qword [rbp + 7]
add r8, rsi
mov r15, qword [rbp - 0x19]
mov r9, r15
lea rcx, [rbp - 0x49]
call fcn.1400c35d0
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14013fd80
cmp r14, 8
jb 0x14013fdeb
lea r8, [r14 + 1]
mov rdx, r12
lea rcx, [rbp - 0x29]
call fcn.1400c3a10
mov qword [rbp - 0x11], 7
mov qword [rbp - 0x19], rdi
mov word [rbp - 0x29], di
mov r8, qword [rbp + 0xf]
cmp r8, 8
jb 0x14013fe15
inc r8
mov rdx, qword [rbp - 9]
lea rcx, [rbp - 9]
call fcn.1400c3a10
lea rdx, [rbp - 0x49]
mov rcx, r13
call fcn.1401405d0
lea rdx, [r13 + 8]
lea r8, [rbp - 0x49]
lea rcx, [rbp - 9]
call fcn.1400ca9b0
mov rsi, rax
lea rax, [rbp - 0x49]
cmp rax, rsi
je 0x14013fe75
mov r8, qword [rbp - 0x31]
cmp r8, 8
jb 0x14013fe58
inc r8
mov rdx, qword [rbp - 0x49]
lea rcx, [rbp - 0x49]
call fcn.1400c3a10
mov qword [rbp - 0x31], 7
mov qword [rbp - 0x39], rdi
mov word [rbp - 0x49], di
mov rdx, rsi
lea rcx, [rbp - 0x49]
call fcn.1400c3980
nop
mov r8, qword [rbp + 0xf]
cmp r8, 8
jb 0x14013fe8f
inc r8
mov rdx, qword [rbp - 9]
lea rcx, [rbp - 9]
call fcn.1400c3a10
lea rdx, [rbp - 0x49]
cmp qword [rbp - 0x31], 8
cmovae rdx, qword [rbp - 0x49]
cmp qword [rbx + 0x18], 8
jb 0x14013fea9
mov rcx, qword [rbx]
jmp 0x14013feac
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x14013ff1d
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov r8, qword [rbp - 0x31]
cmp r8, 8
jb 0x14013feda
inc r8
mov rdx, qword [rbp - 0x49]
lea rcx, [rbp - 0x49]
call fcn.1400c3a10
mov qword [rbp - 0x31], 7
mov qword [rbp - 0x39], rdi
mov word [rbp - 0x49], di
mov r8, qword [rbx + 0x18]
cmp r8, 8
jb 0x14013ff02
inc r8
mov rdx, qword [rbx]
mov rcx, rbx
call fcn.1400c3a10
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rdi
cmp qword [rbx + 0x18], 8
jb 0x14013ff18
mov rbx, qword [rbx]
or eax, 0xffffffff
jmp 0x14013ff77
mov r8, qword [rbp - 0x31]
cmp r8, 8
jb 0x14013ff37
inc r8
mov rdx, qword [rbp - 0x49]
lea rcx, [rbp - 0x49]
call fcn.1400c3a10
mov qword [rbp - 0x31], 7
mov qword [rbp - 0x39], rdi
mov word [rbp - 0x49], di
mov r8, qword [rbx + 0x18]
cmp r8, 8
jb 0x14013ff5f
inc r8
mov rdx, qword [rbx]
mov rcx, rbx
call fcn.1400c3a10
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rdi
cmp qword [rbx + 0x18], 8
jb 0x14013ff75
mov rbx, qword [rbx]
xor eax, eax
mov word [rbx], di
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.14016ce60
mov rbx, qword [rsp + 0x100]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret