Function at 0x14000b070
Capabilities:
Check if file exists
Move file

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov qword [rbp - 0x39], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14006d9f8]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r15, r8
mov r14, rdx
xor eax, eax
mov qword [rbp - 0x11], rax
mov qword [rbp - 9], rax
mov qword [rbp - 1], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x11], xmm0
xor r12d, r12d
mov qword [rbp - 1], r12
mov r9b, 1
lea rdx, [rbp - 0x11]
mov rcx, r14
call fcn.140002d7c
mov rbx, qword [rbp - 0x11]
mov rdi, qword [rbp - 9]
cmp rbx, rdi
je 0x14000b28c
or r9, 0xffffffffffffffff
mov r8, qword [r14 + 0x10]
lea rdx, [rbp + 7]
mov rcx, rbx
call fcn.140003b84
nop
lea r8, [rbp + 7]
mov rdx, r15
lea rcx, [rbp - 0x31]
call fcn.14000c6b4
nop
mov rcx, rbx
call fcn.140002f40
test al, al
je 0x14000b1b3
lea rcx, [rbp - 0x31]
cmp qword [rbp - 0x19], 8
cmovae rcx, qword [rbp - 0x31]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14000b246
lea rcx, [rbp - 0x31]
cmp qword [rbp - 0x19], 8
cmovae rcx, qword [rbp - 0x31]
call fcn.1400348a4
test eax, eax
je 0x14000b246
cmp qword [0x1400716b0], r12
je 0x14000b246
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 0x59]
call fcn.1400026bc
mov rsi, rax
cmp qword [rax + 0x18], 0x10
jb 0x14000b17b
mov rsi, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r9d, eax
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rsi
lea r8, str._ERROR___d___handle_file__mkdir_failed__path__s___err__d_.
mov edx, 1
mov rcx, qword [0x1400716b0]
call fcn.14000d154
nop
jmp 0x14000b235
lea rdx, [rbp - 0x31]
cmp qword [rbp - 0x19], 8
cmovae rdx, qword [rbp - 0x31]
cmp qword [rbx + 0x18], 8
jb 0x14000b1cd
mov rcx, qword [rbx]
jmp 0x14000b1d0
mov rcx, rbx
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x14000b246
cmp qword [0x1400716b0], r12
je 0x14000b246
mov rdx, rbx
lea rcx, [rbp - 0x59]
call fcn.1400026bc
mov rsi, rax
cmp qword [rax + 0x18], 0x10
jb 0x14000b202
mov rsi, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r9d, eax
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rsi
lea r8, str._ERROR___d___handle_file__move_file_failed__path__s___err__d_.
mov edx, 1
mov rcx, qword [0x1400716b0]
call fcn.14000d154
nop
cmp qword [rbp - 0x41], 0x10
jb 0x14000b246
mov rcx, qword [rbp - 0x59]
call fcn.14003440c
nop
cmp qword [rbp - 0x19], 8
jb 0x14000b256
mov rcx, qword [rbp - 0x31]
call fcn.14003440c
mov word [rbp - 0x31], r12w
mov qword [rbp - 0x21], r12
mov qword [rbp - 0x19], 7
cmp qword [rbp + 0x1f], 8
jb 0x14000b277
mov rcx, qword [rbp + 7]
call fcn.14003440c
add rbx, 0x20
mov rdi, qword [rbp - 9]
cmp rbx, rdi
jne 0x14000b0e7
mov rbx, qword [rbp - 0x11]
mov r15d, 2
cmp rdi, rbx
je 0x14000b338
add rdi, 0xffffffffffffffe0
mov rcx, rdi
call fcn.140002f40
test al, al
je 0x14000b326
cmp qword [rdi + 0x18], 8
jb 0x14000b2b7
mov rcx, qword [rdi]
jmp 0x14000b2ba
mov rcx, rdi
call fcn.1400339a0
test eax, eax
je 0x14000b326
cmp qword [0x1400716b0], r12
je 0x14000b326
mov rdx, rdi
lea rcx, [rbp - 0x59]
call fcn.1400026bc
mov rsi, rax
cmp qword [rax + 0x18], 0x10
jb 0x14000b2e5
mov rsi, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r9d, eax
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rsi
lea r8, [0x140060760]
mov edx, r15d
mov rcx, qword [0x1400716b0]
call fcn.14000d154
nop
cmp qword [rbp - 0x41], 0x10
jb 0x14000b326
mov rcx, qword [rbp - 0x59]
call fcn.14003440c
sub rdi, 0x20
lea rax, [rdi + 0x20]
cmp rax, qword [rbp - 0x11]
jne 0x14000b29f
cmp qword [r14 + 0x18], 8
jb 0x14000b344
mov rcx, qword [r14]
jmp 0x14000b347
mov rcx, r14
call fcn.1400339a0
test eax, eax
je 0x14000b3b4
cmp qword [0x1400716b0], r12
je 0x14000b3b4
mov rdx, r14
lea rcx, [rbp - 0x59]
call fcn.1400026bc
mov rdi, rax
cmp qword [rax + 0x18], 0x10
jb 0x14000b372
mov rdi, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r9d, eax
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rdi
lea r8, str._WARN___d___handle_file__rmdir_src_dir_failed__path__s___err__d_.
mov edx, r15d
mov rcx, qword [0x1400716b0]
call fcn.14000d154
nop
cmp qword [rbp - 0x41], 0x10
jb 0x14000b3b4
mov rcx, qword [rbp - 0x59]
call fcn.14003440c
nop
lea rcx, [rbp - 0x11]
call fcn.14000bfec
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400326d0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret