Function at 0x140001f40
Capabilities:
Move file
Set console window title

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xa0
mov rax, qword [0x140059040]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rbx, rcx
xor edi, edi
lea rcx, [rsp + 0x38]
call fcn.140001c80
mov rcx, rax
mov rdx, qword [rax + 0x10]
mov r8, qword [rax + 0x18]
mov rax, r8
sub rax, rdx
cmp rax, 4
jb 0x140001fac
lea rax, [rdx + 4]
mov qword [rcx + 0x10], rax
mov rax, rcx
cmp r8, 0xf
jbe 0x140001f9e
mov rax, qword [rcx]
mov dword [rax + rdx], 0x6578652e
mov byte [rax + rdx + 4], 0
jmp 0x140001fc9
mov qword [rsp + 0x20], 4
lea r9, str..exe
mov edx, 4
call fcn.14000f180
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rsp + 0x88], rdi
mov qword [rsp + 0x90], rdi
movups xmm0, xmmword [rcx]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rsp + 0x88], xmm1
mov qword [rcx + 0x10], rdi
mov qword [rcx + 0x18], 0xf
mov byte [rcx], 0
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x140002044
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000203f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000203f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140046f70
movdqa xmm0, xmmword [0x140050720]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x38], 0
lea rcx, [rsp + 0x58]
call fcn.140001c80
cmp qword [rax + 0x18], 0xf
jbe 0x14000206b
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x1400020b4
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400020af
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400020af
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140046f70
lea rdx, [rsp + 0x78]
cmp qword [rsp + 0x90], 0xf
cmova rdx, qword [rsp + 0x78]
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400020d5
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
test eax, eax
je 0x1400020e3
xor bl, bl
jmp 0x140002143
lea rax, [rsp + 0x78]
cmp rbx, rax
je 0x140002141
mov rdi, qword [rsp + 0x88]
lea r9, [rsp + 0x78]
cmp qword [rsp + 0x90], 0xf
cmova r9, qword [rsp + 0x78]
mov rax, qword [rbx + 0x18]
cmp rdi, rax
ja 0x140002136
mov rsi, rbx
cmp rax, 0xf
jbe 0x14000211e
mov rsi, qword [rbx]
mov qword [rbx + 0x10], rdi
mov r8, rdi
mov rdx, r9
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
mov byte [rsi + rdi], 0
jmp 0x140002141
mov rdx, rdi
mov rcx, rbx
call fcn.14000f040
mov bl, 1
mov rdx, qword [rsp + 0x90]
cmp rdx, 0xf
jbe 0x140002186
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002181
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002181
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140046f70
movzx eax, bl
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140046f50
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret