Function at 0x14005cd40
Capabilities:
Move file

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x4a0
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x1401c1028]
xor rax, rsp
mov qword [rsp + 0x498], rax
movaps xmm0, xmmword [0x1401940a0]
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
lea rdx, [0x1401a3c5b]
lea r8, str....._base_files_file_util_win.cc
lea r14, [rsp + 0x290]
mov rcx, r14
mov r9d, 0x1d9
call fcn.1400763c0
lea rcx, [rsp + 0x30]
xor edx, edx
xor r8d, r8d
call fcn.1400a32f0
mov qword [rsp + 0x70], 0xa
movzx eax, byte [0x1401d2e3a]
test al, al
jne 0x14005cfcd
lea rcx, [rsp + 0x290]
mov r8d, 0x208
mov dl, 0xaa
call fcn.14014ead0
cmp byte [rbx + 0x17], 0
mov rax, rbx
jns 0x14005cdef
mov rax, qword [rbx]
mov ecx, 3
nop word cs:[rax + rax]
movzx edx, word [rax + rcx*2 - 6]
mov word [rsp + rcx*2 + 0x28a], dx
test dx, dx
je 0x14005ce5e
movzx edx, word [rax + rcx*2 - 4]
mov word [rsp + rcx*2 + 0x28c], dx
test dx, dx
je 0x14005ce5e
movzx edx, word [rax + rcx*2 - 2]
mov word [rsp + rcx*2 + 0x28e], dx
test dx, dx
je 0x14005ce5e
movzx edx, word [rax + rcx*2]
mov word [rsp + rcx*2 + 0x290], dx
test dx, dx
je 0x14005ce5e
add rcx, 4
cmp rcx, 0x107
jne 0x14005ce00
mov word [rsp + 0x496], 0
lea rcx, [rsp + 0x290]
call fcn.140024910
lea rcx, [rsp + 0x80]
mov r8d, 0x208
mov dl, 0xaa
call fcn.14014ead0
cmp byte [rdi + 0x17], 0
mov rax, rdi
jns 0x14005ce8c
mov rax, qword [rdi]
mov ecx, 3
nop word cs:[rax + rax]
movzx edx, word [rax + rcx*2 - 6]
mov word [rsp + rcx*2 + 0x7a], dx
test dx, dx
je 0x14005cef5
movzx edx, word [rax + rcx*2 - 4]
mov word [rsp + rcx*2 + 0x7c], dx
test dx, dx
je 0x14005cef5
movzx edx, word [rax + rcx*2 - 2]
mov word [rsp + rcx*2 + 0x7e], dx
test dx, dx
je 0x14005cef5
movzx edx, word [rax + rcx*2]
mov word [rsp + rcx*2 + 0x80], dx
test dx, dx
je 0x14005cef5
add rcx, 4
cmp rcx, 0x107
jne 0x14005cea0
mov word [rsp + 0x286], 0
lea rcx, [rsp + 0x80]
call fcn.140024910
cmp byte [rbx + 0x17], 0
mov rdx, rbx
jns 0x14005cf0e
mov rdx, qword [rbx]
cmp byte [rdi + 0x17], 0
mov rcx, rdi
jns 0x14005cf1a
mov rcx, qword [rdi]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor r8d, r8d
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_ReplaceFileW]
mov bpl, 1
test eax, eax
jne 0x14005cf8c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
cmp byte [rdi + 0x17], 0
jns 0x14005cf4a
mov rdi, qword [rdi]
cmp byte [rbx + 0x17], 0
jns 0x14005cf53
mov rbx, qword [rbx]
mov rcx, rbx
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne bpl
test rsi, rsi
je 0x14005cf8c
test eax, eax
jne 0x14005cf8c
mov ecx, r14d
call fcn.14005c450
cmp eax, 0xfffffffc
jne 0x14005cf88
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14005c450
mov dword [rsi], eax
xor ebp, ebp
mov qword [rsp + 0x80], 0xa
movzx eax, byte [0x1401d2e3a]
test al, al
jne 0x14005d000
lea rcx, [rsp + 0x30]
call fcn.1400a3590
mov rcx, qword [rsp + 0x498]
xor rcx, rsp
call fcn.14014c9b0
mov eax, ebp
add rsp, 0x4a0
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
movzx ecx, al
mov qword [rsp + 0x80], r14
lea rax, str.ScopedBlockingCall
mov qword [rsp + 0x78], rax
lea rdx, [rsp + 0x70]
lea r8, [rsp + 0x78]
lea r9, [rsp + 0x80]
call fcn.140062630
jmp 0x14005cdce
movzx ecx, al
mov qword [rsp + 0x290], 0
lea rdx, [rsp + 0x80]
lea r8, [rsp + 0x290]
mov r9d, 2
call fcn.140032900
jmp 0x14005cfa3