Function at 0x140034a60
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 - 0x100]
sub rsp, 0x200
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x248], rbx
mov rax, qword [0x1400c3030]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov esi, r8d
mov r15, rcx
mov dword [rsp + 0x28], r8d
xor r12d, r12d
mov edi, r12d
mov dword [rsp + 0x30], r12d
mov ebx, r12d
mov rax, qword [rdx]
mov qword [rbp - 0x20], rax
mov dword [rbp - 0x18], r12d
mov eax, dword [rdx + 8]
mov dword [rbp - 0x14], eax
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x40], r12d
mov edx, r8d
lea rcx, [rsp + 0x38]
call fcn.1400303f0
lea r13, vtable.LogItem.0
mov r14, qword [rsp + 0x38]
test esi, esi
je 0x14003518e
mov r8d, esi
sub r8d, edi
xor r9d, r9d
mov rdx, r14
mov rcx, qword [r15 + 0x200]
call qword [sym.imp.WS2_32.dll_recv]
mov dword [rsp + 0x20], eax
test eax, eax
jle 0x140034bf3
mov qword [rbp], r13
mov qword [rbp + 0x20], 7
mov qword [rbp + 0x18], r12
mov word [rbp + 8], r12w
mov qword [rbp + 0x40], 7
mov qword [rbp + 0x38], r12
mov word [rbp + 0x28], r12w
mov dword [rbp + 0x48], 1
mov dword [rbp + 0x4c], 1
lea rdx, [0x1400a5d24]
lea rcx, [rbp]
call fcn.1400257b0
mov dword [rax + 0x48], r12d
mov rdx, r15
mov rcx, rax
call fcn.140030060
mov dword [rax + 0x48], 1
lea rdx, [0x1400a5d28]
mov rcx, rax
call fcn.1400257b0
mov rcx, rax
lea rdx, str.Bytes_received:
call fcn.1400257b0
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.140025690
nop
lea rcx, [rbp]
call fcn.140025350
mov r8d, dword [rsp + 0x20]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.1400305d0
mov rcx, qword [rax]
mov qword [rsp + 0x48], rcx
mov ecx, dword [rax + 8]
mov dword [rsp + 0x50], ecx
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x54], eax
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x20]
call fcn.140030b00
add edi, dword [rsp + 0x20]
mov dword [rsp + 0x30], edi
mov ebx, r12d
mov r14, qword [rsp + 0x38]
jmp 0x140034cd9
je 0x140035024
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x20], eax
sub eax, 0x2733
jne 0x140034deb
cmp ebx, 0xa
je 0x140034ce6
inc ebx
mov dword [rsp + 0x20], ebx
mov qword [rbp], r13
mov qword [rbp + 0x20], 7
mov qword [rbp + 0x18], r12
mov word [rbp + 8], r12w
mov qword [rbp + 0x40], 7
mov qword [rbp + 0x38], r12
mov word [rbp + 0x28], r12w
mov dword [rbp + 0x48], 1
mov dword [rbp + 0x4c], 1
lea rdx, [0x1400a5d24]
lea rcx, [rbp]
call fcn.1400257b0
mov dword [rax + 0x48], r12d
mov rdx, r15
mov rcx, rax
call fcn.140030060
mov dword [rax + 0x48], 1
lea rdx, [0x1400a5d28]
mov rcx, rax
call fcn.1400257b0
mov rcx, rax
lea rdx, str.Resource_temporarily_unavailable__retrying_after
call fcn.1400257b0
mov rcx, rax
lea rdx, [0x1400a5200]
call fcn.140030180
mov rcx, rax
lea rdx, str._milliseconds._Retry_number
call fcn.1400257b0
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.140030180
nop
lea rcx, [rbp]
call fcn.140025350
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, dword [rsp + 0x20]
cmp edi, esi
jb 0x140034af2
jmp 0x14003518e
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x68], r12
mov word [rbp - 0x78], r12w
mov qword [rbp - 0x40], 7
mov qword [rbp - 0x48], r12
mov word [rbp - 0x58], r12w
mov dword [rbp - 0x38], 1
mov dword [rbp - 0x34], 1
lea rdx, [0x1400a5d24]
lea rcx, [rbp - 0x80]
call fcn.1400257b0
mov dword [rax + 0x48], r12d
mov rdx, r15
mov rcx, rax
call fcn.140030060
mov dword [rax + 0x48], 1
lea rdx, [0x1400a5d28]
mov rcx, rax
call fcn.1400257b0
mov rcx, rax
lea rdx, str.Timeout_occured_on_recv_after_number_of_retries:
call fcn.1400257b0
mov rcx, rax
lea rdx, [0x1400a5204]
call fcn.140030180
nop
lea rcx, [rbp - 0x80]
call fcn.140025350
mov qword [rbp - 8], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x10], r12
mov byte [rbp - 0x20], 0
mov r8d, 0x2b
lea rdx, str.SocketHeciServer::SocketServer::ReceiveData
lea rcx, [rbp - 0x20]
call fcn.14002b9d0
nop
mov qword [rsp + 0x78], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x70], r12
mov byte [rsp + 0x60], 0
mov r8d, 0x25
lea rdx, str.Timeout_occured_on_receive_operation.
lea rcx, [rsp + 0x60]
call fcn.14002b9d0
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x50]
call fcn.140031cd0
lea rdx, [0x1400bedd8]
lea rcx, [rbp + 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
sub eax, 5
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x68], r12
mov word [rbp - 0x78], r12w
mov qword [rbp - 0x40], 7
mov qword [rbp - 0x48], r12
mov word [rbp - 0x58], r12w
mov dword [rbp - 0x38], 1
je 0x140034f80
cmp eax, 0xe
je 0x140034edb
mov dword [rbp - 0x34], 1
lea rdx, [0x1400a5d24]
lea rcx, [rbp - 0x80]
call fcn.1400257b0
mov dword [rax + 0x48], r12d
mov rdx, r15
mov rcx, rax
call fcn.140030060
mov dword [rax + 0x48], 1
lea rdx, [0x1400a5d28]
mov rcx, rax
call fcn.1400257b0
mov rcx, rax
lea rdx, str.Receiving_message_failed_with_error:
call fcn.1400257b0
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.140025690
nop
lea rcx, [rbp - 0x80]
call fcn.140025350
mov qword [rsp + 0x78], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x70], r12
mov byte [rsp + 0x60], 0
mov r8d, 0x2b
lea rdx, str.SocketHeciServer::SocketServer::ReceiveData
lea rcx, [rsp + 0x60]
call fcn.14002b9d0
nop
mov r8d, dword [rsp + 0x20]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x50]
call fcn.140031b10
lea rdx, [0x1400bedd8]
lea rcx, [rbp + 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov dword [rbp - 0x34], 1
lea rdx, [0x1400a5d24]
lea rcx, [rbp - 0x80]
call fcn.1400257b0
mov dword [rax + 0x48], r12d
mov rdx, r15
mov rcx, rax
call fcn.140030060
mov dword [rax + 0x48], 1
lea rdx, [0x1400a5d28]
mov rcx, rax
call fcn.1400257b0
mov rcx, rax
lea rdx, str.Connection_reset_by_peer
call fcn.1400257b0
nop
lea rcx, [rbp - 0x80]
call fcn.140025350
mov qword [rsp + 0x78], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x70], r12
mov byte [rsp + 0x60], 0
mov r8d, 0x2b
lea rdx, str.SocketHeciServer::SocketServer::ReceiveData
lea rcx, [rsp + 0x60]
call fcn.14002b9d0
nop
mov r8d, 0x2746
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x50]
call fcn.140031b10
lea rdx, [0x1400bedd8]
lea rcx, [rbp + 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov dword [rbp - 0x34], 1
lea rdx, [0x1400a5d24]
lea rcx, [rbp - 0x80]
call fcn.1400257b0
mov dword [rax + 0x48], r12d
mov rdx, r15
mov rcx, rax
call fcn.140030060
mov dword [rax + 0x48], 1
lea rdx, [0x1400a5d28]
mov rcx, rax
call fcn.1400257b0
mov rcx, rax
lea rdx, str.Message_was_too_large_to_fit_into_buffer_and_it_was_truncated
call fcn.1400257b0
nop
lea rcx, [rbp - 0x80]
call fcn.140025350
mov qword [rsp + 0x78], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x70], r12
mov byte [rsp + 0x60], 0
mov r8d, select
lea rdx, str.Message_too_large
lea rcx, [rsp + 0x60]
call fcn.14002b9d0
mov r8d, 0x400
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x50]
call fcn.140031740
lea rdx, [0x1400bee20]
lea rcx, [rbp + 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
mov qword [rbp + 0x50], r13
mov qword [rbp + 0x70], 7
mov qword [rbp + 0x68], r12
mov word [rbp + 0x58], r12w
mov qword [rbp + 0x90], 7
mov qword [rbp + 0x88], r12
mov word [rbp + 0x78], r12w
mov dword [rbp + 0x98], 1
mov dword [rbp + 0x9c], 1
lea rdx, [0x1400a5d24]
lea rcx, [rbp + 0x50]
call fcn.1400257b0
mov dword [rax + 0x48], r12d
mov rdx, r15
mov rcx, rax
call fcn.140030060
mov dword [rax + 0x48], 1
lea rdx, [0x1400a5d28]
mov rcx, rax
call fcn.1400257b0
mov rcx, rax
lea rdx, str.Connection_was_unexpectedly_closed_by_client.
call fcn.1400257b0
nop
lea rcx, [rbp + 0x50]
call fcn.140025350
mov qword [rbp - 8], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x10], r12
mov byte [rbp - 0x20], 0
mov r8d, 0x2b
lea rdx, str.SocketHeciServer::SocketServer::ReceiveData
lea rcx, [rbp - 0x20]
call fcn.14002b9d0
nop
mov qword [rsp + 0x78], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x70], r12
mov byte [rsp + 0x60], 0
mov r8d, 0x2d
lea rdx, str.Connection_was_unexpectedly_closed_by_client.
lea rcx, [rsp + 0x60]
call fcn.14002b9d0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x50]
call fcn.140036db0
nop
lea rax, vtable.SocketHeciServer::SocketServerClientSocketErrorException.0
mov qword [rbp + 0x50], rax
mov qword [rbp + 0xe8], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0xe0], r12
mov byte [rbp + 0xd0], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0xd0]
call fcn.14002bb00
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0xa8]
call fcn.14002bd80
nop
lea rcx, [rsp + 0x60]
call fcn.14002a810
lea rdx, [0x1400bedd8]
lea rcx, [rbp + 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
cmp edi, esi
je 0x1400352af
mov qword [rbp + 0x50], r13
mov qword [rbp + 0x70], 7
mov qword [rbp + 0x68], r12
mov word [rbp + 0x58], r12w
mov qword [rbp + 0x88], r12
mov qword [rbp + 0x90], r12
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x78]
call fcn.14002b580
mov dword [rbp + 0x98], 1
mov dword [rbp + 0x9c], 1
lea rdx, [0x1400a5d24]
lea rcx, [rbp + 0x50]
call fcn.1400257b0
mov dword [rax + 0x48], r12d
mov rdx, r15
mov rcx, rax
call fcn.140030060
mov dword [rax + 0x48], 1
lea rdx, [0x1400a5d28]
mov rcx, rax
call fcn.1400257b0
mov rcx, rax
lea rdx, str.Invalid_number_of_bytes_received__expected:
call fcn.1400257b0
mov rcx, rax
lea rdx, [rsp + 0x28]
call fcn.140030180
mov rcx, rax
lea rdx, str._received:
call fcn.1400257b0
mov rcx, rax
lea rdx, [rsp + 0x30]
call fcn.140030180
nop
lea rcx, [rbp + 0x50]
call fcn.140025350
mov qword [rsp + 0x78], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x70], r12
mov byte [rsp + 0x60], 0
mov r8d, 0x2b
lea rdx, str.SocketHeciServer::SocketServer::ReceiveData
lea rcx, [rsp + 0x60]
call fcn.14002b9d0
nop
lea rdx, str.Invalid_number_of_bytes_received.
lea rcx, [rbp - 0x20]
call fcn.14002a960
mov r8, rax
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x50]
call fcn.140031cd0
lea rdx, [0x1400bedd8]
lea rcx, [rbp + 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
test r14, r14
je 0x1400352bc
mov rcx, r14
call fcn.1400602c4
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.1400602a0
mov rbx, qword [rsp + 0x248]
add rsp, 0x200
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret