Function at 0x14002b720
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.140052538
mov rbx, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x14002b790
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.140027220
mov dword [rax + 0x48], 1
lea rdx, [0x14008c5bc]
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.140052538
mov rbx, rax
mov qword [rsp + 0x28], rax
test rax, rax
je 0x14002b870
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 0x14002bd7c
jle 0x14002b969
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.140027220
mov dword [rax + 0x48], 1
lea rdx, [0x14008c5bc]
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.140027790
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x10]
call fcn.140027bd0
add r14d, dword [rsp + 0x20]
mov esi, r13d
mov rbx, qword [rsp + 0x28]
jmp 0x14002ba54
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 0x14002bb46
lea rax, vtable.LogItem.0
mov qword [rsp + 0x70], rax
cmp esi, 0xa
je 0x14002ba6a
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.140027220
mov dword [rax + 0x48], 1
lea rdx, [0x14008c5bc]
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, [0x14008bb68]
call fcn.140027350
mov rcx, rax
lea rdx, str._milliseconds._Retry_number
call fcn.14001ccb0
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.140027350
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 0x14002b840
mov rcx, rbx
call fcn.140052234
jmp 0x14002b840
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.140027220
mov dword [rax + 0x48], 1
lea rdx, [0x14008c5bc]
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, [0x14008bb6c]
call fcn.140027350
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.140022560
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.140022560
lea r8, [rsp + 0x50]
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x70]
call fcn.140028a20
lea rdx, [0x1400a38c8]
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
sub eax, 5
je 0x14002bcc2
cmp eax, 0xe
lea rax, vtable.LogItem.0
mov qword [rsp + 0x70], rax
je 0x14002bc19
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.140027220
mov dword [rax + 0x48], 1
lea rdx, [0x14008c5bc]
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.140022560
nop
mov r8d, dword [rsp + 0x20]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.140028850
lea rdx, [0x1400a38c8]
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.140027220
mov dword [rax + 0x48], 1
lea rdx, [0x14008c5bc]
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.140022560
nop
mov r8d, 0x2746
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.140028850
lea rdx, [0x1400a38c8]
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.140027220
mov dword [rax + 0x48], 1
lea rdx, [0x14008c5bc]
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.1400224a0
mov r8d, select
lea rdx, str.Message_too_large
lea rcx, [rsp + 0x50]
call fcn.140022560
mov r8d, 0x400
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.140028470
lea rdx, [0x1400a3910]
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.140027220
mov dword [rax + 0x48], 1
lea rdx, [0x14008c5bc]
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 0x14002be17
mov rcx, rbx
call fcn.140052234
mov r8, r12
mov edx, r14d
lea rcx, [rsp + 0x38]
call fcn.14004be60
test al, al
jne 0x14002be61
lea rdx, str.Invalid_message_received_form_client.
lea rcx, [rsp + 0x50]
call fcn.140021410
mov r8d, 0x400
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140028470
lea rdx, [0x1400a3910]
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
mov edx, r14d
mov rcx, r15
call fcn.1400275b0
mov r8d, r14d
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x50]
call fcn.140027790
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.140027bd0
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.140022100
mov qword [rbp - 0x58], r13
mov qword [rbp - 0x50], r13
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x68]
call fcn.140022100
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.140027350
nop
lea rcx, [rsp + 0x70]
call fcn.14001c830
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14002bf32
call fcn.140052234
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.140052210
mov rbx, qword [rsp + 0x198]
add rsp, 0x140
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret