Function at 0x140050fd0
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]
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r12
lea rax, [rbp + 0xc0]
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rax + rdi], r12b
jne 0x140051026
movabs r14, 0x7fffffffffffffff
cmp rdi, r14
ja 0x1400513ba
mov r13d, reloc.WLDAP32.dll_Ordinal_22
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
cmp rdi, 0x10
jae 0x140051077
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 0x1400510c5
mov rsi, rdi
or rsi, 0xf
cmp rsi, r14
jbe 0x140051088
mov rsi, r14
jmp 0x14005108f
cmp rsi, r13
cmovb rsi, r13
lea rdx, [rsi + 1]
lea rcx, [rsp + 0x20]
call fcn.14004e180
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 0x14005114e
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 0x140051149
cmp rcx, rbx
je 0x14005114e
dec rcx
movzx eax, byte [rcx]
cmp byte [rbp + rax - 0x40], 0
je 0x140051137
sub rcx, rbx
jmp 0x140051155
mov rcx, 0xffffffffffffffff
inc rcx
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x50], r12
cmp rdi, rcx
jb 0x1400513c0
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 0x1400513b4
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
cmp rdi, 0x10
jae 0x1400511bf
mov qword [rsp + 0x50], rdi
mov r8, rdi
mov rdx, rsi
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memmove
mov byte [rsp + rdi + 0x40], 0
jmp 0x140051208
mov rax, rdi
or rax, 0xf
cmp rax, r14
ja 0x1400511d6
mov r14, rax
cmp rax, 0x16
cmovb r14, r13
lea rdx, [r14 + 1]
lea rcx, [rsp + 0x40]
call fcn.14004e180
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 [rsp + 0x78], xmm0
movups xmm1, xmmword [0x1400c8e98]
movups xmmword [rbp - 0x78], xmm1
movups xmm0, xmmword [0x1400c8ea8]
movups xmmword [rbp - 0x68], xmm0
movsd xmm1, qword [0x1400c8eb8]
movsd qword [rbp - 0x58], xmm1
mov eax, dword [0x1400c8ec0]
mov dword [rbp - 0x50], eax
movzx eax, word [0x1400c8ec4]
mov word [rbp - 0x4c], ax
movzx eax, byte [0x1400c8ec6]
mov byte [rbp - 0x4a], 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 0x1400512cd
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 [rsp + rax + 0x78]
mov byte [rsp + rbx + 0x60], cl
inc rbx
cmp rbx, rdi
jl 0x140051295
mov byte [rsp + rdi + 0x60], 0
lea r8, str..exe
mov edx, reloc.WS2_32.dll_sendto
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 0x140051345
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051340
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140051340
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bde8c
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 0x140051398
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051393
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140051393
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bde8c
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.14004e100
nop
call fcn.14004e100
nop
call fcn.14004e140
int3