Function at 0x1402f13fc
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x1404e1800]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov qword [rsp + 0x70], r8
mov r14, rdx
mov r8, qword [rbp + 0x80]
mov r12, qword [rbp + 0x88]
mov r13, qword [rbp + 0x90]
mov rax, qword [rbp + 0x98]
mov qword [rsp + 0x48], rax
xor edi, edi
mov rdx, r9
lea rcx, [rsp + 0x50]
call fcn.140077980
nop
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rcx, qword [rsp + 0x50]
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x10000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
nop dword [rax + rax]
mov r15, rax
mov esi, dword [r14 + 0xd0]
cmp rax, 0xffffffffffffffff
jne 0x1402f1563
cmp qword [r12 + 0x10], rsi
jae 0x1402f1552
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jg 0x1402f14cb
mov edi, eax
jmp 0x1402f14d4
movzx edi, ax
or edi, 0x80070000
mov edx, edi
lea rcx, [rbp - 0x30]
call fcn.14021cb90
mov rbx, rax
lea r8, [rsp + 0x50]
lea rdx, [0x1403ac298]
lea rcx, [rbp - 0x50]
call fcn.140077558
nop
lea r8, [0x1403f55d0]
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140076bd4
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.140077658
nop
mov rdx, rax
mov rcx, r12
call fcn.1400776e0
nop
lea rcx, [rbp - 0x70]
call fcn.14007a7c0
nop
lea rcx, [rsp + 0x70]
call fcn.14007a7c0
nop
lea rcx, [rbp - 0x50]
call fcn.14007a7c0
nop
lea rcx, [rbp - 0x30]
call fcn.14007a7c0
nop
lea rcx, [rsp + 0x50]
call fcn.14007a7c0
mov eax, edi
jmp 0x1402f1790
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]
nop dword [rax + rax]
mov rcx, r14
call fcn.1402f2534
mov rbx, rax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
nop dword [rax + rax]
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
lea r9, [rsp + 0x40]
mov r8, rbx
mov rdx, r15
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
nop dword [rax + rax]
test eax, eax
jne 0x1402f1687
cmp qword [r13 + 0x10], rsi
jae 0x1402f1673
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jg 0x1402f15ed
mov edi, eax
jmp 0x1402f15f6
movzx edi, ax
or edi, 0x80070000
mov edx, edi
lea rcx, [rsp + 0x70]
call fcn.14021cb90
mov rbx, rax
lea r8, [rsp + 0x50]
lea rdx, [0x1403ac298]
lea rcx, [rbp - 0x70]
call fcn.140077558
nop
lea r8, [0x1403f55d0]
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.140076bd4
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.140077658
nop
mov rdx, rax
mov rcx, r13
call fcn.1400776e0
nop
lea rcx, [rbp - 0x30]
call fcn.14007a7c0
nop
lea rcx, [rbp - 0x50]
call fcn.14007a7c0
nop
lea rcx, [rbp - 0x70]
call fcn.14007a7c0
nop
lea rcx, [rsp + 0x70]
call fcn.14007a7c0
mov rcx, r15
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
jmp 0x1402f1552
mov qword [rbp - 0x70], r14
lea rax, [rsp + 0x40]
mov qword [rbp - 0x68], rax
mov byte [rbp - 0x60], 1
mov rax, qword [rsp + 0x70]
movups xmm0, xmmword [rax]
movdqu xmmword [rsp + 0x70], xmm0
mov r8, qword [rsp + 0x40]
lea rdx, [rsp + 0x70]
mov rcx, r14
call fcn.1402ed0c8
mov r15d, eax
test eax, eax
jns 0x1402f174d
mov r12, qword [rsp + 0x48]
cmp qword [r12 + 0x10], rsi
jae 0x1402f174d
mov edx, eax
lea rcx, [rbp - 0x10]
call fcn.14021cb90
mov rbx, rax
lea r8, [rsp + 0x50]
lea rdx, [0x1403ac298]
lea rcx, [rsp + 0x70]
call fcn.140077558
nop
lea r8, [0x1403f55d0]
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.140076bd4
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.140077658
nop
mov rdx, rax
mov rcx, r12
call fcn.1400776e0
nop
lea rcx, [rbp - 0x30]
call fcn.14007a7c0
nop
lea rcx, [rbp - 0x50]
call fcn.14007a7c0
nop
lea rcx, [rsp + 0x70]
call fcn.14007a7c0
nop
lea rcx, [rbp - 0x10]
call fcn.14007a7c0
nop
mov rbx, qword [rsp + 0x40]
mov rcx, r14
call fcn.1402f2534
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
nop dword [rax + rax]
nop
lea rcx, [rsp + 0x50]
call fcn.14007a7c0
mov eax, r15d
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140112420
mov rbx, qword [rsp + 0x160]
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret