Function at 0x140033630
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 - 0x1c0]
sub rsp, 0x2c0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x308], rbx
mov rax, qword [0x1400c0030]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov esi, r8d
mov r13, rcx
mov dword [rsp + 0x30], esi
xor ecx, ecx
mov dword [rsp + 0x28], ecx
mov edi, ecx
mov dword [rsp + 0x20], ecx
mov ebx, ecx
mov rax, qword [rdx]
mov qword [rsp + 0x28], rax
mov r14d, ecx
mov r12d, dword [rdx + 8]
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x40], esi
mov ecx, r8d
call fcn.14005c1d8
mov r15, rax
mov qword [rsp + 0x38], rax
test esi, esi
je 0x140033d15
nop word [rax + rax]
mov r8d, esi
sub r8d, edi
xor r9d, r9d
mov rdx, r15
mov rcx, qword [r13 + 0x208]
call qword [sym.imp.WS2_32.dll_recv]
mov dword [rsp + 0x24], eax
test eax, eax
jle 0x1400337c8
lea rax, vtable.LogItem.0
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x50], 7
xor ebx, ebx
mov qword [rbp - 0x58], rbx
mov word [rbp - 0x68], bx
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], rbx
mov word [rbp - 0x48], bx
mov dword [rbp - 0x28], 1
mov dword [rbp - 0x24], 1
lea rdx, [0x1400a4444]
lea rcx, [rbp - 0x70]
call fcn.140025060
mov dword [rax + 0x48], ebx
mov rdx, r13
mov rcx, rax
call fcn.14002e620
mov dword [rax + 0x48], 1
lea rdx, [0x1400a4448]
mov rcx, rax
call fcn.140025060
mov rcx, rax
lea rdx, str.Bytes_received:
call fcn.140025060
mov rcx, rax
lea rdx, [rsp + 0x24]
call fcn.140024f40
nop
lea rcx, [rbp - 0x70]
call fcn.140024c00
mov qword [rsp + 0x70], r15
mov dword [rsp + 0x78], ebx
mov ebx, dword [rsp + 0x24]
mov dword [rsp + 0x7c], ebx
cmp ebx, esi
ja 0x1400338f3
mov eax, r12d
sub eax, r14d
cmp ebx, eax
ja 0x1400338c1
mov r9d, ebx
mov edx, eax
mov ecx, r14d
add rcx, qword [rsp + 0x28]
mov r8, r15
call fcn.14002df80
add r14d, ebx
add edi, ebx
mov dword [rsp + 0x20], edi
xor eax, eax
mov ebx, eax
jmp 0x1400338b4
je 0x140033c54
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x24], eax
sub eax, 0x2733
jne 0x140033a28
cmp ebx, 0xa
je 0x140033958
inc ebx
mov dword [rsp + 0x24], ebx
lea rax, vtable.LogItem.0
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x50], 7
xor ebx, ebx
mov qword [rbp - 0x58], rbx
mov word [rbp - 0x68], bx
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], rbx
mov word [rbp - 0x48], bx
mov dword [rbp - 0x28], 1
mov dword [rbp - 0x24], 1
lea rdx, [0x1400a4444]
lea rcx, [rbp - 0x70]
call fcn.140025060
mov dword [rax + 0x48], ebx
mov rdx, r13
mov rcx, rax
call fcn.14002e620
mov dword [rax + 0x48], 1
lea rdx, [0x1400a4448]
mov rcx, rax
call fcn.140025060
mov rcx, rax
lea rdx, str.Resource_temporarily_unavailable__retrying_after
call fcn.140025060
mov rcx, rax
lea rdx, [0x1400a3af8]
call fcn.14002e760
mov rcx, rax
lea rdx, str._milliseconds._Retry_number
call fcn.140025060
mov rcx, rax
lea rdx, [rsp + 0x24]
call fcn.14002e760
nop
lea rcx, [rbp - 0x70]
call fcn.140024c00
lea ecx, [rbx + 0x32]
call qword [sym.imp.kernel32.dll_Sleep]
mov ebx, dword [rsp + 0x24]
xor eax, eax
cmp edi, esi
jae 0x140033d19
jmp 0x1400336c0
lea rcx, [rbp + 0x130]
call fcn.140039ca0
nop
mov rcx, rax
call fcn.1400377c0
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.14002edf0
lea rdx, [0x1400bc590]
lea rcx, [rbp - 0x70]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rcx, [rsp + 0x38]
call fcn.14002e9e0
mov dword [rsp + 0x20], eax
lea rcx, [rbp + 0x10]
call fcn.140039bd0
nop
mov rcx, rax
call fcn.140036f00
mov rcx, rax
lea rdx, [rsp + 0x7c]
call fcn.1400370c0
mov rcx, rax
call fcn.140037280
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.1400370c0
mov rdx, rax
lea rcx, [rbp + 0xb0]
call fcn.14002eb90
lea rdx, [0x1400bc630]
lea rcx, [rbp + 0xb0]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov dword [rsp + 0x24], 1
xor eax, eax
mov dword [rsp + 0x20], eax
lea rcx, [rbp - 0x70]
call fcn.140024a10
nop
mov rcx, rax
call fcn.140025220
mov rcx, rax
lea rdx, [0x1400a4444]
call fcn.140025060
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.14002e9a0
mov rcx, rax
mov rdx, r13
call fcn.14002e620
mov rcx, rax
lea rdx, [rsp + 0x24]
call fcn.14002e9a0
mov rcx, rax
lea rdx, [0x1400a4448]
call fcn.140025060
mov rcx, rax
lea rdx, str.Timeout_occured_on_recv_after_number_of_retries:
call fcn.140025060
mov rcx, rax
lea rdx, reloc.WS2_32.dll_ioctlsocket
call fcn.14002e760
nop
lea rcx, [rbp - 0x70]
call fcn.140024c00
lea rdx, str.SocketHeciServer::SocketServer::ReceiveData
lea rcx, [rsp + 0x50]
call fcn.140029650
nop
lea rdx, str.Timeout_occured_on_receive_operation.
lea rcx, [rsp + 0x70]
call fcn.140029650
mov r8, rax
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x10]
call fcn.140030b50
lea rdx, [0x1400bc748]
lea rcx, [rbp + 0x10]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
sub eax, 5
lea rcx, [rbp - 0x70]
je 0x140033ba8
cmp eax, 0xe
je 0x140033af9
mov dword [rsp + 0x28], 1
xor eax, eax
mov dword [rsp + 0x20], eax
call fcn.140024a10
nop
mov rcx, rax
call fcn.140025220
mov rcx, rax
lea rdx, [0x1400a4444]
call fcn.140025060
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.14002e9a0
mov rcx, rax
mov rdx, r13
call fcn.14002e620
mov rcx, rax
lea rdx, [rsp + 0x28]
call fcn.14002e9a0
mov rcx, rax
lea rdx, [0x1400a4448]
call fcn.140025060
mov rcx, rax
lea rdx, str.Receiving_message_failed_with_error:
call fcn.140025060
mov rcx, rax
lea rdx, [rsp + 0x24]
call fcn.140024f40
nop
lea rcx, [rbp - 0x70]
call fcn.140024c00
lea rdx, str.SocketHeciServer::SocketServer::ReceiveData
lea rcx, [rsp + 0x50]
call fcn.140029650
nop
mov r8d, dword [rsp + 0x24]
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x10]
call fcn.140030990
lea rdx, [0x1400bc748]
lea rcx, [rbp + 0x10]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov dword [rsp + 0x20], 1
xor eax, eax
mov dword [rsp + 0x28], eax
call fcn.140024a10
nop
mov rcx, rax
call fcn.140025220
mov rcx, rax
lea rdx, [0x1400a4444]
call fcn.140025060
mov rcx, rax
lea rdx, [rsp + 0x28]
call fcn.14002e9a0
mov rcx, rax
mov rdx, r13
call fcn.14002e620
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.14002e9a0
mov rcx, rax
lea rdx, [0x1400a4448]
call fcn.140025060
mov rcx, rax
lea rdx, str.Connection_reset_by_peer
call fcn.140025060
nop
lea rcx, [rbp - 0x70]
call fcn.140024c00
lea rdx, str.SocketHeciServer::SocketServer::ReceiveData
lea rcx, [rsp + 0x50]
call fcn.140029650
nop
mov r8d, 0x2746
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x10]
call fcn.140030990
lea rdx, [0x1400bc748]
lea rcx, [rbp + 0x10]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov dword [rsp + 0x20], 1
xor eax, eax
mov dword [rsp + 0x28], eax
call fcn.140024a10
nop
mov rcx, rax
call fcn.140025220
mov rcx, rax
lea rdx, [0x1400a4444]
call fcn.140025060
mov rcx, rax
lea rdx, [rsp + 0x28]
call fcn.14002e9a0
mov rcx, rax
mov rdx, r13
call fcn.14002e620
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.14002e9a0
mov rcx, rax
lea rdx, [0x1400a4448]
call fcn.140025060
mov rcx, rax
lea rdx, str.Message_was_too_large_to_fit_into_buffer_and_it_was_truncated
call fcn.140025060
nop
lea rcx, [rbp - 0x70]
call fcn.140024c00
lea rdx, str.Message_too_large
lea rcx, [rsp + 0x50]
call fcn.140029650
mov r8d, 0x400
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.1400305c0
lea rdx, [0x1400bc790]
lea rcx, [rbp + 0x10]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
mov dword [rsp + 0x20], 1
xor eax, eax
mov dword [rsp + 0x28], eax
lea rcx, [rbp - 0x70]
call fcn.140024a10
nop
mov rcx, rax
call fcn.140025220
mov rcx, rax
lea rdx, [0x1400a4444]
call fcn.140025060
mov rcx, rax
lea rdx, [rsp + 0x28]
call fcn.14002e9a0
mov rcx, rax
mov rdx, r13
call fcn.14002e620
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.14002e9a0
mov rcx, rax
lea rdx, [0x1400a4448]
call fcn.140025060
mov rcx, rax
lea rdx, str.Connection_was_unexpectedly_closed_by_client.
call fcn.140025060
nop
lea rcx, [rbp - 0x70]
call fcn.140024c00
lea rdx, str.SocketHeciServer::SocketServer::ReceiveData
lea rcx, [rsp + 0x70]
call fcn.140029650
nop
lea rdx, str.Connection_was_unexpectedly_closed_by_client.
lea rcx, [rsp + 0x50]
call fcn.140029650
mov r8, rax
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x10]
call fcn.140030b50
lea rdx, [0x1400bc748]
lea rcx, [rbp + 0x10]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
xor eax, eax
cmp edi, esi
je 0x140033e07
mov dword [rsp + 0x24], 1
mov dword [rsp + 0x28], eax
lea rcx, [rbp - 0x70]
call fcn.140024a10
nop
mov rcx, rax
call fcn.140025220
mov rcx, rax
lea rdx, [0x1400a4444]
call fcn.140025060
mov rcx, rax
lea rdx, [rsp + 0x28]
call fcn.14002e9a0
mov rcx, rax
mov rdx, r13
call fcn.14002e620
mov rcx, rax
lea rdx, [rsp + 0x24]
call fcn.14002e9a0
mov rcx, rax
lea rdx, [0x1400a4448]
call fcn.140025060
mov rcx, rax
lea rdx, str.Invalid_number_of_bytes_received__expected:
call fcn.140025060
mov rcx, rax
lea rdx, [rsp + 0x30]
call fcn.14002e760
mov rcx, rax
lea rdx, str._received:
call fcn.140025060
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.14002e760
nop
lea rcx, [rbp - 0x70]
call fcn.140024c00
lea rdx, str.SocketHeciServer::SocketServer::ReceiveData
lea rcx, [rsp + 0x70]
call fcn.140029650
nop
lea rdx, str.Invalid_number_of_bytes_received.
lea rcx, [rsp + 0x50]
call fcn.140029650
mov r8, rax
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x10]
call fcn.140030b50
lea rdx, [0x1400bc748]
lea rcx, [rbp + 0x10]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
test r15, r15
je 0x140033e14
mov rcx, r15
call fcn.14005c1d0
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.14005beb0
mov rbx, qword [rsp + 0x308]
add rsp, 0x2c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret