Function at 0x140cc49f0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
movsx rax, byte [rcx + 0x4ed]
movzx r14d, r8b
mov rbp, qword [rcx]
mov rdi, rdx
mov rbx, rcx
lea rsi, [rax + rax*2]
mov rax, qword [rcx + 8]
shl rsi, 7
test rax, rax
je 0x140cc4a51
cmp dword [rax + 0x328], 0
je 0x140cc4a51
movzx ecx, word [rcx + 0x4b8]
sub ecx, 0x208
je 0x140cc4a6e
cmp ecx, 1
je 0x140cc4b51
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rbx + 0x448], 0
je 0x140cc4a90
lea r8, str.lws_server_socket_service_ssl
mov ecx, 1
lea rdx, str._s:_leaking_ssl_n
call fcn.140ca84f0
mov rcx, rbx
call fcn.140cb82c0
test eax, eax
je 0x140cc4abb
lea r8, str.lws_server_socket_service_ssl
mov ecx, 1
lea rdx, str._s:_failed_on_ssl_restriction_n
call fcn.140ca84f0
mov eax, 1
jmp 0x140cc4a53
mov rdx, rdi
mov rcx, rbx
call fcn.140cce230
test eax, eax
je 0x140cc4b03
lea r8, str.lws_server_socket_service_ssl
mov ecx, 1
lea rdx, str._s:_failed_on_lws_tls_server_new_nonblocking_n
call fcn.140ca84f0
cmp rdi, 0xffffffffffffffff
je 0x140cc4af1
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, rbx
call fcn.140cb83a0
mov eax, 1
jmp 0x140cc4a53
mov rdx, rbx
mov word [rbx + 0x4b8], 0x209
mov rcx, rbp
call fcn.140cac620
test eax, eax
je 0x140cc4b3d
lea r8, str.lws_server_socket_service_ssl
mov ecx, 1
lea rdx, str._s:_failed_to_insert_into_fds_n
call fcn.140ca84f0
mov eax, 1
jmp 0x140cc4a53
mov r8d, dword [rbp + 0x898]
mov edx, 9
mov rcx, rbx
call fcn.140cb9d70
xor r8d, r8d
mov edx, reloc.WS2_32.dll_recv
mov rcx, rbx
call fcn.140cad110
test eax, eax
je 0x140cc4b87
lea r8, str.lws_server_socket_service_ssl
mov ecx, 1
lea rdx, str._s:_lws_change_pollfd_failed_n
call fcn.140ca84f0
mov eax, 1
jmp 0x140cc4a53
mov rax, qword [rbx + 8]
cmp dword [rax + 0x32c], 0
je 0x140cc4cee
test dword [rbx + 0x4d8], 0x200
jne 0x140cc4cee
mov r8d, dword [rbp + 0x89c]
mov r9d, 2
mov rdx, qword [rsi + rbp + 0x308]
mov rcx, qword [rbx + 0x4b0]
call qword [sym.imp.WS2_32.dll_recv]
cmp eax, 1
jl 0x140cc4c85
mov rax, qword [rsi + rbp + 0x308]
cmp byte [rax], 0x20
jb 0x140cc4cee
xor edi, edi
mov rcx, rbx
mov dword [rbx + 0x490], edi
call fcn.140ccdaf0
mov r9, qword [rbx + 8]
mov qword [rbx + 0x448], rdi
mov rcx, qword [r9 + 0x1e0]
mov rax, rcx
and eax, 0x1800
cmp rax, 0x1800
jne 0x140cc4c2b
or dword [rbx + 0x494], 1
mov word [rbx + 0x4b8], 0x119
jmp 0x140cc4a51
bt rcx, 0x1d
jb 0x140cc4c1d
bt rcx, 0x14
jae 0x140cc4c5c
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.140cb3cb0
test eax, eax
jne 0x140cc4dc2
mov word [rbx + 0x4b8], 0x119
jmp 0x140cc4a51
mov r9, qword [r9 + 0x218]
lea r8, str.lws_server_socket_service_ssl
lea rdx, str._s:_client_did_not_send_a_valid_tls_hello__default_vhost__s__n
mov ecx, 4
call fcn.140ca84f0
mov eax, 1
jmp 0x140cc4a53
test eax, eax
jne 0x140cc4c98
test r14b, r14b
je 0x140cc4cb4
mov eax, 1
jmp 0x140cc4a53
jns 0x140cc4cee
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x140cc4cb4
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x140cc4cee
xor edx, edx
mov r8d, 0x300
mov rcx, rbx
call fcn.140cad110
test eax, eax
je 0x140cc4a51
lea r8, str.lws_server_socket_service_ssl
mov ecx, 1
lea rdx, str._s:_change_pollfd_failed_n
call fcn.140ca84f0
mov eax, 0xffffffff
jmp 0x140cc4a53
call fcn.140cf5204
xor edi, edi
mov rcx, rbx
mov dword [rax], edi
call fcn.140ccdb20
cmp eax, 0xffffffff
je 0x140cc4db0
test eax, eax
jne 0x140cc4a51
mov rcx, rbx
call fcn.140cb8450
mov rdi, qword [rbp + 0x5c8]
test rdi, rdi
je 0x140cc4d61
test byte [rdi + 0x36c], 4
jne 0x140cc4d48
cmp qword [rbx + 0x448], 0
je 0x140cc4d48
mov rcx, rbx
call fcn.140caf8b0
cmp qword [rdi + 0x2c8], rax
je 0x140cc4d56
mov rdi, qword [rdi + 0x1f0]
test rdi, rdi
jne 0x140cc4d24
jmp 0x140cc4d61
mov rdx, rbx
mov rcx, rdi
call fcn.140ca7880
mov r8d, dword [rbp + 0x898]
mov edx, 3
mov rcx, rbx
call fcn.140cb9d70
mov rcx, rbx
mov word [rbx + 0x4b8], 0x119
call fcn.140cb84b0
test eax, eax
je 0x140cc4a51
lea r8, str.lws_server_socket_service_ssl
mov ecx, 2
lea rdx, str._s:_fail_on_alpn_n
call fcn.140ca84f0
mov eax, 1
jmp 0x140cc4a53
mov rcx, rbx
call fcn.140cb8450
or dword [rbx + 0x4d4], 0x1000
mov eax, 1
jmp 0x140cc4a53