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

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x198], rbx
mov rax, qword [0x1400a8020]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov r12, r8
mov r15, rdx
mov rdi, rcx
mov dword [rsp + 0x40], 0x10010
mov ecx, 0x10010
call fcn.140052618
mov rbx, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x14002b850
xor edx, edx
mov r8d, 0x10010
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
nop
mov qword [rbp + 0x10], rbx
xor r13d, r13d
mov dword [rbp + 0x18], r13d
mov dword [rbp + 0x1c], 0x10010
lea rax, vtable.LogItem.0
mov qword [rsp + 0x70], rax
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], r13
mov word [rsp + 0x78], r13w
mov qword [rbp - 0x50], 7
mov qword [rbp - 0x58], r13
mov word [rbp - 0x68], r13w
mov dword [rbp - 0x48], 1
mov dword [rbp - 0x44], 1
lea rdx, str._DBG___0x
lea rcx, [rsp + 0x70]
call fcn.14001ccb0
mov dword [rax + 0x48], r13d
mov rdx, rdi
mov rcx, rax
call fcn.1400272e0
mov dword [rax + 0x48], 1
lea rdx, [0x14008c62c]
mov rcx, rax
call fcn.14001ccb0
mov rcx, rax
lea rdx, str.SocketServer::WaitForMessage_called._Trying_to_receive_message
call fcn.14001ccb0
nop
lea rcx, [rsp + 0x70]
call fcn.14001c830
mov r14d, r13d
mov esi, r13d
nop word [rax + rax]
mov dword [rsp + 0x30], 0x10010
mov ecx, 0x10010
call fcn.140052618
mov rbx, rax
mov qword [rsp + 0x28], rax
test rax, rax
je 0x14002b930
xor edx, edx
mov r8d, 0x10010
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
nop
xor r9d, r9d
mov r8d, 0x10010
mov rdx, rbx
mov rcx, qword [rdi + 0x200]
call qword [sym.imp.WS2_32.dll_recv]
mov dword [rsp + 0x20], eax
test eax, eax
je 0x14002be3c
jle 0x14002ba29
lea rax, vtable.LogItem.0
mov qword [rsp + 0x70], rax
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], r13
mov word [rsp + 0x78], r13w
mov qword [rbp - 0x50], 7
mov qword [rbp - 0x58], r13
mov word [rbp - 0x68], r13w
mov dword [rbp - 0x48], 1
mov dword [rbp - 0x44], 1
lea rdx, str._DBG___0x
lea rcx, [rsp + 0x70]
call fcn.14001ccb0
mov dword [rax + 0x48], r13d
mov rdx, rdi
mov rcx, rax
call fcn.1400272e0
mov dword [rax + 0x48], 1
lea rdx, [0x14008c62c]
mov rcx, rax
call fcn.14001ccb0
mov rcx, rax
lea rdx, str.Bytes_received:
call fcn.14001ccb0
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.14001cb80
nop
lea rcx, [rsp + 0x70]
call fcn.14001c830
mov r8d, dword [rsp + 0x20]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x50]
call fcn.140027850
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x10]
call fcn.140027c90
add r14d, dword [rsp + 0x20]
mov esi, r13d
mov rbx, qword [rsp + 0x28]
jmp 0x14002bb14
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x20], eax
sub eax, 0x2733
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], r13
mov word [rsp + 0x78], r13w
mov qword [rbp - 0x50], 7
mov qword [rbp - 0x58], r13
mov word [rbp - 0x68], r13w
mov dword [rbp - 0x48], 1
jne 0x14002bc06
lea rax, vtable.LogItem.0
mov qword [rsp + 0x70], rax
cmp esi, 0xa
je 0x14002bb2a
inc esi
mov dword [rsp + 0x20], esi
mov dword [rbp - 0x44], 1
lea rdx, str._DBG___0x
lea rcx, [rsp + 0x70]
call fcn.14001ccb0
mov dword [rax + 0x48], r13d
mov rdx, rdi
mov rcx, rax
call fcn.1400272e0
mov dword [rax + 0x48], 1
lea rdx, [0x14008c62c]
mov rcx, rax
call fcn.14001ccb0
mov rcx, rax
lea rdx, str.Resource_temporarily_unavailable__retrying_after
call fcn.14001ccb0
mov rcx, rax
lea rdx, [0x14008bbc8]
call fcn.140027410
mov rcx, rax
lea rdx, str._milliseconds._Retry_number
call fcn.14001ccb0
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.140027410
nop
lea rcx, [rsp + 0x70]
call fcn.14001c830
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [rsp + 0x20]
test rbx, rbx
je 0x14002b900
mov rcx, rbx
call fcn.140052610
jmp 0x14002b900
mov dword [rbp - 0x44], 1
lea rdx, str._DBG___0x
lea rcx, [rsp + 0x70]
call fcn.14001ccb0
mov dword [rax + 0x48], r13d
mov rdx, rdi
mov rcx, rax
call fcn.1400272e0
mov dword [rax + 0x48], 1
lea rdx, [0x14008c62c]
mov rcx, rax
call fcn.14001ccb0
mov rcx, rax
lea rdx, str.Timeout_occured_on_recv_after_number_of_retries:
call fcn.14001ccb0
mov rcx, rax
lea rdx, [0x14008bbcc]
call fcn.140027410
nop
lea rcx, [rsp + 0x70]
call fcn.14001c830
mov qword [rbp + 0x28], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x20], r13
mov byte [rbp + 0x10], 0
mov r8d, 0x2e
lea rdx, str.SocketHeciServer::SocketServer::WaitForMessage
lea rcx, [rbp + 0x10]
call fcn.140022620
nop
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x60], r13
mov byte [rsp + 0x50], 0
mov r8d, 0x25
lea rdx, str.Timeout_occured_on_receive_operation.
lea rcx, [rsp + 0x50]
call fcn.140022620
lea r8, [rsp + 0x50]
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x70]
call fcn.140028ae0
lea rdx, [0x1400a3958]
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
sub eax, 5
je 0x14002bd82
cmp eax, 0xe
lea rax, vtable.LogItem.0
mov qword [rsp + 0x70], rax
je 0x14002bcd9
mov dword [rbp - 0x44], 1
lea rdx, str._DBG___0x
lea rcx, [rsp + 0x70]
call fcn.14001ccb0
mov dword [rax + 0x48], r13d
mov rdx, rdi
mov rcx, rax
call fcn.1400272e0
mov dword [rax + 0x48], 1
lea rdx, [0x14008c62c]
mov rcx, rax
call fcn.14001ccb0
mov rcx, rax
lea rdx, str.Receiving_message_failed_with_error:
call fcn.14001ccb0
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.14001cb80
nop
lea rcx, [rsp + 0x70]
call fcn.14001c830
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x60], r13
mov byte [rsp + 0x50], 0
mov r8d, 0x2e
lea rdx, str.SocketHeciServer::SocketServer::WaitForMessage
lea rcx, [rsp + 0x50]
call fcn.140022620
nop
mov r8d, dword [rsp + 0x20]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.140028910
lea rdx, [0x1400a3958]
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov dword [rbp - 0x44], 1
lea rdx, str._DBG___0x
lea rcx, [rsp + 0x70]
call fcn.14001ccb0
mov dword [rax + 0x48], r13d
mov rdx, rdi
mov rcx, rax
call fcn.1400272e0
mov dword [rax + 0x48], 1
lea rdx, [0x14008c62c]
mov rcx, rax
call fcn.14001ccb0
mov rcx, rax
lea rdx, str.Connection_reset_by_peer
call fcn.14001ccb0
nop
lea rcx, [rsp + 0x70]
call fcn.14001c830
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x60], r13
mov byte [rsp + 0x50], 0
mov r8d, 0x2e
lea rdx, str.SocketHeciServer::SocketServer::WaitForMessage
lea rcx, [rsp + 0x50]
call fcn.140022620
nop
mov r8d, 0x2746
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.140028910
lea rdx, [0x1400a3958]
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rax, vtable.LogItem.0
mov qword [rsp + 0x70], rax
mov dword [rbp - 0x44], 1
lea rdx, str._DBG___0x
lea rcx, [rsp + 0x70]
call fcn.14001ccb0
mov dword [rax + 0x48], r13d
mov rdx, rdi
mov rcx, rax
call fcn.1400272e0
mov dword [rax + 0x48], 1
lea rdx, [0x14008c62c]
mov rcx, rax
call fcn.14001ccb0
mov rcx, rax
lea rdx, str.Message_was_too_large_to_fit_into_buffer_and_it_was_truncated
call fcn.14001ccb0
nop
lea rcx, [rsp + 0x70]
call fcn.14001c830
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], r13
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.140022560
mov r8d, select
lea rdx, str.Message_too_large
lea rcx, [rsp + 0x50]
call fcn.140022620
mov r8d, 0x400
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.140028530
lea rdx, [0x1400a39a0]
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rsi, vtable.LogItem.0
mov qword [rsp + 0x70], rsi
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], r13
mov word [rsp + 0x78], r13w
mov qword [rbp - 0x50], 7
mov qword [rbp - 0x58], r13
mov word [rbp - 0x68], r13w
mov dword [rbp - 0x48], 1
mov dword [rbp - 0x44], 1
lea rdx, str._DBG___0x
lea rcx, [rsp + 0x70]
call fcn.14001ccb0
mov dword [rax + 0x48], r13d
mov rdx, rdi
mov rcx, rax
call fcn.1400272e0
mov dword [rax + 0x48], 1
lea rdx, [0x14008c62c]
mov rcx, rax
call fcn.14001ccb0
mov rcx, rax
lea rdx, str.Connection_gracefully_closed_by_client.
call fcn.14001ccb0
nop
lea rcx, [rsp + 0x70]
call fcn.14001c830
nop
test rbx, rbx
je 0x14002bed7
mov rcx, rbx
call fcn.140052610
mov r8, r12
mov edx, r14d
lea rcx, [rsp + 0x38]
call fcn.14004bf00
test al, al
jne 0x14002bf21
lea rdx, str.Invalid_message_received_form_client.
lea rcx, [rsp + 0x50]
call fcn.1400214d0
mov r8d, 0x400
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140028530
lea rdx, [0x1400a39a0]
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
mov edx, r14d
mov rcx, r15
call fcn.140027670
mov r8d, r14d
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x50]
call fcn.140027850
mov rax, qword [r15]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], r13d
mov eax, dword [r15 + 8]
mov dword [rsp + 0x34], eax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x28]
call fcn.140027c90
mov eax, dword [r15 + 8]
mov dword [rsp + 0x20], eax
mov qword [rsp + 0x70], rsi
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x70], r13
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x78]
call fcn.1400221c0
mov qword [rbp - 0x58], r13
mov qword [rbp - 0x50], r13
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x68]
call fcn.1400221c0
mov dword [rbp - 0x48], 1
mov dword [rbp - 0x44], 2
lea rdx, str._INF___N_A_
lea rcx, [rsp + 0x70]
call fcn.14001ccb0
mov rcx, rax
lea rdx, str.Message_received._No_of_bytes_received:
call fcn.14001ccb0
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.140027410
nop
lea rcx, [rsp + 0x70]
call fcn.14001c830
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14002bff2
call fcn.140052610
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.1400522f0
mov rbx, qword [rsp + 0x198]
add rsp, 0x140
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret