Function at 0x140141280
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 [0x14028c238]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rbx, rdx
mov r13, rcx
mov qword [rbp - 0x51], rdx
cmp byte [rcx], 0
jne 0x1401412ff
mov r8, qword [rdx + 0x18]
cmp r8, 8
jb 0x1401412dd
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 0x1401412f5
mov rbx, qword [rbx]
mov eax, 0xffffffe9
jmp 0x140141597
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, [0x1402325f4]
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, [0x140233030]
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 0x1401413f5
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.1400cc2a0
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 0x1401413a0
cmp r14, 8
jb 0x14014140b
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 0x140141435
inc r8
mov rdx, qword [rbp - 9]
lea rcx, [rbp - 9]
call fcn.1400c3a10
lea rdx, [rbp - 0x49]
mov rcx, r13
call fcn.140141bf0
lea rdx, [r13 + 8]
lea r8, [rbp - 0x49]
lea rcx, [rbp - 9]
call fcn.1400cb2f0
mov rsi, rax
lea rax, [rbp - 0x49]
cmp rax, rsi
je 0x140141495
mov r8, qword [rbp - 0x31]
cmp r8, 8
jb 0x140141478
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 0x1401414af
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 0x1401414c9
mov rcx, qword [rbx]
jmp 0x1401414cc
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x14014153d
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov r8, qword [rbp - 0x31]
cmp r8, 8
jb 0x1401414fa
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 0x140141522
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 0x140141538
mov rbx, qword [rbx]
or eax, 0xffffffff
jmp 0x140141597
mov r8, qword [rbp - 0x31]
cmp r8, 8
jb 0x140141557
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 0x14014157f
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 0x140141595
mov rbx, qword [rbx]
xor eax, eax
mov word [rbx], di
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.14016e480
mov rbx, qword [rsp + 0x100]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret