Function at 0x1400189d0
Capabilities:
Move file
Set console window title

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 - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x1400781b0]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
lea rcx, [rsp + 0x40]
call fcn.14000b1a0
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.140005680
cmp qword [rax + 0x18], 0x10
jb 0x140018a24
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x140018a6b
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018a66
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140018a66
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004dbe0
xor r15d, r15d
mov ebx, r15d
mov qword [rsp + 0x60], r15
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x60]
lea edx, [r15 + 8]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140018ab8
lea rax, [rbp - 0x58]
mov qword [rsp + 0x20], rax
lea r9d, [r15 + 4]
lea r8, [rbp - 0x80]
lea edx, [r15 + 0x14]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
cmovne ebx, dword [rbp - 0x80]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140018ac8
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x140018ad3
xor al, al
jmp 0x140018e69
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x104
lea rdx, [rbp - 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], r15w
lea rax, [rbp - 0x50]
mov rsi, 0xffffffffffffffff
mov r8, rsi
nop dword [rax]
inc r8
cmp word [rax + r8*2], r15w
jne 0x140018b20
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x78]
call fcn.14001f5f0
nop
mov edi, dword [rbp - 0x68]
lea r8, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae r8, qword [rbp - 0x78]
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
lea r9d, [rdi + 1]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rbx, eax
mov rcx, rbx
call fcn.14004e1ec
mov r14, rax
lea r8, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae r8, qword [rbp - 0x78]
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
lea r9d, [rdi + 1]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], socket
nop dword [rax + rax]
inc rsi
cmp byte [r14 + rsi], 0
jne 0x140018bc0
mov r8, rsi
mov rdx, r14
lea rcx, [rsp + 0x60]
call fcn.14001f770
mov rcx, r14
call fcn.14004dbe0
mov rdx, qword [0x1401c7840]
cmp rdx, 0x10
jb 0x140018c1f
mov rcx, qword [0x1401c7828]
inc rdx
cmp rdx, 0x1000
jb 0x140018c1a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140018c75
mov rcx, r8
call fcn.14004dbe0
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [0x1401c7828], xmm0
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [0x1401c7838], xmm1
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x140018c81
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018c7c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140018c7c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.14004dbe0
mov rcx, qword [0x1401c7838]
inc rcx
call fcn.14004e1ec
mov rdi, rax
lea rbx, [0x1401c7828]
mov r8, qword [0x1401c7838]
cmp qword [0x1401c7840], 0x10
jb 0x140018cb7
mov rdx, qword [0x1401c7828]
add r8, rdx
jmp 0x140018cbd
add r8, rbx
mov rdx, rbx
sub r8, rdx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov rax, qword [0x1401c7838]
mov byte [rax + rdi], 0
lea rcx, [rsp + 0x40]
call fcn.14000b1a0
nop
mov r8d, 4
lea rdx, str..exe
mov rcx, rax
call fcn.14001f8d0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x78], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], send
mov byte [rax], 0
mov rdx, qword [0x1401c7840]
cmp rdx, 0x10
jb 0x140018d58
mov rcx, qword [0x1401c7828]
inc rdx
cmp rdx, 0x1000
jb 0x140018d4a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140018da1
mov rcx, r8
call fcn.14004dbe0
movups xmm0, xmmword [rsp + 0x60]
movups xmm1, xmmword [rbp - 0x78]
movups xmmword [0x1401c7828], xmm0
movups xmmword [0x1401c7838], xmm1
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140018dad
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018da8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140018da8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.14004dbe0
cmp qword [0x1401c7840], 0x10
cmovae rbx, qword [0x1401c7828]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
mov rcx, rdi
call fcn.14004dbe0
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
call fcn.140011dd0
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
lea rdx, [rbp - 0x78]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
movzx ecx, word [rbp - 0x78]
mov word [rbp - 0x80], cx
movzx ecx, word [rbp - 0x68]
sub cx, word [rbp - 0x6c]
inc cx
mov word [rbp - 0x7e], cx
mov edx, dword [rbp - 0x80]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [0x1401cb650], rax
lea rdx, [0x1401cb640]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov edx, dword [0x1401cb640]
and edx, 0x80
mov rcx, qword [0x1401cb650]
call qword [sym.imp.KERNEL32.dll_SetConsoleMode]
mov al, 1
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.14004dbc0
lea r11, [rsp + 0x2d0]
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