Function at 0x140005430
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 [0x140017040]
xor rax, rsp
mov qword [rbp + 0x4f], rax
lea rcx, [rbp + 0x2f]
call fcn.14000a4f0
nop
lea rdx, [rbp + 0x2f]
cmp qword [rbp + 0x47], 0xf
cmova rdx, qword [rbp + 0x2f]
lea rbx, [0x1400170d8]
mov rcx, rbx
cmp qword [0x1400170f0], 0xf
cmova rcx, qword [0x1400170d8]
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, 0xb
lea rdx, str.updater.log
test eax, eax
jne 0x14000561a
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 [0x1400183a0], eax
jle 0x140005522
lea rcx, [0x1400183a0]
call fcn.14000d318
cmp dword [0x1400183a0], 0xffffffff
jne 0x140005522
xor edx, edx
mov r8d, 0x158
lea rcx, [0x1400183b0]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 7]
call fcn.140002b40
lea rcx, [0x14000ee30]
call fcn.14000d6c4
nop
lea rcx, [0x1400183a0]
call fcn.14000d2ac
movabs rax, 0x7fffffffffffffff
mov rcx, qword [rbp + 0x3f]
sub rax, rcx
cmp rax, 0x11
jb 0x1400057f0
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.14000c1b0
nop
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x19]
lea rcx, [0x1400183b0]
call fcn.140003020
nop
mov rdx, qword [rbp - 1]
cmp rdx, 0xf
jbe 0x1400055c4
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400055bf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400055bf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000d6e4
movdqa xmm0, xmmword [0x140011540]
movdqu xmmword [rbp - 9], xmm0
mov byte [rbp - 0x19], 0
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0xf
jbe 0x140005613
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000560e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000560e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000d6e4
mov bl, 1
jmp 0x140005788
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 [0x1400183a0], eax
jle 0x14000568f
lea rcx, [0x1400183a0]
call fcn.14000d318
cmp dword [0x1400183a0], 0xffffffff
jne 0x14000568f
xor edx, edx
mov r8d, 0x158
lea rcx, [0x1400183b0]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp - 0x19]
call fcn.140002b40
lea rcx, [0x14000ee30]
call fcn.14000d6c4
nop
lea rcx, [0x1400183a0]
call fcn.14000d2ac
mov rcx, qword [0x1400170e8]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 0x15
jb 0x1400057ea
cmp qword [0x1400170f0], 0xf
cmova rbx, qword [0x1400170d8]
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.14000c1b0
nop
xor r9d, r9d
lea r8d, [r9 + 2]
lea rdx, [rbp + 7]
lea rcx, [0x1400183b0]
call fcn.140003020
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0xf
jbe 0x140005737
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005732
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005732
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000d6e4
movdqa xmm0, xmmword [0x140011540]
movdqu xmmword [rbp + 0x17], xmm0
mov byte [rbp + 7], 0
mov rdx, qword [rbp - 1]
cmp rdx, 0xf
jbe 0x140005786
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005781
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005781
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000d6e4
xor bl, bl
mov rdx, qword [rbp + 0x47]
cmp rdx, 0xf
jbe 0x1400057c6
inc rdx
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400057c1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400057c1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000d6e4
movzx eax, bl
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.14000d250
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