Function at 0x140137d60
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 [0x14027f238]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rbx, rdx
mov r13, rcx
mov qword [rbp - 0x51], rdx
cmp byte [rcx], 0
jne 0x140137ddf
mov r8, qword [rdx + 0x18]
cmp r8, 8
jb 0x140137dbd
inc r8
mov rdx, qword [rdx]
mov rcx, rbx
call fcn.1400be810
mov qword [rbx + 0x18], 7
xor edi, edi
mov qword [rbx + 0x10], rdi
cmp qword [rbx + 0x18], 8
jb 0x140137dd5
mov rbx, qword [rbx]
mov eax, 0xffffffe9
jmp 0x140138077
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.1400be8c0
nop
mov qword [rbp + 0xf], 7
mov qword [rbp + 7], rdi
mov word [rbp - 9], di
xor r8d, r8d
lea rdx, [0x1402271c4]
lea rcx, [rbp - 9]
call fcn.1400be520
nop
mov qword [rbp - 0x11], 7
mov qword [rbp - 0x19], rdi
mov word [rbp - 0x29], di
lea r8d, [rdi + 1]
lea rdx, [0x140227be0]
lea rcx, [rbp - 0x29]
call fcn.1400be520
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.1400be3d0
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140137ed5
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.1400c65f0
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.1400be3d0
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140137e80
cmp r14, 8
jb 0x140137eeb
lea r8, [r14 + 1]
mov rdx, r12
lea rcx, [rbp - 0x29]
call fcn.1400be810
mov qword [rbp - 0x11], 7
mov qword [rbp - 0x19], rdi
mov word [rbp - 0x29], di
mov r8, qword [rbp + 0xf]
cmp r8, 8
jb 0x140137f15
inc r8
mov rdx, qword [rbp - 9]
lea rcx, [rbp - 9]
call fcn.1400be810
lea rdx, [rbp - 0x49]
mov rcx, r13
call fcn.1401386d0
lea rdx, [r13 + 8]
lea r8, [rbp - 0x49]
lea rcx, [rbp - 9]
call fcn.1400c5640
mov rsi, rax
lea rax, [rbp - 0x49]
cmp rax, rsi
je 0x140137f75
mov r8, qword [rbp - 0x31]
cmp r8, 8
jb 0x140137f58
inc r8
mov rdx, qword [rbp - 0x49]
lea rcx, [rbp - 0x49]
call fcn.1400be810
mov qword [rbp - 0x31], 7
mov qword [rbp - 0x39], rdi
mov word [rbp - 0x49], di
mov rdx, rsi
lea rcx, [rbp - 0x49]
call fcn.1400be780
nop
mov r8, qword [rbp + 0xf]
cmp r8, 8
jb 0x140137f8f
inc r8
mov rdx, qword [rbp - 9]
lea rcx, [rbp - 9]
call fcn.1400be810
lea rdx, [rbp - 0x49]
cmp qword [rbp - 0x31], 8
cmovae rdx, qword [rbp - 0x49]
cmp qword [rbx + 0x18], 8
jb 0x140137fa9
mov rcx, qword [rbx]
jmp 0x140137fac
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x14013801d
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov r8, qword [rbp - 0x31]
cmp r8, 8
jb 0x140137fda
inc r8
mov rdx, qword [rbp - 0x49]
lea rcx, [rbp - 0x49]
call fcn.1400be810
mov qword [rbp - 0x31], 7
mov qword [rbp - 0x39], rdi
mov word [rbp - 0x49], di
mov r8, qword [rbx + 0x18]
cmp r8, 8
jb 0x140138002
inc r8
mov rdx, qword [rbx]
mov rcx, rbx
call fcn.1400be810
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rdi
cmp qword [rbx + 0x18], 8
jb 0x140138018
mov rbx, qword [rbx]
or eax, 0xffffffff
jmp 0x140138077
mov r8, qword [rbp - 0x31]
cmp r8, 8
jb 0x140138037
inc r8
mov rdx, qword [rbp - 0x49]
lea rcx, [rbp - 0x49]
call fcn.1400be810
mov qword [rbp - 0x31], 7
mov qword [rbp - 0x39], rdi
mov word [rbp - 0x49], di
mov r8, qword [rbx + 0x18]
cmp r8, 8
jb 0x14013805f
inc r8
mov rdx, qword [rbx]
mov rcx, rbx
call fcn.1400be810
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rdi
cmp qword [rbx + 0x18], 8
jb 0x140138075
mov rbx, qword [rbx]
xor eax, eax
mov word [rbx], di
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140164ec0
mov rbx, qword [rsp + 0x100]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret