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

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x168]
sub rsp, 0x250
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1400c3030]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov rdi, rcx
lea r14, vtable.LogItem.0
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x60], 7
xor esi, esi
mov qword [rbp - 0x68], rsi
mov word [rbp - 0x78], si
mov qword [rbp - 0x40], 7
mov qword [rbp - 0x48], rsi
mov word [rbp - 0x58], si
mov dword [rbp - 0x38], 1
mov dword [rbp - 0x34], 1
lea rdx, [0x1400a5d24]
lea rcx, [rbp - 0x80]
call fcn.1400257b0
mov dword [rax + 0x48], esi
mov rdx, rdi
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.SocketServer::WaitForClientToCloseSocket_called._Waiting_for_client_to_close_socket.
call fcn.1400257b0
nop
lea rcx, [rbp - 0x80]
call fcn.140025350
mov ebx, esi
xor r9d, r9d
lea r8d, [rsi + 1]
lea rdx, [rsp + 0x20]
mov rcx, qword [rdi + 0x200]
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
je 0x1400367c8
test eax, eax
jg 0x140036647
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x28], eax
cmp eax, 0x2733
jne 0x14003656c
cmp ebx, 0xa
je 0x140036450
inc ebx
mov dword [rsp + 0x28], ebx
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x68], rsi
mov word [rbp - 0x78], si
mov qword [rbp - 0x40], 7
mov qword [rbp - 0x48], rsi
mov word [rbp - 0x58], si
mov dword [rbp - 0x38], 1
mov dword [rbp - 0x34], 1
lea rdx, [0x1400a5d24]
lea rcx, [rbp - 0x80]
call fcn.1400257b0
mov dword [rax + 0x48], esi
mov rdx, rdi
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.Client_still_didnt_close_socket__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 + 0x28]
call fcn.140030180
nop
lea rcx, [rbp - 0x80]
call fcn.140025350
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
xor r9d, r9d
lea r8d, [r9 + 1]
lea rdx, [rsp + 0x20]
mov rcx, qword [rdi + 0x200]
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
je 0x1400367c8
mov ebx, dword [rsp + 0x28]
jmp 0x140036345
mov dword [rsp + 0x28], 0x1f4
mov qword [rbp - 0x20], r14
mov qword [rbp], 7
mov qword [rbp - 8], rsi
mov word [rbp - 0x18], si
mov qword [rbp + 0x20], 7
mov qword [rbp + 0x18], rsi
mov word [rbp + 8], si
mov dword [rbp + 0x28], 1
mov dword [rbp + 0x2c], 3
lea rdx, [0x1400a5d24]
lea rcx, [rbp - 0x20]
call fcn.1400257b0
mov dword [rax + 0x48], esi
mov rdx, rdi
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.Client_didnt_close_socket_within
call fcn.1400257b0
mov rcx, rax
lea rdx, [rsp + 0x28]
call fcn.140030180
mov rcx, rax
lea rdx, str._ms.
call fcn.1400257b0
nop
lea rcx, [rbp - 0x20]
call fcn.140025350
mov qword [rsp + 0x70], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x68], rsi
mov byte [rsp + 0x58], 0
mov r8d, 0x3a
lea rdx, str.SocketHeciServer::SocketServer::WaitForClientToCloseSocket
lea rcx, [rsp + 0x58]
call fcn.14002b9d0
nop
mov qword [rsp + 0x48], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x40], rsi
mov byte [rsp + 0x30], 0
mov r8d, 0x3a
lea rdx, str.Timeout_occured_while_waiting_for_graceful_socket_closure.
lea rcx, [rsp + 0x30]
call fcn.14002b9d0
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x40]
call fcn.140031cd0
lea rdx, [0x1400bedd8]
lea rcx, [rbp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov qword [rbp - 0x20], r14
mov qword [rbp], 7
mov qword [rbp - 8], rsi
mov word [rbp - 0x18], si
mov qword [rbp + 0x20], 7
mov qword [rbp + 0x18], rsi
mov word [rbp + 8], si
mov dword [rbp + 0x28], 1
mov dword [rbp + 0x2c], 1
lea rdx, [0x1400a5d24]
lea rcx, [rbp - 0x20]
call fcn.1400257b0
mov dword [rax + 0x48], esi
mov rdx, rdi
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 + 0x28]
call fcn.140025690
nop
lea rcx, [rbp - 0x20]
call fcn.140025350
mov qword [rsp + 0x70], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x68], rsi
mov byte [rsp + 0x58], 0
mov r8d, 0x3a
lea rdx, str.SocketHeciServer::SocketServer::WaitForClientToCloseSocket
lea rcx, [rsp + 0x58]
call fcn.14002b9d0
nop
mov r8d, dword [rsp + 0x28]
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x40]
call fcn.140031b10
lea rdx, [0x1400bedd8]
lea rcx, [rbp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov qword [rbp + 0xe0], r14
mov qword [rbp + 0x100], 7
mov qword [rbp + 0xf8], rsi
mov word [rbp + 0xe8], si
mov qword [rbp + 0x120], 7
mov qword [rbp + 0x118], rsi
mov word [rbp + 0x108], si
mov dword [rbp + 0x128], 1
mov dword [rbp + 0x12c], 3
lea rdx, [0x1400a5d24]
lea rcx, [rbp + 0xe0]
call fcn.1400257b0
mov dword [rax + 0x48], esi
mov rdx, rdi
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.Received_a_response_from_the_client_instead_of_graceful_socket_closure.
call fcn.1400257b0
nop
lea rcx, [rbp + 0xe0]
call fcn.140025350
mov qword [rsp + 0x70], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x68], rsi
mov byte [rsp + 0x58], 0
mov r8d, 0x3a
lea rdx, str.SocketHeciServer::SocketServer::WaitForClientToCloseSocket
lea rcx, [rsp + 0x58]
call fcn.14002b9d0
nop
mov qword [rsp + 0x48], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x40], rsi
mov byte [rsp + 0x30], 0
mov r8d, 0x31
lea rdx, str.Received_data_instead_of_graceful_socket_closure.
lea rcx, [rsp + 0x30]
call fcn.14002b9d0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x40]
call fcn.140036db0
nop
lea rax, vtable.SocketHeciServer::SocketServerClientSocketErrorException.0
mov qword [rbp + 0x40], rax
mov qword [rbp + 0xd8], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0xd0], rsi
mov byte [rbp + 0xc0], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0xc0]
call fcn.14002bb00
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0xc0]
lea rcx, [rbp + 0x98]
call fcn.14002bd80
nop
lea rcx, [rsp + 0x30]
call fcn.14002a810
lea rdx, [0x1400bedd8]
lea rcx, [rbp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov qword [rbp + 0x40], r14
mov qword [rbp + 0x60], 7
mov qword [rbp + 0x58], rsi
mov word [rbp + 0x48], si
mov qword [rbp + 0x80], 7
mov qword [rbp + 0x78], rsi
mov word [rbp + 0x68], si
mov dword [rbp + 0x88], 1
mov dword [rbp + 0x8c], 1
lea rdx, [0x1400a5d24]
lea rcx, [rbp + 0x40]
call fcn.1400257b0
mov dword [rax + 0x48], esi
mov rdx, rdi
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_gracefully_closed_by_client.
call fcn.1400257b0
nop
lea rcx, [rbp + 0x40]
call fcn.140025350
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.1400602a0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret