Function at 0x1400205c0
Capabilities:
Move file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
xor r12d, r12d
mov r8d, 0x104
lea rdx, [rbp + 0xc0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r12
lea rax, [rbp + 0xc0]
mov rdi, 0xffffffffffffffff
nop dword [rax]
inc rdi
cmp byte [rax + rdi], r12b
jne 0x140020620
movabs r14, 0x7fffffffffffffff
cmp rdi, r14
ja 0x1400209b6
mov r13d, reloc.WLDAP32.dll_Ordinal_22
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
cmp rdi, 0x10
jae 0x140020671
mov qword [rsp + 0x30], rdi
mov r8, rdi
lea rdx, [rbp + 0xc0]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rdi + 0x20], r12b
jmp 0x1400206bf
mov rsi, rdi
or rsi, 0xf
cmp rsi, r14
jbe 0x140020682
mov rsi, r14
jmp 0x140020689
cmp rsi, r13
cmovb rsi, r13
lea rdx, [rsi + 1]
lea rcx, [rsp + 0x20]
call fcn.140009bb0
mov rbx, rax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rsi
mov r8, rdi
lea rdx, [rbp + 0xc0]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rdi], r12b
mov rdi, qword [rsp + 0x30]
lea rbx, [rsp + 0x20]
mov rsi, qword [rsp + 0x20]
cmp qword [rsp + 0x38], 0x10
cmovae rbx, rsi
test rdi, rdi
je 0x140020748
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], rax
mov dword [rbp + 0x18], eax
xor edx, edx
mov r8d, 0xa3
lea rcx, [rbp + 0x1d]
call sub.VCRUNTIME140.dll_memset
mov byte [rbp + 0x1c], 1
lea rax, [rdi - 1]
mov rcx, 0xffffffffffffffff
cmp rax, rcx
cmovb rcx, rax
add rcx, rbx
movzx eax, byte [rcx]
cmp byte [rbp + rax - 0x40], 0
jne 0x140020743
cmp rcx, rbx
je 0x140020748
dec rcx
movzx eax, byte [rcx]
cmp byte [rbp + rax - 0x40], 0
je 0x140020731
sub rcx, rbx
jmp 0x14002074f
mov rcx, 0xffffffffffffffff
inc rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r12
cmp rdi, rcx
jb 0x1400209bc
mov rax, rdi
sub rax, rcx
cmp rax, rdi
cmovb rdi, rax
lea rax, [rsp + 0x20]
cmp qword [rsp + 0x38], 0x10
cmovae rax, rsi
lea rsi, [rcx + rax]
cmp rdi, r14
ja 0x1400209b0
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
cmp rdi, 0x10
jae 0x1400207bc
mov qword [rsp + 0x50], rdi
mov r8, rdi
mov rdx, rsi
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rdi + 0x40], 0
jmp 0x140020805
mov rax, rdi
or rax, 0xf
cmp rax, r14
ja 0x1400207d3
mov r14, rax
cmp rax, 0x16
cmovb r14, r13
lea rdx, [r14 + 1]
lea rcx, [rsp + 0x40]
call fcn.140009bb0
mov rbx, rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], 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]
movups xmm0, xmmword [str.qwertyuiop___llkjhgfdsazxcvbnm_.__________12345677890_]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [0x140083738]
movups xmmword [rbp - 0x70], xmm1
movups xmm0, xmmword [0x140083748]
movups xmmword [rbp - 0x60], xmm0
movsd xmm0, qword [0x140083758]
movsd qword [rbp - 0x50], xmm0
mov eax, dword [0x140083760]
mov dword [rbp - 0x48], eax
movzx eax, word [0x140083764]
mov word [rbp - 0x44], ax
movzx eax, byte [0x140083766]
mov byte [rbp - 0x42], al
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 rdi, r8d
add rdi, 6
test rdi, rdi
jle 0x1400208c9
mov rbx, r12
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x38e38e39
imul r8d
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [rdx + rdx*8]
shl ecx, 2
sub r8d, ecx
movsxd rax, r8d
movzx ecx, byte [rbp + rax - 0x80]
mov byte [rsp + rbx + 0x60], cl
inc rbx
cmp rbx, rdi
jl 0x140020891
mov byte [rsp + rdi + 0x60], 0
lea r8, str..exe
mov edx, Ordinal_26
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140020941
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002093c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002093c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007cef0
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x40], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140020994
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002098f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002098f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007cef0
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret
call fcn.140001a90
nop
call fcn.140001a90
nop
call fcn.140009df0
int3