Function at 0x1400bab60
Capabilities:
Copy file
Get common file path
Move file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x250]
sub rsp, 0x350
mov rax, qword [0x14049f3c0]
xor rax, rsp
mov qword [rbp + 0x240], rax
mov r14, r9
mov rsi, rdx
mov rdi, rcx
xor r13d, r13d
mov dword [rsp + 0x40], r13d
xor r15b, r15b
call fcn.1400ba4d0
movzx r12d, al
mov rdx, rsi
lea rcx, [rbp - 0x58]
call fcn.140031cb0
nop
test r12b, r12b
je 0x1400badec
mov rcx, rsi
call fcn.1400ba570
test al, al
je 0x1400badec
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], r13
mov qword [rbp - 0x20], 7
mov word [rbp - 0x38], r13w
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r13
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], r13w
lea r8, [r13 - 1]
lea rdx, [0x140434518]
mov rcx, rdi
call fcn.1400a29e0
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400bac96
mov r9, rax
xor r8d, r8d
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.140047e80
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.14002eb40
lea rcx, [rsp + 0x48]
call fcn.1400166f0
mov rax, qword [rdi + 0x10]
dec rax
cmp rbx, rax
je 0x1400bac7e
lea r8, [rbx + 1]
lea r9, [r13 - 1]
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.140047e80
mov rdx, rax
lea rcx, [rbp - 0x38]
call fcn.14002eb40
lea rcx, [rsp + 0x48]
call fcn.1400166f0
jmp 0x1400bacc2
lea rax, [rbp - 0x38]
cmp qword [rbp - 0x20], 7
cmova rax, qword [rbp - 0x38]
mov qword [rbp - 0x28], r13
mov word [rax], r13w
jmp 0x1400bacc2
lea rax, [rbp - 0x38]
cmp rax, rdi
je 0x1400bacb9
mov rdx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x1400bacac
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
lea rcx, [rbp - 0x38]
call fcn.140031b60
mov qword [rbp - 0x68], r13
mov word [rbp - 0x78], r13w
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
movdqa xmm1, xmmword [0x140445990]
movdqu xmmword [rsp + 0x78], xmm1
mov word [rsp + 0x68], r13w
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x38]
mov rcx, rsi
call fcn.1400a31d0
mov rdx, rax
lea rcx, [rbp + 8]
call fcn.140031cb0
nop
lea rcx, [rsp + 0x68]
call fcn.1400166f0
nop
lea rcx, [rbp + 8]
call fcn.1400ba4d0
movzx ebx, al
lea rcx, [rbp + 8]
call fcn.1400166f0
test bl, bl
je 0x1400badd9
mov r15b, 1
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
movdqa xmm1, xmmword [0x140445990]
movdqu xmmword [rbp - 8], xmm1
mov word [rbp - 0x18], r13w
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x38]
mov rcx, rsi
call fcn.1400a31d0
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.140031cb0
nop
lea rcx, [rbp - 0x18]
call fcn.1400166f0
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 7
jbe 0x1400bada8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400bada3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400bb089
call fcn.1402ba9fc
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [rsp + 0x78]
movups xmmword [rbp - 0x48], xmm1
movdqa xmm0, xmmword [0x140445990]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], r13w
lea rcx, [rsp + 0x68]
call fcn.1400166f0
nop
lea rcx, [rbp - 0x78]
call fcn.1400166f0
nop
lea rcx, [rbp - 0x38]
call fcn.1400166f0
lea r9, [rsp + 0x40]
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call fcn.1400ba610
test al, al
jne 0x1400bb011
mov ebx, dword [rsp + 0x40]
cmp ebx, 5
je 0x1400bae19
cmp ebx, 0x20
jne 0x1400bb043
test r12b, r12b
je 0x1400bb043
mov rcx, rsi
call fcn.1400ba4d0
test al, al
jne 0x1400bae37
test r15b, r15b
je 0x1400bb043
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp + 0x30]
call fcn.14030b3a0
lea rdx, [rbp + 0x30]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x1400bae72
test r14, r14
je 0x1400bb04b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14], eax
jmp 0x1400bb04b
lea rcx, [rbp + 8]
call fcn.1400ffc50
nop
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.14009edb0
nop
lea rcx, [rbp + 8]
call fcn.140016400
nop
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x48]
call fcn.140031ed0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
movdqa xmm1, xmmword [0x140445990]
movdqu xmmword [rbp + 0x18], xmm1
mov word [rbp + 8], r13w
lea r8, [rbp + 8]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x48]
call fcn.1400a31d0
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.140031cb0
nop
lea rcx, [rbp + 8]
call fcn.1400166f0
nop
lea rcx, [rsp + 0x48]
call fcn.1400166f0
movabs rax, 0x7ffffffffffffffe
mov rcx, qword [rbp - 0x48]
sub rax, rcx
mov rdx, qword [rsp + 0x78]
cmp rax, rdx
jb 0x1400bb083
lea r9, [rbp - 0x58]
cmp qword [rbp - 0x40], 7
cmova r9, qword [rbp - 0x58]
lea rax, [rsp + 0x68]
cmp qword [rbp - 0x80], 7
cmova rax, qword [rsp + 0x68]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x18]
call fcn.14002beb0
nop
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 7
cmova rdx, qword [rbp - 0x78]
lea rcx, [rbp - 0x58]
cmp qword [rbp - 0x40], 7
cmova rcx, qword [rbp - 0x58]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x1400baf98
lea rdx, [rbp - 0x18]
cmp qword [rbp], 7
cmova rdx, qword [rbp - 0x18]
lea rcx, [rbp - 0x58]
cmp qword [rbp - 0x40], 7
cmova rcx, qword [rbp - 0x58]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x1400bb015
lea rcx, [rbp - 0x78]
cmp qword [rbp - 0x60], 7
cmova rcx, qword [rbp - 0x78]
xor edx, edx
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
lea rcx, [rbp - 0x18]
cmp qword [rbp], 7
cmova rcx, qword [rbp - 0x18]
xor edx, edx
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp qword [rsi + 0x18], 7
jbe 0x1400bafd6
mov rsi, qword [rsi]
cmp qword [rdi + 0x18], 7
jbe 0x1400bafe0
mov rdi, qword [rdi]
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x1400bb015
lea rcx, [rbp - 0x18]
call fcn.1400166f0
nop
lea rcx, [rbp - 0x78]
call fcn.1400166f0
nop
lea rcx, [rsp + 0x68]
call fcn.1400166f0
mov bl, 1
jmp 0x1400bb04d
test r14, r14
je 0x1400bb023
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14], eax
lea rcx, [rbp - 0x18]
call fcn.1400166f0
nop
lea rcx, [rbp - 0x78]
call fcn.1400166f0
nop
lea rcx, [rsp + 0x68]
call fcn.1400166f0
jmp 0x1400bb04b
test r14, r14
je 0x1400bb04b
mov dword [r14], ebx
xor bl, bl
lea rcx, [rbp - 0x58]
call fcn.1400166f0
movzx eax, bl
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.1402ba9b0
mov rbx, qword [rsp + 0x3a0]
add rsp, 0x350
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140016040
nop
call fcn.1402caabc
int3