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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
cmp dword [section..data], 4
mov rsi, r9
mov r14, r8
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x50], 0
jl 0x14000ff8d
test dword [0x1400f6060], 0x40000
je 0x14000ff8d
lea rax, str.Socket_in_its_opening_state_n
lea r9, str.........ESIF_WSSourcesesif_ws_server.c
lea r8, str.esif_ws_client_open_client
mov qword [rsp + 0x28], rax
mov edx, 4
mov ecx, 0x40000
mov dword [rsp + 0x20], 0x250
call fcn.140001a82
lea r8, [rbx + 0xc]
mov rdx, rsi
mov rcx, rdi
call fcn.140001b63
cmp eax, 0xf2
je 0x140010098
cmp eax, 0xf1
je 0x14001006d
cmp eax, 0xf3
jne 0x14001004f
lea r9, [rsp + 0x50]
lea rcx, [rbx + 0xc]
mov r8, r14
mov rdx, rdi
call fcn.140001997
test eax, eax
je 0x140010028
cmp dword [section..data], 4
jl 0x140010103
test dword [0x1400f6060], 0x40000
je 0x140010103
lea rax, str.Unable_to_build_response_header_n
lea r9, str.........ESIF_WSSourcesesif_ws_server.c
lea r8, str.esif_ws_client_open_client
mov qword [rsp + 0x28], rax
mov edx, 4
mov ecx, 0x40000
mov dword [rsp + 0x20], 0x271
call fcn.140001a82
jmp 0x140010103
mov r8, qword [rsp + 0x50]
mov rdx, rdi
mov rcx, rbx
call fcn.140010820
cmp eax, 1
je 0x140010103
mov dword [rbx + 8], 1
xor eax, eax
jmp 0x140010108
cmp eax, 0xff
jne 0x140010048
mov rdx, qword [0x1400fd528]
mov r8, rsi
mov rcx, rbx
call fcn.1400015c8
jmp 0x140010108
cmp dword [section..data], 4
jl 0x1400100de
test dword [0x1400f6060], 0x40000
je 0x1400100de
lea rax, str.Improper_format_for_frame_n
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x258
jmp 0x1400100c1
cmp dword [section..data], 4
jl 0x1400100de
test dword [0x1400f6060], 0x40000
je 0x1400100de
lea rax, str.Incomplete_frame_received_n
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x256
lea r9, str.........ESIF_WSSourcesesif_ws_server.c
lea r8, str.esif_ws_client_open_client
mov edx, 4
mov ecx, 0x40000
call fcn.140001a82
lea r8, str.HTTP_1.1_400_Bad_Request_r_nContent_Type:_text_html_r_n_r_n_html__head___head____body_____ERROR:_HTTP_1.1_400_Bad_Request____body___html_
mov rdx, rdi
mov rcx, r14
call fcn.14000fd90
mov rdx, rdi
mov rcx, rbx
movsxd r8, eax
mov qword [rsp + 0x50], r8
call fcn.140010820
mov eax, 0xc1c
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 8], rcx
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
xor r14d, r14d
mov r13, r9
mov r12, r8
mov ebx, r14d
mov r15, rdx
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x10], r14
mov qword [rbp - 0x30], rbx
mov edi, r14d
test rbx, rbx
je 0x140010208
mov r9, rbx
mov r8, rdi
mov rdx, rbx
mov rcx, r15
call fcn.14006d078
mov r13, qword [rbp - 0x30]
mov qword [rbp - 0x30], r14
lea rax, [rbp - 0x30]
lea r9, [rbp - 0x20]
lea r8, [rbp - 0x18]
mov rdx, r13
mov rcx, r15
mov qword [rsp + 0x20], rax
call fcn.140001389
cmp dword [section..data], 4
mov esi, eax
jl 0x140010270
test dword [0x1400f6060], 0x40000
je 0x140010270
mov dword [rsp + 0x30], eax
lea rax, str.FrameType:__d_n
lea r9, str.........ESIF_WSSourcesesif_ws_server.c
mov qword [rsp + 0x28], rax
lea r8, str.esif_ws_client_process_active_client
mov edx, 4
mov ecx, 0x40000
mov dword [rsp + 0x20], 0x2a5
call fcn.140001a82
mov rbx, qword [rbp - 0x30]
test rbx, rbx
je 0x1400102c4
test rdi, rdi
jne 0x1400102a8
mov rcx, rbx
call fcn.14006c500
mov rdi, rax
test rax, rax
je 0x14001029f
mov r8, rbx
xor edx, edx
mov rcx, rax
call fcn.14006c5d0
mov rbx, qword [rbp - 0x30]
test rdi, rdi
je 0x14001045a
mov r8, qword [rbp - 0x20]
mov r9, rbx
mov rdx, rbx
add r8, qword [rbp - 0x18]
mov rcx, rdi
call fcn.14006d078
mov rbx, qword [rbp - 0x30]
jmp 0x1400102d8
test rdi, rdi
je 0x1400102d5
mov rcx, rdi
call fcn.14006c470
mov rbx, qword [rbp - 0x30]
mov rdi, r14
cmp esi, 0xf2
je 0x1400104df
cmp esi, 0xf1
je 0x1400104b4
cmp esi, 8
je 0x140010481
cmp esi, 1
jne 0x14001040e
mov rsi, qword [rbp - 0x20]
lea rcx, [rsi + 1]
call fcn.14006c500
mov rbx, rax
test rax, rax
je 0x14001045a
lea r8, [rsi + 1]
xor edx, edx
mov rcx, rax
call fcn.14006c5d0
mov rdx, qword [rbp - 0x20]
mov r8, qword [rbp - 0x18]
mov r9, rdx
mov rcx, rbx
call fcn.14006d078
mov rax, qword [rbp - 0x20]
mov rdx, r12
mov rcx, rbx
mov byte [rbx + rax], r14b
call fcn.14006c9b0
mov rcx, rbx
mov rdx, rax
call fcn.14000173f
cmp dword [section..data], 4
mov rsi, qword [0x1400fd530]
jl 0x1400103ac
test dword [0x1400f6060], 0x40000
je 0x1400103ac
lea rax, str.Message_Received:__s__n
mov qword [rsp + 0x30], rsi
lea r9, str.........ESIF_WSSourcesesif_ws_server.c
mov qword [rsp + 0x28], rax
lea r8, str.esif_ws_server_get_rest_response
mov edx, 4
mov ecx, 0x40000
mov dword [rsp + 0x20], 0x15f
call fcn.140001a82
test rsi, rsi
je 0x140010404
mov edx, 0x20000
mov rcx, rsi
call fcn.14006c9b0
mov rcx, qword [rbp - 0x10]
mov r9, r12
test rax, rax
mov r8, r15
mov dword [rsp + 0x28], 1
cmovne rcx, rax
lea rax, [rbp - 0x28]
mov qword [rbp - 0x10], rcx
mov rdx, rcx
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.14000169a
mov r8, qword [rbp - 0x28]
mov rcx, qword [rbp + 0x30]
mov rdx, r15
call fcn.140010820
cmp eax, 1
je 0x140010465
mov rcx, rbx
call fcn.14006c470
jmp 0x140010448
cmp esi, 0xa
jne 0x14001044c
lea rax, [rbp - 0x28]
lea rcx, [0x1400bc217]
mov r9, r12
mov r8, r15
xor edx, edx
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rax
call fcn.14000169a
mov r8, qword [rbp - 0x28]
mov rcx, qword [rbp + 0x30]
mov rdx, r15
call fcn.140010820
mov rbx, qword [rbp - 0x30]
test rbx, rbx
jne 0x1400101ef
jmp 0x14001055b
mov r14d, 0x708
jmp 0x14001055b
mov r14d, 0xc1c
test rbx, rbx
je 0x14001055b
mov rcx, rbx
call fcn.14006c470
jmp 0x14001055b
cmp dword [section..data], 4
jl 0x140010525
test dword [0x1400f6060], 0x40000
je 0x140010525
lea rax, str.Close_frame_received__closing_socket_n
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2cf
jmp 0x140010508
cmp dword [section..data], 4
jl 0x140010525
test dword [0x1400f6060], 0x40000
je 0x140010525
lea rax, str.Improper_format_for_frame__closing_socket_n
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2bc
jmp 0x140010508
cmp dword [section..data], 4
jl 0x140010525
test dword [0x1400f6060], 0x40000
je 0x140010525
lea rax, str.Incomplete_frame_received__closing_socket_n
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2ba
lea r9, str.........ESIF_WSSourcesesif_ws_server.c
lea r8, str.esif_ws_client_process_active_client
mov edx, 4
mov ecx, 0x40000
call fcn.140001a82
lea rax, [rbp - 0x28]
mov r9, r12
mov r8, r15
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], 8
mov qword [rsp + 0x20], rax
call fcn.14000169a
mov r8, qword [rbp - 0x28]
mov rcx, qword [rbp + 0x30]
mov rdx, r15
call fcn.140010820
mov r14d, 0xc1c
test rdi, rdi
je 0x140010568
mov rcx, rdi
call fcn.14006c470
lea r11, [rsp + 0x70]
mov eax, r14d
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rcx
mov rcx, qword [0x1400fd528]
xor edx, edx
mov r8d, 0x20000
call fcn.14006c5d0
mov rdx, qword [0x1400fd528]
mov rcx, qword [rdi]
xor r9d, r9d
mov r8d, 0x20000
call qword [sym.imp.WSOCK32.dll_recv]
movsxd rbx, eax
lea rax, [rbx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140010775
cmp dword [section..data], 4
jl 0x140010725
test dword [0x1400f6060], 0x40000
je 0x140010725
lea rax, str._d_bytes_received_n
mov dword [rsp + 0x30], ebx
lea r9, str.........ESIF_WSSourcesesif_ws_server.c
mov qword [rsp + 0x28], rax
lea r8, str.esif_ws_client_process_request
mov edx, 4
mov ecx, 0x40000
mov dword [rsp + 0x20], 0x22c
call fcn.140001a82
mov eax, dword [rdi + 8]
cmp eax, 1
jne 0x14001074f
mov rdx, qword [0x1400fd528]
mov r9, rbx
mov r8d, 0x20000
mov rcx, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
jmp 0x1400101a0
test eax, eax
jne 0x1400107bb
mov rdx, qword [0x1400fd528]
mov r9, rbx
mov r8d, 0x20000
mov rcx, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
jmp 0x14000ff20
cmp dword [section..data], 4
jl 0x1400107bb
test dword [0x1400f6060], 0x40000
je 0x1400107bb
lea rax, str.no_messages_received_from_the_socket_n
lea r9, str.........ESIF_WSSourcesesif_ws_server.c
lea r8, str.esif_ws_client_process_request
mov qword [rsp + 0x28], rax
mov edx, 4
mov ecx, 0x40000
mov dword [rsp + 0x20], 0x228
call fcn.140001a82
mov eax, 0xc1c
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret