Function at 0x14002b950
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 [0x1400ab020]
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.140055158
mov rbx, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x14002b9c0
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.14001cc00
mov dword [rax + 0x48], r13d
mov rdx, rdi
mov rcx, rax
call fcn.140027230
mov dword [rax + 0x48], 1
lea rdx, [0x14008f5dc]
mov rcx, rax
call fcn.14001cc00
mov rcx, rax
lea rdx, str.SocketServer::WaitForMessage_called._Trying_to_receive_message
call fcn.14001cc00
nop
lea rcx, [rsp + 0x70]
call fcn.14001c780
mov r14d, r13d
mov esi, r13d
nop word [rax + rax]
mov dword [rsp + 0x30], 0x10010
mov ecx, 0x10010
call fcn.140055158
mov rbx, rax
mov qword [rsp + 0x28], rax
test rax, rax
je 0x14002baa0
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 0x14002bfac
jle 0x14002bb99
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.14001cc00
mov dword [rax + 0x48], r13d
mov rdx, rdi
mov rcx, rax
call fcn.140027230
mov dword [rax + 0x48], 1
lea rdx, [0x14008f5dc]
mov rcx, rax
call fcn.14001cc00
mov rcx, rax
lea rdx, str.Bytes_received:
call fcn.14001cc00
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.14001cad0
nop
lea rcx, [rsp + 0x70]
call fcn.14001c780
mov r8d, dword [rsp + 0x20]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x50]
call fcn.1400277a0
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x10]
call fcn.140027be0
add r14d, dword [rsp + 0x20]
mov esi, r13d
mov rbx, qword [rsp + 0x28]
jmp 0x14002bc84
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 0x14002bd76
lea rax, vtable.LogItem.0
mov qword [rsp + 0x70], rax
cmp esi, 0xa
je 0x14002bc9a
inc esi
mov dword [rsp + 0x20], esi
mov dword [rbp - 0x44], 1
lea rdx, str._DBG___0x
lea rcx, [rsp + 0x70]
call fcn.14001cc00
mov dword [rax + 0x48], r13d
mov rdx, rdi
mov rcx, rax
call fcn.140027230
mov dword [rax + 0x48], 1
lea rdx, [0x14008f5dc]
mov rcx, rax
call fcn.14001cc00
mov rcx, rax
lea rdx, str.Resource_temporarily_unavailable__retrying_after
call fcn.14001cc00
mov rcx, rax
lea rdx, [0x14008eb88]
call fcn.140027360
mov rcx, rax
lea rdx, str._milliseconds._Retry_number
call fcn.14001cc00
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.140027360
nop
lea rcx, [rsp + 0x70]
call fcn.14001c780
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [rsp + 0x20]
test rbx, rbx
je 0x14002ba70
mov rcx, rbx
call fcn.140055150
jmp 0x14002ba70
mov dword [rbp - 0x44], 1
lea rdx, str._DBG___0x
lea rcx, [rsp + 0x70]
call fcn.14001cc00
mov dword [rax + 0x48], r13d
mov rdx, rdi
mov rcx, rax
call fcn.140027230
mov dword [rax + 0x48], 1
lea rdx, [0x14008f5dc]
mov rcx, rax
call fcn.14001cc00
mov rcx, rax
lea rdx, str.Timeout_occured_on_recv_after_number_of_retries:
call fcn.14001cc00
mov rcx, rax
lea rdx, [0x14008eb8c]
call fcn.140027360
nop
lea rcx, [rsp + 0x70]
call fcn.14001c780
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.140022570
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.140022570
lea r8, [rsp + 0x50]
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x70]
call fcn.140028a30
lea rdx, [0x1400a7718]
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
sub eax, 5
je 0x14002bef2
cmp eax, 0xe
lea rax, vtable.LogItem.0
mov qword [rsp + 0x70], rax
je 0x14002be49
mov dword [rbp - 0x44], 1
lea rdx, str._DBG___0x
lea rcx, [rsp + 0x70]
call fcn.14001cc00
mov dword [rax + 0x48], r13d
mov rdx, rdi
mov rcx, rax
call fcn.140027230
mov dword [rax + 0x48], 1
lea rdx, [0x14008f5dc]
mov rcx, rax
call fcn.14001cc00
mov rcx, rax
lea rdx, str.Receiving_message_failed_with_error:
call fcn.14001cc00
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.14001cad0
nop
lea rcx, [rsp + 0x70]
call fcn.14001c780
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.140022570
nop
mov r8d, dword [rsp + 0x20]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.140028860
lea rdx, [0x1400a7718]
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.14001cc00
mov dword [rax + 0x48], r13d
mov rdx, rdi
mov rcx, rax
call fcn.140027230
mov dword [rax + 0x48], 1
lea rdx, [0x14008f5dc]
mov rcx, rax
call fcn.14001cc00
mov rcx, rax
lea rdx, str.Connection_reset_by_peer
call fcn.14001cc00
nop
lea rcx, [rsp + 0x70]
call fcn.14001c780
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.140022570
nop
mov r8d, 0x2746
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.140028860
lea rdx, [0x1400a7718]
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.14001cc00
mov dword [rax + 0x48], r13d
mov rdx, rdi
mov rcx, rax
call fcn.140027230
mov dword [rax + 0x48], 1
lea rdx, [0x14008f5dc]
mov rcx, rax
call fcn.14001cc00
mov rcx, rax
lea rdx, str.Message_was_too_large_to_fit_into_buffer_and_it_was_truncated
call fcn.14001cc00
nop
lea rcx, [rsp + 0x70]
call fcn.14001c780
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], r13
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.1400224b0
mov r8d, send
lea rdx, str.Message_too_large
lea rcx, [rsp + 0x50]
call fcn.140022570
mov r8d, 0x400
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.140028480
lea rdx, [0x1400a7760]
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.14001cc00
mov dword [rax + 0x48], r13d
mov rdx, rdi
mov rcx, rax
call fcn.140027230
mov dword [rax + 0x48], 1
lea rdx, [0x14008f5dc]
mov rcx, rax
call fcn.14001cc00
mov rcx, rax
lea rdx, str.Connection_gracefully_closed_by_client.
call fcn.14001cc00
nop
lea rcx, [rsp + 0x70]
call fcn.14001c780
nop
test rbx, rbx
je 0x14002c047
mov rcx, rbx
call fcn.140055150
mov r8, r12
mov edx, r14d
lea rcx, [rsp + 0x38]
call fcn.14004e830
test al, al
jne 0x14002c091
lea rdx, str.Invalid_message_received_form_client.
lea rcx, [rsp + 0x50]
call fcn.140021420
mov r8d, 0x400
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140028480
lea rdx, [0x1400a7760]
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
mov edx, r14d
mov rcx, r15
call fcn.1400275c0
mov r8d, r14d
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x50]
call fcn.1400277a0
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.140027be0
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.140022110
mov qword [rbp - 0x58], r13
mov qword [rbp - 0x50], r13
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x68]
call fcn.140022110
mov dword [rbp - 0x48], 1
mov dword [rbp - 0x44], 2
lea rdx, str._INF___N_A_
lea rcx, [rsp + 0x70]
call fcn.14001cc00
mov rcx, rax
lea rdx, str.Message_received._No_of_bytes_received:
call fcn.14001cc00
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.140027360
nop
lea rcx, [rsp + 0x70]
call fcn.14001c780
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14002c162
call fcn.140055150
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.140054e30
mov rbx, qword [rsp + 0x198]
add rsp, 0x140
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret