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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x1400a7038]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rdi, rcx
lea r15, vtable.LogItem.0
mov qword [rsp + 0x60], r15
call fcn.1400201b0
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.1400264e0
nop
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x38]
call fcn.1400264e0
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.14001ff90
nop
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x30]
call fcn.1400264e0
mov rdx, rax
lea rcx, [rbp - 0x58]
call fcn.14001ff90
mov dword [rbp - 0x38], 1
mov dword [rbp - 0x34], 1
lea rdx, [0x140093ce4]
lea rcx, [rsp + 0x60]
call fcn.140020c20
xor esi, esi
mov dword [rax + 0x68], esi
mov rdx, rdi
mov rcx, rax
call fcn.140029240
mov dword [rax + 0x68], 1
lea rdx, [0x140093ce8]
mov rcx, rax
call fcn.140020c20
mov rcx, rax
lea rdx, str.SocketServer::WaitForClientToCloseSocket_called._Waiting_for_client_to_close_socket.
call fcn.140020c20
nop
lea rcx, [rsp + 0x60]
call fcn.140020720
mov ebx, esi
xor r9d, r9d
lea r8d, [rsi + 1]
lea rdx, [rsp + 0x28]
mov rcx, qword [rdi + 0x208]
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
je 0x14002ff3d
lea r14, [0x1400906c0]
test eax, eax
jg 0x1400300ec
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x30], eax
cmp eax, 0x2733
jne 0x14003002f
cmp ebx, 0xa
je 0x1400301aa
inc ebx
mov qword [rsp + 0x60], r15
call fcn.1400201b0
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.1400264e0
nop
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x30]
call fcn.1400264e0
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.14001ff90
nop
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x10]
call fcn.1400264e0
mov rdx, rax
lea rcx, [rbp - 0x58]
call fcn.14001ff90
mov dword [rbp - 0x38], 1
mov dword [rbp - 0x34], 1
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x38], 0
mov r8d, 3
lea rdx, [0x140093ce4]
lea rcx, [rsp + 0x38]
call fcn.140026c20
nop
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.140020e30
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x14002fb75
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002fb70
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030013
call fcn.140055f30
mov dword [rbp - 0x38], esi
mov r9, rdi
lea r8, str._llx
mov edx, 0x80
lea rcx, [rbp + 0xb0]
call fcn.14001f5a0
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x38], 0
lea rax, [rbp + 0xb0]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14002fbc0
lea rdx, [rbp + 0xb0]
lea rcx, [rsp + 0x38]
call fcn.140026c20
nop
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.140020e30
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x14002fc29
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002fc24
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003001a
call fcn.140055f30
mov dword [rbp - 0x38], 1
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x38], 0
mov r8d, 2
lea rdx, [0x140093ce8]
lea rcx, [rsp + 0x38]
call fcn.140026c20
nop
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.140020e30
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x14002fcad
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002fca8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003001a
call fcn.140055f30
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x38], 0
mov r8d, 0x31
lea rdx, str.Client_still_didnt_close_socket__retrying_after
lea rcx, [rsp + 0x38]
call fcn.140026c20
nop
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.140020e30
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x14002fd2a
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002fd25
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003001a
call fcn.140055f30
lea r8, [0x140093424]
cmp dword [rbp - 0x38], 0
cmove r8, r14
mov edx, 0x80
lea r9d, [rdx - 0x4e]
lea rcx, [rbp + 0x130]
call fcn.14001f5a0
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x38], 0
lea rax, [rbp + 0x130]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14002fd74
lea rdx, [rbp + 0x130]
lea rcx, [rsp + 0x38]
call fcn.140026c20
nop
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.140020e30
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x14002fddd
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002fdd8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030021
call fcn.140055f30
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x38], 0
mov r8d, 0x1c
lea rdx, str._milliseconds._Retry_number
lea rcx, [rsp + 0x38]
call fcn.140026c20
nop
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.140020e30
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x14002fe5a
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002fe55
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030021
call fcn.140055f30
lea r8, [0x140093424]
cmp dword [rbp - 0x38], 0
cmove r8, r14
mov r9d, ebx
mov edx, 0x80
lea rcx, [rbp + 0x10]
call fcn.14001f5a0
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x38], 0
lea rax, [rbp + 0x10]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14002fea0
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x38]
call fcn.140026c20
nop
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.140020e30
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x14002ff07
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002ff01
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030028
call fcn.140055f30
nop
lea rcx, [rsp + 0x60]
call fcn.140020720
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
xor r9d, r9d
lea r8d, [r9 + 1]
lea rdx, [rsp + 0x28]
mov rcx, qword [rdi + 0x208]
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jne 0x14002fa75
mov qword [rsp + 0x60], r15
call fcn.1400201b0
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.1400264e0
nop
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x10]
call fcn.1400264e0
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.14001ff90
nop
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x30]
call fcn.1400264e0
mov rdx, rax
lea rcx, [rbp - 0x58]
call fcn.14001ff90
mov dword [rbp - 0x38], 1
mov dword [rbp - 0x34], 1
lea rdx, [0x140093ce4]
lea rcx, [rsp + 0x60]
call fcn.140020c20
mov dword [rax + 0x68], esi
mov rdx, rdi
mov rcx, rax
call fcn.140029240
mov dword [rax + 0x68], 1
lea rdx, [0x140093ce8]
mov rcx, rax
call fcn.140020c20
mov rcx, rax
lea rdx, str.Connection_gracefully_closed_by_client.
call fcn.140020c20
nop
lea rcx, [rsp + 0x60]
call fcn.140020720
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.140055f10
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov dword [rsp + 0x2c], 1
mov dword [rsp + 0x20], esi
lea rcx, [rsp + 0x60]
call fcn.1400204e0
nop
mov rcx, rax
call fcn.140020e00
mov rcx, rax
lea rdx, [0x140093ce4]
call fcn.140020c20
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.140029560
mov rcx, rax
mov rdx, rdi
call fcn.140029240
mov rcx, rax
lea rdx, [rsp + 0x2c]
call fcn.140029560
mov rcx, rax
lea rdx, [0x140093ce8]
call fcn.140020c20
mov rcx, rax
lea rdx, str.Receiving_message_failed_with_error:
call fcn.140020c20
mov rcx, rax
lea rdx, [rsp + 0x30]
call fcn.140020b20
nop
lea rcx, [rsp + 0x60]
call fcn.140020720
lea rdx, str.SocketHeciServer::SocketServer::WaitForClientToCloseSocket
lea rcx, [rbp - 0x10]
call fcn.1400264a0
nop
mov r8d, dword [rsp + 0x30]
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x10]
call fcn.14002a720
lea rdx, [0x1400a2e38]
lea rcx, [rbp + 0x10]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov dword [rsp + 0x2c], 1
mov dword [rsp + 0x20], esi
lea rcx, [rsp + 0x60]
call fcn.1400204e0
nop
mov rcx, rax
call fcn.140020e10
mov rcx, rax
lea rdx, [0x140093ce4]
call fcn.140020c20
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.140029560
mov rcx, rax
mov rdx, rdi
call fcn.140029240
mov rcx, rax
lea rdx, [rsp + 0x2c]
call fcn.140029560
mov rcx, rax
lea rdx, [0x140093ce8]
call fcn.140020c20
mov rcx, rax
lea rdx, str.Received_a_response_from_the_client_instead_of_graceful_socket_closure.
call fcn.140020c20
nop
lea rcx, [rsp + 0x60]
call fcn.140020720
lea rdx, str.SocketHeciServer::SocketServer::WaitForClientToCloseSocket
lea rcx, [rbp - 0x30]
call fcn.1400264a0
nop
lea rdx, str.Received_data_instead_of_graceful_socket_closure.
lea rcx, [rbp - 0x10]
call fcn.1400264a0
mov r8, rax
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x10]
call fcn.14002a930
lea rdx, [0x1400a2e38]
lea rcx, [rbp + 0x10]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov dword [rsp + 0x20], 0x1f4
mov dword [rsp + 0x2c], 1
mov dword [rsp + 0x30], esi
lea rcx, [rsp + 0x60]
call fcn.1400204e0
nop
mov rcx, rax
call fcn.140020e10
mov rcx, rax
lea rdx, [0x140093ce4]
call fcn.140020c20
mov rcx, rax
lea rdx, [rsp + 0x30]
call fcn.140029560
mov rcx, rax
mov rdx, rdi
call fcn.140029240
mov rcx, rax
lea rdx, [rsp + 0x2c]
call fcn.140029560
mov rcx, rax
lea rdx, [0x140093ce8]
call fcn.140020c20
mov rcx, rax
lea rdx, str.Client_didnt_close_socket_within
call fcn.140020c20
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.140029360
mov rcx, rax
lea rdx, str._ms.
call fcn.140020c20
nop
lea rcx, [rsp + 0x60]
call fcn.140020720
lea rdx, str.SocketHeciServer::SocketServer::WaitForClientToCloseSocket
lea rcx, [rbp - 0x30]
call fcn.1400264a0
nop
lea rdx, str.Timeout_occured_while_waiting_for_graceful_socket_closure.
lea rcx, [rbp - 0x10]
call fcn.1400264a0
mov r8, rax
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x10]
call fcn.14002a930
lea rdx, [0x1400a2e38]
lea rcx, [rbp + 0x10]
call sub.VCRUNTIME140.dll__CxxThrowException
int3