Function at 0x14003b060
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x90
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x1400f9080]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov edi, dword [0x1400fb044]
movsxd rax, dword [0x1400fb424]
xor esi, esi
mov r9d, esi
cmp eax, 0x7b
ja 0x14003b0af
lea r9, [0x1400f9650]
mov r9, qword [r9 + rax*8]
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
mov qword [rbp + 0x27], rsi
mov ecx, reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x2f], rcx
mov byte [rbp + 0x17], sil
test r9, r9
jne 0x14003b0f2
mov qword [rbp + 0x27], 0xa
movsd xmm0, qword [str.Select_Key]
movsd qword [rbp + 0x17], xmm0
movzx eax, word [0x1400e5210]
mov word [rbp + 0x1f], ax
mov byte [rbp + 0x21], r9b
jmp 0x14003b136
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [r9 + rbx], 0
jne 0x14003b100
lea rcx, [rbp + 0x17]
cmp rbx, 0xf
ja 0x14003b12a
mov qword [rbp + 0x27], rbx
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rbp + rbx + 0x17], 0
jmp 0x14003b132
mov rdx, rbx
call fcn.1400569c0
mov rcx, qword [rbp + 0x2f]
cmp edi, 1
jne 0x14003b184
cmp rcx, 0xd
jb 0x14003b16f
lea rbx, [rbp + 0x17]
cmp rcx, 0xf
cmova rbx, qword [rbp + 0x17]
mov qword [rbp + 0x27], reloc.WS2_32.dll_listen
lea r8d, [rdi + 0xc]
lea rdx, str.Press_the_key
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0xd], 0
jmp 0x14003b184
lea r9, str.Press_the_key
mov edx, reloc.WS2_32.dll_listen
lea rcx, [rbp + 0x17]
call fcn.1400569c0
movaps xmm6, xmmword [0x1400e78d0]
mov rbx, qword [0x1400faf80]
mov dword [rbp - 1], reloc.WS2_32.dll_setsockopt
movups xmm0, xmmword [rbx + 0x39f4]
movups xmmword [rbp + 3], xmm0
lea rcx, [rbx + 0x4820]
lea rdx, [rbp - 1]
call fcn.14001b3d0
movups xmmword [rbx + 0x39f4], xmm6
movaps xmm6, xmmword [0x1400e78f0]
mov rbx, qword [0x1400faf80]
mov dword [rbp - 1], esi
movups xmm0, xmmword [rbx + 0x38a4]
movups xmmword [rbp + 3], xmm0
lea rcx, [rbx + 0x4820]
lea rdx, [rbp - 1]
call fcn.14001b3d0
movups xmmword [rbx + 0x38a4], xmm6
mov dword [rbp - 9], 0x42fa0000
mov dword [rbp - 5], 0x41a00000
lea rcx, [rbp + 0x17]
cmp qword [rbp + 0x2f], 0xf
cmova rcx, qword [rbp + 0x17]
lea rdx, [rbp - 9]
call fcn.14002fc80
test al, al
je 0x14003b238
test edi, edi
jne 0x14003b238
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8, [0x14003b010]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r9d, 1
mov r8, qword [0x1400faf80]
mov eax, dword [r8 + 0x4820]
cmp eax, r9d
cmovl r9d, eax
test r9d, r9d
jle 0x14003b29b
nop dword [rax + rax]
cdqe
lea rdx, [rax + rax*4]
mov rcx, qword [r8 + 0x4828]
movsxd rax, dword [rcx + rdx*4 - 0x14]
add rax, rax
movups xmm0, xmmword [rcx + rdx*4 - 0x10]
movups xmmword [r8 + rax*8 + 0x38a4], xmm0
mov eax, dword [r8 + 0x4820]
dec eax
mov dword [r8 + 0x4820], eax
dec r9d
test r9d, r9d
jg 0x14003b260
cmp eax, 1
jl 0x14003b2ca
cdqe
lea rdx, [rax + rax*4]
mov rcx, qword [r8 + 0x4828]
movsxd rax, dword [rcx + rdx*4 - 0x14]
add rax, rax
movups xmm0, xmmword [rcx + rdx*4 - 0x10]
movups xmmword [r8 + rax*8 + 0x38a4], xmm0
dec dword [r8 + 0x4820]
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0xf
jbe 0x14003b308
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003b303
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003b303
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c8e1c
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1400c8a90
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret