Function at 0x1400723c0
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 - 0x1f0]
sub rsp, 0x2f0
mov rax, qword [0x140110040]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
xor edi, edi
mov r8d, 0x104
lea rdx, [rbp + 0xd0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], rdi
lea rax, [rbp + 0xd0]
mov r14, 0xffffffffffffffff
mov r8, r14
nop dword [rax]
inc r8
cmp byte [rax + r8], dil
jne 0x140072430
lea rdx, [rbp + 0xd0]
lea rcx, [rsp + 0x70]
call fcn.14008eab0
nop
movzx eax, word [0x1401039a4]
mov word [rsp + 0x20], ax
cmp byte [0x1401039a5], 0
je 0x14007246a
mov byte [rsp + 0x20], 0x5c
xor byte [rsp + 0x21], 0x32
lea rax, [rsp + 0x20]
mov rbx, r14
inc rbx
cmp byte [rax + rbx], 0
jne 0x140072472
lea rsi, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova rsi, qword [rsp + 0x70]
mov r15, qword [rbp - 0x80]
test rbx, rbx
je 0x140072517
test r15, r15
je 0x140072517
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x20]
lea rdx, [rsp + 0x20]
add rdx, rbx
lea rax, [rsp + 0x20]
cmp rax, rdx
je 0x1400724e0
nop word [rax + rax]
movzx eax, byte [rcx]
mov byte [rbp + rax - 0x50], 1
inc rcx
cmp rcx, rdx
jne 0x1400724d0
lea rcx, [r15 - 1]
mov rax, r14
cmp rcx, rax
cmovb rax, rcx
add rax, rsi
movzx ecx, byte [rax]
cmp byte [rbp + rcx - 0x50], 0
jne 0x140072512
nop dword [rax + rax]
cmp rax, rsi
je 0x140072517
dec rax
movzx ecx, byte [rax]
cmp byte [rbp + rcx - 0x50], 0
je 0x140072500
sub rax, rsi
jmp 0x14007251a
mov rax, r14
lea rcx, [rax + 1]
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
cmp r15, rcx
jb 0x140072747
sub r15, rcx
cmp r15, 0xffffffffffffffff
cmovb r14, r15
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova rdx, qword [rsp + 0x70]
add rdx, rcx
mov r8, r14
lea rcx, [rbp - 0x70]
call fcn.14008eab0
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
movups xmm0, xmmword [str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [0x1401013c8]
movups xmmword [rsp + 0x40], xmm1
movups xmm0, xmmword [0x1401013d8]
movups xmmword [rsp + 0x50], xmm0
movsd xmm0, qword [0x1401013e8]
movsd qword [rsp + 0x60], xmm0
mov eax, dword [0x1401013f0]
mov dword [rsp + 0x68], eax
movzx eax, word [0x1401013f4]
mov word [rsp + 0x6c], ax
movzx eax, byte [0x1401013f6]
mov byte [rsp + 0x6e], al
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x80000007
jge 0x1400725d7
dec eax
or eax, 0xfffffff8
inc eax
movsxd rbx, eax
add rbx, 8
test rbx, rbx
jle 0x14007261e
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x84210843
imul r8d
add edx, r8d
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0x3e
sub r8d, ecx
movsxd rax, r8d
movzx ecx, byte [rsp + rax + 0x30]
mov byte [rbp + rdi + 0xb0], cl
inc rdi
cmp rdi, rbx
jl 0x1400725e3
cmp rbx, 0x14
jae 0x14007274d
mov byte [rbp + rbx + 0xb0], 0
mov eax, dword [0x140101af8]
mov dword [rsp + 0x24], eax
movzx eax, byte [0x140101afc]
mov byte [rsp + 0x24], 0x2e
xor byte [rsp + 0x25], 0x32
xor byte [rsp + 0x26], 0x33
xor byte [rsp + 0x27], 0x34
xor al, 0x35
mov byte [rsp + 0x28], al
lea r8, [rsp + 0x24]
mov edx, 0x14
lea rcx, [rbp + 0xb0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova rcx, qword [rbp - 0x70]
lea rdx, [rbp + 0xb0]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x1400726cb
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400726c6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400726c6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140090660
movdqa xmm0, xmmword [0x140103f20]
movdqu xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x70], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x14007271b
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140072716
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140072716
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140090660
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.1400905f0
lea r11, [rsp + 0x2f0]
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
call fcn.14008c8c0
nop
call fcn.140090c10
int3