Function at 0x140004fa0
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
mov rax, qword [0x140016040]
xor rax, rsp
mov qword [rbp + 0x4f], rax
lea rcx, [rbp + 0x2f]
call fcn.140009de0
nop
lea rdx, [rbp + 0x2f]
cmp qword [rbp + 0x47], 0xf
cmova rdx, qword [rbp + 0x2f]
lea rbx, [0x1400160d8]
mov rcx, rbx
cmp qword [0x1400160f0], 0xf
cmova rcx, qword [0x1400160d8]
mov edi, 4
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
xorps xmm0, xmm0
xorps xmm1, xmm1
mov r8d, 7
lea rdx, str.app.log
test eax, eax
jne 0x14000518a
movups xmmword [rbp + 7], xmm0
movdqu xmmword [rbp + 0x17], xmm1
lea rcx, [rbp + 7]
call fcn.1400034f0
nop
mov rax, qword gs:[0x58]
mov rax, qword [rax]
mov eax, dword [rdi + rax]
cmp dword [0x1400173a0], eax
jle 0x140005092
lea rcx, [0x1400173a0]
call fcn.14000cc48
cmp dword [0x1400173a0], 0xffffffff
jne 0x140005092
xor edx, edx
mov r8d, 0x158
lea rcx, [0x1400173b0]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 7]
call fcn.140002b40
lea rcx, [0x14000e730]
call fcn.14000cff4
nop
lea rcx, [0x1400173a0]
call fcn.14000cbdc
movabs rax, 0x7fffffffffffffff
mov rcx, qword [rbp + 0x3f]
sub rax, rcx
cmp rax, 0x11
jb 0x140005360
lea rax, [rbp + 0x2f]
cmp qword [rbp + 0x47], 0xf
cmova rax, qword [rbp + 0x2f]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x11
lea r9, str.File_renamed_to:
lea rcx, [rbp - 0x19]
call fcn.14000bae0
nop
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x19]
lea rcx, [0x1400173b0]
call fcn.140003020
nop
mov rdx, qword [rbp - 1]
cmp rdx, 0xf
jbe 0x140005134
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000512f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000512f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000d014
movdqa xmm0, xmmword [0x140010360]
movdqu xmmword [rbp - 9], xmm0
mov byte [rbp - 0x19], 0
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0xf
jbe 0x140005183
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000517e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000517e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000d014
mov bl, 1
jmp 0x1400052f8
movups xmmword [rbp - 0x19], xmm0
movdqu xmmword [rbp - 9], xmm1
lea rcx, [rbp - 0x19]
call fcn.1400034f0
nop
mov rax, qword gs:[0x58]
mov rax, qword [rax]
mov eax, dword [rdi + rax]
cmp dword [0x1400173a0], eax
jle 0x1400051ff
lea rcx, [0x1400173a0]
call fcn.14000cc48
cmp dword [0x1400173a0], 0xffffffff
jne 0x1400051ff
xor edx, edx
mov r8d, 0x158
lea rcx, [0x1400173b0]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp - 0x19]
call fcn.140002b40
lea rcx, [0x14000e730]
call fcn.14000cff4
nop
lea rcx, [0x1400173a0]
call fcn.14000cbdc
mov rcx, qword [0x1400160e8]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 0x15
jb 0x14000535a
cmp qword [0x1400160f0], 0xf
cmova rbx, qword [0x1400160d8]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], 0x15
lea r9, str.Error_renaming_file:
lea rcx, [rbp + 7]
call fcn.14000bae0
nop
xor r9d, r9d
lea r8d, [r9 + 2]
lea rdx, [rbp + 7]
lea rcx, [0x1400173b0]
call fcn.140003020
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0xf
jbe 0x1400052a7
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400052a2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400052a2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000d014
movdqa xmm0, xmmword [0x140010360]
movdqu xmmword [rbp + 0x17], xmm0
mov byte [rbp + 7], 0
mov rdx, qword [rbp - 1]
cmp rdx, 0xf
jbe 0x1400052f6
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400052f1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400052f1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000d014
xor bl, bl
mov rdx, qword [rbp + 0x47]
cmp rdx, 0xf
jbe 0x140005336
inc rdx
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005331
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005331
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000d014
movzx eax, bl
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.14000cb80
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
call fcn.1400015c0
nop
call fcn.1400015c0
int3