Function at 0x140043330
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x290]
sub rsp, 0x390
mov ebx, r8d
mov r15, rdx
mov rsi, rcx
xor r14b, r14b
mov rcx, rdx
call fcn.140042d20
mov edi, 0xffffffff
cmp rax, rbx
jl 0x1400439e6
mov dl, 1
mov rcx, rsi
call fcn.140042920
test al, al
je 0x1400439cf
call fcn.140008400
mov r10, qword [rax]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], r14b
mov byte [rsp + 0x20], r14b
mov r9d, edi
mov r8d, edi
mov rdx, rsi
mov rcx, rax
call qword [r10 + 0x28]
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x60]
call fcn.140042790
mov rdx, qword [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x1400436be
mov rdx, rsi
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x1400433f5
lea rcx, [rsp + 0x60]
call fcn.140042e00
mov r14b, 1
jmp 0x14004399c
mov rdx, rsi
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
call fcn.140008400
mov r10, qword [rax]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
mov r9d, edi
mov r8d, edi
lea rdx, str.JRFileSystem::SafeReplaceFile
mov rcx, rax
call qword [r10 + 0x28]
mov rbx, rax
mov qword [rbp + 0x10], rax
xor eax, eax
mov dword [rsp + 0x40], eax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x40], eax
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0x120], xmm1
mov dword [rsp + 0x40], eax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0x110], xmm0
mov dword [rsp + 0x40], eax
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0x100], xmm1
mov dword [rsp + 0x40], eax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0xf0], xmm0
mov dword [rsp + 0x40], eax
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0x130], xmm1
mov dword [rsp + 0x40], eax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0xe0], xmm0
mov dword [rsp + 0x40], eax
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0xd0], xmm1
mov dword [rsp + 0x40], eax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0xc0], xmm0
mov dword [rsp + 0x40], eax
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0xb0], xmm1
mov dword [rsp + 0x40], eax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0xa0], xmm0
mov dword [rsp + 0x40], eax
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0x90], xmm1
mov dword [rsp + 0x40], eax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0x80], xmm0
mov dword [rsp + 0x40], eax
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0x70], xmm1
mov dword [rsp + 0x40], eax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0x60], xmm0
mov dword [rsp + 0x40], eax
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0x50], xmm1
mov dword [rsp + 0x40], eax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0x40], xmm0
mov dword [rsp + 0x40], eax
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0x30], xmm1
mov dword [rsp + 0x40], eax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0x20], xmm0
mov dword [rsp + 0x40], eax
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0x1e0], xmm1
mov rcx, qword [0x14019a6b8]
test rcx, rcx
je 0x14004368d
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x50]
mov rcx, rax
test rax, rax
je 0x14004368d
lea rax, [rbp + 0x1e0]
mov qword [rsp + 0x70], rax
lea rax, [rbp + 0x20]
mov qword [rsp + 0x78], rax
lea rax, [rbp + 0x30]
mov qword [rbp - 0x80], rax
lea rax, [rbp + 0x40]
mov qword [rbp - 0x78], rax
lea rax, [rbp + 0x50]
mov qword [rbp - 0x70], rax
lea rax, [rbp + 0x60]
mov qword [rbp - 0x68], rax
lea rax, [rbp + 0x70]
mov qword [rbp - 0x60], rax
lea rax, [rbp + 0x80]
mov qword [rbp - 0x58], rax
lea rax, [rbp + 0x90]
mov qword [rbp - 0x50], rax
lea rax, [rbp + 0xa0]
mov qword [rbp - 0x48], rax
lea rax, [rbp + 0xb0]
mov qword [rbp - 0x40], rax
lea rax, [rbp + 0xc0]
mov qword [rbp - 0x38], rax
lea rax, [rbp + 0xd0]
mov qword [rbp - 0x30], rax
lea rax, [rbp + 0xe0]
mov qword [rbp - 0x28], rax
lea rax, [rbp + 0x130]
mov qword [rbp - 0x20], rax
lea rax, [rbp + 0xf0]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x100]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x110]
mov qword [rbp - 8], rax
lea rax, [rbp + 0x120]
mov qword [rbp], rax
lea rax, [rsp + 0x50]
mov qword [rbp + 8], rax
mov rax, qword [rcx]
mov dword [rsp + 0x28], 0x14
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x20], rdx
lea r9, str.Error_moving_new_file_into_place_of_original_name
mov r8, rbx
mov edx, 1
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rdx, [rbx - 0x18]
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x1400436b9
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x1400436af
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400436b9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x14004399c
call fcn.140008400
mov r10, qword [rax]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
mov r9d, edi
mov r8d, edi
lea rdx, str.JRFileSystem::SafeReplaceFile
mov rcx, rax
call qword [r10 + 0x28]
mov rbx, rax
mov qword [rbp + 0x10], rax
xor eax, eax
mov dword [rsp + 0x50], eax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp + 0x270], xmm0
mov dword [rsp + 0x50], eax
movaps xmm1, xmmword [rsp + 0x50]
movdqa xmmword [rbp + 0x260], xmm1
mov dword [rsp + 0x50], eax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp + 0x250], xmm0
mov dword [rsp + 0x50], eax
movaps xmm1, xmmword [rsp + 0x50]
movdqa xmmword [rbp + 0x240], xmm1
mov dword [rsp + 0x50], eax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp + 0x280], xmm0
mov dword [rsp + 0x50], eax
movaps xmm1, xmmword [rsp + 0x50]
movdqa xmmword [rbp + 0x220], xmm1
mov dword [rsp + 0x50], eax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp + 0x210], xmm0
mov dword [rsp + 0x50], eax
movaps xmm1, xmmword [rsp + 0x50]
movdqa xmmword [rbp + 0x200], xmm1
mov dword [rsp + 0x50], eax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp + 0x1f0], xmm0
mov dword [rsp + 0x50], eax
movaps xmm1, xmmword [rsp + 0x50]
movdqa xmmword [rbp + 0x230], xmm1
mov dword [rsp + 0x50], eax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp + 0x1d0], xmm0
mov dword [rsp + 0x50], eax
movaps xmm1, xmmword [rsp + 0x50]
movdqa xmmword [rbp + 0x1c0], xmm1
mov dword [rsp + 0x50], eax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp + 0x1b0], xmm0
mov dword [rsp + 0x50], eax
movaps xmm1, xmmword [rsp + 0x50]
movdqa xmmword [rbp + 0x1a0], xmm1
mov dword [rsp + 0x50], eax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp + 0x190], xmm0
mov dword [rsp + 0x50], eax
movaps xmm1, xmmword [rsp + 0x50]
movdqa xmmword [rbp + 0x180], xmm1
mov dword [rsp + 0x50], eax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp + 0x170], xmm0
mov dword [rsp + 0x50], eax
movaps xmm1, xmmword [rsp + 0x50]
movdqa xmmword [rbp + 0x160], xmm1
mov dword [rsp + 0x50], eax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp + 0x150], xmm0
mov dword [rsp + 0x50], eax
movaps xmm1, xmmword [rsp + 0x50]
movdqa xmmword [rbp + 0x140], xmm1
mov rcx, qword [0x14019a6b8]
test rcx, rcx
je 0x140043970
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x50]
mov rcx, rax
test rax, rax
je 0x140043970
lea rax, [rbp + 0x140]
mov qword [rsp + 0x70], rax
lea rax, [rbp + 0x150]
mov qword [rsp + 0x78], rax
lea rax, [rbp + 0x160]
mov qword [rbp - 0x80], rax
lea rax, [rbp + 0x170]
mov qword [rbp - 0x78], rax
lea rax, [rbp + 0x180]
mov qword [rbp - 0x70], rax
lea rax, [rbp + 0x190]
mov qword [rbp - 0x68], rax
lea rax, [rbp + 0x1a0]
mov qword [rbp - 0x60], rax
lea rax, [rbp + 0x1b0]
mov qword [rbp - 0x58], rax
lea rax, [rbp + 0x1c0]
mov qword [rbp - 0x50], rax
lea rax, [rbp + 0x1d0]
mov qword [rbp - 0x48], rax
lea rax, [rbp + 0x230]
mov qword [rbp - 0x40], rax
lea rax, [rbp + 0x1f0]
mov qword [rbp - 0x38], rax
lea rax, [rbp + 0x200]
mov qword [rbp - 0x30], rax
lea rax, [rbp + 0x210]
mov qword [rbp - 0x28], rax
lea rax, [rbp + 0x220]
mov qword [rbp - 0x20], rax
lea rax, [rbp + 0x280]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x240]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x250]
mov qword [rbp - 8], rax
lea rax, [rbp + 0x260]
mov qword [rbp], rax
lea rax, [rbp + 0x270]
mov qword [rbp + 8], rax
mov rax, qword [rcx]
mov dword [rsp + 0x28], 0x14
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x20], rdx
lea r9, str.Error_renaming_original_file
mov r8, rbx
mov edx, 1
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rdx, [rbx - 0x18]
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14004399c
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x140043992
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004399c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x1400439cd
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x1400439c3
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400439cd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x1400439e1
mov rdx, rsi
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne r14b
test r14b, r14b
jne 0x140043a4c
call fcn.140008400
mov r10, qword [rax]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
mov r9d, edi
mov r8d, edi
mov rdx, r15
mov rcx, rax
call qword [r10 + 0x28]
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x40]
call fcn.140042e00
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x140043a4c
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x140043a42
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x140043a4c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
movzx eax, r14b
lea r11, [rsp + 0x390]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret