Function at 0x140001c60
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r13
push r14
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov rax, qword [0x140007020]
xor rax, rsp
mov qword [rbp + 0x200], rax
xor r12d, r12d
mov r8d, 0x104
lea rdx, [rbp + 0xf0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r12
lea rax, [rbp + 0xf0]
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rax + rdi], r12b
jne 0x140001cd1
movabs r14, 0x7fffffffffffffff
cmp rdi, r14
ja 0x140002083
mov r13d, 0x16
mov qword [rsp + 0x40], 0xf
cmp rdi, 0x10
jae 0x140001d22
mov qword [rsp + 0x38], rdi
mov r8, rdi
lea rdx, [rbp + 0xf0]
lea rcx, [rsp + 0x28]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rdi + 0x28], r12b
jmp 0x140001d70
mov rsi, rdi
or rsi, 0xf
cmp rsi, r14
jbe 0x140001d33
mov rsi, r14
jmp 0x140001d3a
cmp rsi, r13
cmovb rsi, r13
lea rdx, [rsi + 1]
lea rcx, [rsp + 0x28]
call fcn.140001740
mov rbx, rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], rsi
mov r8, rdi
lea rdx, [rbp + 0xf0]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rdi], r12b
lea rbx, [rsp + 0x28]
mov rsi, qword [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rbx, rsi
mov rdi, qword [rsp + 0x38]
test rdi, rdi
je 0x140001dfa
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rax
mov dword [rbp - 0x38], eax
xor edx, edx
mov r8d, 0xa3
lea rcx, [rbp - 0x33]
call sub.VCRUNTIME140.dll_memset
mov byte [rbp - 0x34], 1
lea rax, [rdi - 1]
mov rcx, 0xffffffffffffffff
cmp rax, rcx
cmovb rcx, rax
add rcx, rbx
movzx eax, byte [rcx]
cmp byte [rsp + rax + 0x70], 0
jne 0x140001df5
cmp rcx, rbx
je 0x140001dfa
dec rcx
movzx eax, byte [rcx]
cmp byte [rsp + rax + 0x70], 0
je 0x140001de3
sub rcx, rbx
jmp 0x140001e01
mov rcx, 0xffffffffffffffff
inc rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r12
cmp rdi, rcx
jb 0x140002089
mov rax, rdi
sub rax, rcx
cmp rax, rdi
cmovb rdi, rax
lea rax, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rax, rsi
lea rsi, [rax + rcx]
cmp rdi, r14
ja 0x140002077
mov qword [rsp + 0x60], 0xf
cmp rdi, 0x10
jae 0x140001e6e
mov qword [rsp + 0x58], rdi
mov r8, rdi
mov rdx, rsi
lea rcx, [rsp + 0x48]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rdi + 0x48], 0
jmp 0x140001eb7
mov rax, rdi
or rax, 0xf
cmp rax, r14
ja 0x140001e85
mov r14, rax
cmp rax, 0x16
cmovb r14, r13
lea rdx, [r14 + 1]
lea rcx, [rsp + 0x48]
call fcn.140001740
mov rbx, rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], r14
mov r8, rdi
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rdi], 0
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
movaps xmm0, xmmword [str.01234567889ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz]
movaps xmmword [rbp + 0x70], xmm0
movaps xmm1, xmmword [0x1400044f0]
movaps xmmword [rbp + 0x80], xmm1
movaps xmm0, xmmword [0x140004500]
movaps xmmword [rbp + 0x90], xmm0
movaps xmm1, xmmword [0x140004510]
movaps xmmword [rbp + 0xa0], xmm1
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x2aaaaaab
imul r8d
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [rdx + rdx*2]
shl ecx, 3
sub r8d, ecx
movsxd rdi, r8d
add rdi, 0x17
test rdi, rdi
jle 0x140001f6b
mov rbx, r12
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x82082083
imul r8d
add edx, r8d
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0x3f
sub r8d, ecx
movsxd rax, r8d
movzx ecx, byte [rbp + rax + 0x70]
mov byte [rbp + rbx + 0xb0], cl
inc rbx
cmp rbx, rdi
jl 0x140001f30
cmp rdi, 0x3f
jae 0x14000207d
mov byte [rbp + rdi + 0xb0], 0
lea r8, str..exe
mov edx, 0x3f
lea rcx, [rbp + 0xb0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae rcx, qword [rsp + 0x48]
lea rdx, [rbp + 0xb0]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x140001ff4
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001fef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001fef
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002460
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], 0
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x140002047
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002042
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002042
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002460
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.140002810
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop rbp
ret
call fcn.140001700
nop
call fcn.140002570
nop
call fcn.140001700
nop
call fcn.140001720
int3