Function at 0x1400a1c00
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov qword [rsp + 0x18], r14
mov qword [rsp + 0x20], r15
push rbp
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x1400f0028]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
xor r15d, r15d
mov r8d, 0x104
lea rdx, [rbp + 0xb0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], r15
lea rax, [rbp + 0xb0]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], r15b
jne 0x1400a1c70
lea rdx, [rbp + 0xb0]
lea rcx, [rsp + 0x68]
call fcn.140003660
nop
mov rdi, qword [rsp + 0x78]
lea rbx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0x10
setae r14b
cmovae rbx, qword [rsp + 0x68]
test rdi, rdi
je 0x1400a1d17
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], rax
mov dword [rbp + 8], eax
xor edx, edx
mov r8d, 0xa3
lea rcx, [rbp + 0xd]
call sub.VCRUNTIME140.dll_memset
mov byte [rbp + 0xc], 1
lea rcx, [rdi - 1]
mov rax, 0xffffffffffffffff
cmp rcx, rax
cmovb rax, rcx
add rax, rbx
movzx ecx, byte [rax]
cmp byte [rbp + rcx - 0x50], 0
jne 0x1400a1d12
nop dword [rax]
cmp rax, rbx
je 0x1400a1d17
dec rax
movzx ecx, byte [rax]
cmp byte [rbp + rcx - 0x50], 0
je 0x1400a1d00
sub rax, rbx
jmp 0x1400a1d1e
mov rax, 0xffffffffffffffff
lea rcx, [rax + 1]
mov qword [rbp - 0x78], r15
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x68], xmm0
cmp rdi, rcx
jb 0x1400a1fb5
mov rax, rdi
sub rax, rcx
cmp rax, rdi
cmovb rdi, rax
lea rdx, [rsp + 0x68]
test r14b, r14b
cmovne rdx, qword [rsp + 0x68]
add rdx, rcx
mov r8, rdi
lea rcx, [rbp - 0x78]
call fcn.140003660
nop
mov qword [rsp + 0x48], r15
movdqa xmm0, xmmword [0x1400da350]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x2aaaaaab
imul r8d
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [rdx + rdx*2]
add ecx, ecx
sub r8d, ecx
movsxd rdx, r8d
add rdx, 5
lea rcx, [rsp + 0x28]
call fcn.1400a1990
mov rbx, rax
lea rax, [rsp + 0x48]
cmp rax, rbx
je 0x1400a1e24
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x1400a1df1
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a1dec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a1e58
call fcn.1400a4c6c
movdqa xmm0, xmmword [0x1400da350]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x1400a1e64
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a1e5f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a1e5f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a4c6c
mov r8d, 4
lea rdx, str..exe
lea rcx, [rsp + 0x48]
call fcn.140006b60
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae rdx, qword [rsp + 0x48]
lea rcx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0x10
cmovae rcx, qword [rbp - 0x78]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
test eax, eax
sete bl
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x1400a1ee5
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a1ee0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a1ee0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a4c6c
movdqa xmm0, xmmword [0x1400da350]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x1400a1f36
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a1f31
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a1f31
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a4c6c
movdqa xmm0, xmmword [0x1400da350]
movdqu xmmword [rbp - 0x68], xmm0
mov byte [rbp - 0x78], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x1400a1f86
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a1f81
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a1f81
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a4c6c
movzx eax, bl
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1400a4570
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r14, qword [r11 + 0x20]
mov r15, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.140006c20
nop
int3