Function at 0x1400b3950
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 [0x1404953c0]
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.1400b32c0
movzx r12d, al
mov rdx, rsi
lea rcx, [rbp - 0x58]
call fcn.140030a90
nop
test r12b, r12b
je 0x1400b3bdc
mov rcx, rsi
call fcn.1400b3360
test al, al
je 0x1400b3bdc
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, [0x14042b148]
mov rcx, rdi
call fcn.14009afe0
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400b3a86
mov r9, rax
xor r8d, r8d
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.140045ec0
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.14002d920
lea rcx, [rsp + 0x48]
call fcn.1400166f0
mov rax, qword [rdi + 0x10]
dec rax
cmp rbx, rax
je 0x1400b3a6e
lea r8, [rbx + 1]
lea r9, [r13 - 1]
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.140045ec0
mov rdx, rax
lea rcx, [rbp - 0x38]
call fcn.14002d920
lea rcx, [rsp + 0x48]
call fcn.1400166f0
jmp 0x1400b3ab2
lea rax, [rbp - 0x38]
cmp qword [rbp - 0x20], 7
cmova rax, qword [rbp - 0x38]
mov qword [rbp - 0x28], r13
mov word [rax], r13w
jmp 0x1400b3ab2
lea rax, [rbp - 0x38]
cmp rax, rdi
je 0x1400b3aa9
mov rdx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x1400b3a9c
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
lea rcx, [rbp - 0x38]
call fcn.140030940
mov qword [rbp - 0x68], r13
mov word [rbp - 0x78], r13w
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
movdqa xmm1, xmmword [0x14043ca90]
movdqu xmmword [rsp + 0x78], xmm1
mov word [rsp + 0x68], r13w
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x38]
mov rcx, rsi
call fcn.14009b7d0
mov rdx, rax
lea rcx, [rbp + 8]
call fcn.140030a90
nop
lea rcx, [rsp + 0x68]
call fcn.1400166f0
nop
lea rcx, [rbp + 8]
call fcn.1400b32c0
movzx ebx, al
lea rcx, [rbp + 8]
call fcn.1400166f0
test bl, bl
je 0x1400b3bc9
mov r15b, 1
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
movdqa xmm1, xmmword [0x14043ca90]
movdqu xmmword [rbp - 8], xmm1
mov word [rbp - 0x18], r13w
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x38]
mov rcx, rsi
call fcn.14009b7d0
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.140030a90
nop
lea rcx, [rbp - 0x18]
call fcn.1400166f0
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 7
jbe 0x1400b3b98
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b3b93
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b3e79
call fcn.1402b5c4c
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [rsp + 0x78]
movups xmmword [rbp - 0x48], xmm1
movdqa xmm0, xmmword [0x14043ca90]
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.1400b3400
test al, al
jne 0x1400b3e01
mov ebx, dword [rsp + 0x40]
cmp ebx, 5
je 0x1400b3c09
cmp ebx, 0x20
jne 0x1400b3e33
test r12b, r12b
je 0x1400b3e33
mov rcx, rsi
call fcn.1400b32c0
test al, al
jne 0x1400b3c27
test r15b, r15b
je 0x1400b3e33
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp + 0x30]
call fcn.140306610
lea rdx, [rbp + 0x30]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x1400b3c62
test r14, r14
je 0x1400b3e3b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14], eax
jmp 0x1400b3e3b
lea rcx, [rbp + 8]
call fcn.1400f8810
nop
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.14009c3a0
nop
lea rcx, [rbp + 8]
call fcn.140016400
nop
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x48]
call fcn.140030cb0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
movdqa xmm1, xmmword [0x14043ca90]
movdqu xmmword [rbp + 0x18], xmm1
mov word [rbp + 8], r13w
lea r8, [rbp + 8]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x48]
call fcn.14009b7d0
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.140030a90
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 0x1400b3e73
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.14002ac90
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 0x1400b3d88
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 0x1400b3e05
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 0x1400b3dc6
mov rsi, qword [rsi]
cmp qword [rdi + 0x18], 7
jbe 0x1400b3dd0
mov rdi, qword [rdi]
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x1400b3e05
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 0x1400b3e3d
test r14, r14
je 0x1400b3e13
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 0x1400b3e3b
test r14, r14
je 0x1400b3e3b
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.1402b5c00
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.1402c5d0c
int3