Function at 0x14005dce0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x140180f00]
xor rax, rsp
mov qword [rbp - 8], rax
mov r14d, dword [0x14025b9a4]
xor edx, edx
cmp ecx, 0x7b
ja 0x14005dd26
movsxd rax, ecx
lea rdx, [0x14025a100]
mov rdx, qword [rdx + rax*8]
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], 0
mov edi, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x10], rdi
mov byte [rbp - 0x28], 0
test rdx, rdx
jne 0x14005dd6c
mov qword [rbp - 0x18], 0xa
movsd xmm0, qword [str.Select_Key]
movsd qword [rbp - 0x28], xmm0
movzx eax, word [0x140169b80]
mov word [rbp - 0x20], ax
mov byte [rbp - 0x1e], dl
jmp 0x14005dd8a
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x14005dd73
lea rcx, [rbp - 0x28]
call fcn.140037190
mov rdi, qword [rbp - 0x10]
cmp r14d, 1
jne 0x14005dec4
cmp rdi, 0xd
jb 0x14005ddcd
lea rbx, [rbp - 0x28]
cmp rdi, 0xf
cmova rbx, qword [rbp - 0x28]
mov qword [rbp - 0x18], reloc.WS2_32.dll_listen
mov r8d, reloc.WS2_32.dll_listen
lea rdx, str.Press_the_Key
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0xd], 0
jmp 0x14005dec0
mov rcx, rdi
shr rcx, 1
movabs rsi, 0x7fffffffffffffff
mov rax, rsi
sub rax, rcx
cmp rdi, rax
jbe 0x14005de15
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.14011d128
test rax, rax
je 0x14005deb0
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x14005de52
lea rax, [rcx + rdi]
mov esi, reloc.WS2_32.dll_ntohs
cmp rax, rsi
cmova rsi, rax
lea rcx, [rsi + 1]
test rcx, rcx
jne 0x14005de32
xor ebx, ebx
jmp 0x14005de52
cmp rcx, 0x1000
jb 0x14005de4a
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14005df78
jmp 0x14005ddf6
call fcn.14011d128
mov rbx, rax
mov qword [rbp - 0x18], reloc.WS2_32.dll_listen
mov qword [rbp - 0x10], rsi
movsd xmm0, qword [str.Press_the_Key]
movsd qword [rbx], xmm0
mov ecx, dword [0x140169b90]
mov dword [rbx + 8], ecx
movzx ecx, byte [0x140169b94]
mov byte [rbx + 0xc], cl
mov byte [rbx + 0xd], 0
cmp rdi, 0xf
jbe 0x14005debc
lea rdx, [rdi + 1]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005deb7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005deb7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14011cd50
mov qword [rbp - 0x28], rbx
mov rdi, qword [rbp - 0x10]
mov dword [rbp - 0x30], 0x429a0000
mov dword [rbp - 0x2c], 0x41a00000
lea rcx, [rbp - 0x28]
cmp rdi, 0xf
cmova rcx, qword [rbp - 0x28]
lea rdx, [rbp - 0x30]
call fcn.140032b40
test al, al
je 0x14005df14
test r14d, r14d
jne 0x14005df14
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], r14d
xor r9d, r9d
lea r8, [0x14005dc20]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x14005df52
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005df4d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005df4d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14011cd50
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14011c9c0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.1400318a0
nop
int3