Function at 0x1800e6130
Capabilities:
Create thread
Set console window title

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rdi, rcx
test edx, edx
je 0x1800e6359
cmp edx, 1
jne 0x1800e63c7
lea rcx, [rbp - 0x20]
call fcn.18000b390
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
mov r8d, recv
lea rdx, [0x1801026d0]
lea rcx, [rbp - 0x40]
call fcn.1800068e0
nop
mov rdx, rbx
lea rcx, [rbp - 0x40]
call fcn.18000b4b0
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x1800e61d4
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800e61ce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800e61ce
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180093b94
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x1800e6212
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800e620d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800e620d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180093b94
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
mov r8d, 8
lea rdx, str.PacketV3
lea rcx, [rbp - 0x40]
call fcn.1800068e0
call qword [sym.imp.KERNEL32.dll_AllocConsole]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rax
lea r8, [0x180100274]
lea rdx, str.CONOUT_
lea rcx, [0x180148a88]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rcx, qword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov byte [0x180148f18], 1
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x1800e62bf
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800e62ba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800e62ba
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180093b94
call fcn.18000c640
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
mov r8d, socket
lea rdx, str.Attached_to:_Minecraft
lea rcx, [rbp - 0x40]
call fcn.1800068e0
nop
lea rcx, [rbp - 0x40]
call fcn.18000c170
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x1800e632f
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800e632a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800e63bb
call fcn.180093b94
xor eax, eax
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], eax
mov r9, rdi
lea r8, [0x180030510]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
jmp 0x1800e63c7
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
mov r8d, 0x18
lea rdx, str.Detached_from:_Minecraft
lea rcx, [rbp - 0x40]
call fcn.1800068e0
nop
lea rcx, [rbp - 0x40]
call fcn.18000c170
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x1800e63c7
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800e63c2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800e63c2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180093b94
mov eax, 1
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret