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

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x360], rbx
mov rax, qword [0x1404680d8]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov rdi, r9
mov rbx, rdx
mov rsi, rcx
xor r13d, r13d
mov dword [rsp + 0x24], r13d
xor r12b, r12b
xor r8d, r8d
lea rdx, [rsp + 0x20]
call fcn.140098560
test al, al
je 0x140092b5e
cmp dword [rsp + 0x20], r13d
jne 0x140092b5e
mov r15b, 1
jmp 0x140092b61
xor r15b, r15b
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.1400256d0
nop
test r15b, r15b
je 0x140092cab
xor r8d, r8d
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140098560
test al, al
je 0x140092cab
cmp dword [rsp + 0x20], 1
jne 0x140092cab
lea rcx, [rsp + 0x70]
call fcn.14000c320
nop
lea rcx, [rbp - 0x30]
call fcn.14000c320
nop
lea r8, [rsp + 0x70]
lea rdx, [rbp - 0x30]
mov rcx, rsi
call fcn.140099660
lea rcx, [rbp - 0x50]
call fcn.14000c320
nop
lea r8, [rbp - 0x50]
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.140082f50
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400256d0
nop
lea rcx, [rbp - 0x50]
call fcn.14000c300
nop
xor r8d, r8d
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.140098560
test al, al
je 0x140092c15
cmp dword [rsp + 0x20], 0
jne 0x140092c15
mov r14b, 1
jmp 0x140092c18
xor r14b, r14b
lea rcx, [rsp + 0x50]
call fcn.14000c300
test r14b, r14b
je 0x140092c97
mov r12b, 1
lea rcx, [rbp - 0x50]
call fcn.14000c320
nop
lea r8, [rbp - 0x50]
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.140082f50
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400256d0
nop
lea rcx, [rbp - 0x50]
call fcn.14000c300
nop
lea rcx, [rbp - 0x70]
call fcn.14000c340
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rbp - 0x60], xmm1
movdqa xmm0, xmmword [0x1403e1a30]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], r13w
lea rcx, [rsp + 0x50]
call fcn.14000c300
nop
lea rcx, [rbp - 0x30]
call fcn.14000c300
nop
lea rcx, [rsp + 0x70]
call fcn.14000c300
lea r9, [rsp + 0x24]
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call fcn.140092550
test al, al
jne 0x140092e9f
mov r14d, dword [rsp + 0x24]
cmp r14d, 5
je 0x140092cdb
cmp r14d, 0x20
jne 0x140092ed1
test r15b, r15b
je 0x140092ed1
xor r8d, r8d
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140098560
test al, al
je 0x140092cff
cmp dword [rsp + 0x20], 0
je 0x140092d08
test r12b, r12b
je 0x140092ed1
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp - 0x10]
call fcn.140286140
lea rdx, [rbp - 0x10]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x140092d42
test rdi, rdi
je 0x140092ed9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi], eax
jmp 0x140092ed9
lea rcx, [rsp + 0x28]
call fcn.1400d3a70
nop
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.14007eef0
nop
lea rcx, [rsp + 0x28]
call fcn.14000b890
nop
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x28]
call fcn.14000d360
nop
lea rcx, [rbp - 0x30]
call fcn.14000c320
nop
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x28]
call fcn.140082f50
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400256d0
nop
lea rcx, [rbp - 0x30]
call fcn.14000c300
nop
lea rcx, [rsp + 0x28]
call fcn.14000c300
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x70]
call fcn.140083bb0
nop
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rdx, qword [rsp + 0x50]
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rcx, qword [rbp - 0x70]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x140092e20
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rdx, qword [rsp + 0x70]
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rcx, qword [rbp - 0x70]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x140092ea3
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rcx, qword [rsp + 0x50]
xor edx, edx
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rcx, qword [rsp + 0x70]
xor edx, edx
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp qword [rbx + 0x18], 8
jb 0x140092e63
mov rbx, qword [rbx]
cmp qword [rsi + 0x18], 8
jb 0x140092e6d
mov rsi, qword [rsi]
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x140092ea3
lea rcx, [rsp + 0x70]
call fcn.14000c300
nop
lea rcx, [rsp + 0x50]
call fcn.14000c300
nop
lea rcx, [rbp - 0x50]
call fcn.14000c300
mov bl, 1
jmp 0x140092edb
test rdi, rdi
je 0x140092eb0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi], eax
lea rcx, [rsp + 0x70]
call fcn.14000c300
nop
lea rcx, [rsp + 0x50]
call fcn.14000c300
nop
lea rcx, [rbp - 0x50]
call fcn.14000c300
jmp 0x140092ed9
test rdi, rdi
je 0x140092ed9
mov dword [rdi], r14d
xor bl, bl
lea rcx, [rbp - 0x70]
call fcn.14000c300
movzx eax, bl
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.140282c10
mov rbx, qword [rsp + 0x360]
add rsp, 0x310
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret