Function at 0x14002e830
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 - 0x180]
sub rsp, 0x280
mov rax, qword [0x1400a5038]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rdi, rcx
lea r15, vtable.LogItem.0
mov qword [rsp + 0x60], r15
xor esi, esi
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], si
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], si
mov dword [rbp - 0x58], 1
mov dword [rbp - 0x54], 1
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x38], sil
lea r8d, [rsi + 3]
lea rdx, [0x1400923d4]
lea rcx, [rsp + 0x38]
call fcn.140024110
nop
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.14001df20
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x14002e91b
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002e916
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002ea14
call fcn.1400570c4
mov dword [rbp - 0x58], esi
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.140026680
mov rbx, rax
mov dword [rax + 0x48], 1
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x38], 0
mov r8d, 2
lea rdx, [0x1400923d8]
lea rcx, [rsp + 0x38]
call fcn.140024110
nop
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.14001df20
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x14002e9a7
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002e9a2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002ea14
call fcn.1400570c4
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x38], 0
mov r8d, 0x54
lea rdx, str.SocketServer::WaitForClientToCloseSocket_called._Waiting_for_client_to_close_socket.
lea rcx, [rsp + 0x38]
call fcn.140024110
nop
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.14001df20
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x14002ea21
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002ea1b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002ea1b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400570c4
nop
lea rcx, [rsp + 0x60]
call fcn.14001d880
mov ebx, esi
xor r9d, r9d
lea r8d, [r9 + 1]
lea rdx, [rsp + 0x20]
mov rcx, qword [rdi + 0x208]
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
je 0x14002eec1
lea r14, [0x14008ef24]
test eax, eax
jg 0x14002f04a
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x28], eax
cmp eax, 0x2733
jne 0x14002ef8d
cmp ebx, 0xa
je 0x14002f10a
inc ebx
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], si
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], si
mov dword [rbp - 0x58], 1
mov dword [rbp - 0x54], 1
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x38], 0
mov r8d, 3
lea rdx, [0x1400923d4]
lea rcx, [rsp + 0x38]
call fcn.140024110
nop
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.14001df20
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x14002eb2a
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002eb25
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002ef71
call fcn.1400570c4
mov dword [rbp - 0x58], esi
mov r9, rdi
lea r8, str._llx
mov edx, 0x80
lea rcx, [rbp + 0x70]
call fcn.14001c930
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x38], 0
lea rax, [rbp + 0x70]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14002eb63
lea rdx, [rbp + 0x70]
lea rcx, [rsp + 0x38]
call fcn.140024110
nop
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.14001df20
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x14002ebc9
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002ebc4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002ef78
call fcn.1400570c4
mov dword [rbp - 0x58], 1
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x38], 0
mov r8d, 2
lea rdx, [0x1400923d8]
lea rcx, [rsp + 0x38]
call fcn.140024110
nop
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.14001df20
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x14002ec48
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002ec43
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002ef78
call fcn.1400570c4
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.140024110
nop
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.14001df20
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x14002ecc0
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002ecbb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002ef78
call fcn.1400570c4
lea r8, [0x140091ae4]
cmp dword [rbp - 0x58], 0
cmove r8, r14
mov edx, 0x80
lea r9d, [rdx - 0x4e]
lea rcx, [rbp + 0xf0]
call fcn.14001c930
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x38], 0
lea rax, [rbp + 0xf0]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14002ed05
lea rdx, [rbp + 0xf0]
lea rcx, [rsp + 0x38]
call fcn.140024110
nop
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.14001df20
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x14002ed6e
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002ed69
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002ef7f
call fcn.1400570c4
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.140024110
nop
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.14001df20
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x14002ede6
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002ede1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002ef7f
call fcn.1400570c4
lea r8, [0x140091ae4]
cmp dword [rbp - 0x58], 0
cmove r8, r14
mov r9d, ebx
mov edx, 0x80
lea rcx, [rbp - 0x30]
call fcn.14001c930
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x38], 0
lea rax, [rbp - 0x30]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14002ee24
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x38]
call fcn.140024110
nop
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.14001df20
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x14002ee8b
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002ee85
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002ef86
call fcn.1400570c4
nop
lea rcx, [rsp + 0x60]
call fcn.14001d880
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 + 0x208]
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jne 0x14002ea55
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], si
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], si
mov dword [rbp - 0x58], 1
mov dword [rbp - 0x54], 1
lea rdx, [0x1400923d4]
lea rcx, [rsp + 0x60]
call fcn.14001dd30
mov dword [rax + 0x48], esi
mov rdx, rdi
mov rcx, rax
call fcn.140026680
mov dword [rax + 0x48], 1
lea rdx, [0x1400923d8]
mov rcx, rax
call fcn.14001dd30
mov rcx, rax
lea rdx, str.Connection_gracefully_closed_by_client.
call fcn.14001dd30
nop
lea rcx, [rsp + 0x60]
call fcn.14001d880
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1400570a0
lea r11, [rsp + 0x280]
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 + 0x24], 1
mov dword [rsp + 0x30], esi
lea rcx, [rsp + 0x60]
call fcn.14001d6d0
nop
mov rcx, rax
call fcn.14001def0
mov rcx, rax
lea rdx, [0x1400923d4]
call fcn.14001dd30
mov rcx, rax
lea rdx, [rsp + 0x30]
call fcn.1400269a0
mov rcx, rax
mov rdx, rdi
call fcn.140026680
mov rcx, rax
lea rdx, [rsp + 0x24]
call fcn.1400269a0
mov rcx, rax
lea rdx, [0x1400923d8]
call fcn.14001dd30
mov rcx, rax
lea rdx, str.Receiving_message_failed_with_error:
call fcn.14001dd30
mov rcx, rax
lea rdx, [rsp + 0x28]
call fcn.14001dc30
nop
lea rcx, [rsp + 0x60]
call fcn.14001d880
lea rdx, str.SocketHeciServer::SocketServer::WaitForClientToCloseSocket
lea rcx, [rbp - 0x50]
call fcn.1400239a0
nop
mov r8d, dword [rsp + 0x28]
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x30]
call fcn.140028e80
lea rdx, [0x1400a0de8]
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov dword [rsp + 0x24], 1
mov dword [rsp + 0x30], esi
lea rcx, [rsp + 0x60]
call fcn.14001d6d0
nop
mov rcx, rax
call fcn.14001df00
mov rcx, rax
lea rdx, [0x1400923d4]
call fcn.14001dd30
mov rcx, rax
lea rdx, [rsp + 0x30]
call fcn.1400269a0
mov rcx, rax
mov rdx, rdi
call fcn.140026680
mov rcx, rax
lea rdx, [rsp + 0x24]
call fcn.1400269a0
mov rcx, rax
lea rdx, [0x1400923d8]
call fcn.14001dd30
mov rcx, rax
lea rdx, str.Received_a_response_from_the_client_instead_of_graceful_socket_closure.
call fcn.14001dd30
nop
lea rcx, [rsp + 0x60]
call fcn.14001d880
lea rdx, str.SocketHeciServer::SocketServer::WaitForClientToCloseSocket
lea rcx, [rsp + 0x38]
call fcn.1400239a0
nop
lea rdx, str.Received_data_instead_of_graceful_socket_closure.
lea rcx, [rbp - 0x50]
call fcn.1400239a0
mov r8, rax
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x30]
call fcn.1400290f0
lea rdx, [0x1400a0de8]
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov dword [rsp + 0x30], 0x1f4
mov dword [rsp + 0x24], 1
mov dword [rsp + 0x28], esi
lea rcx, [rsp + 0x60]
call fcn.14001d6d0
nop
mov rcx, rax
call fcn.14001df00
mov rcx, rax
lea rdx, [0x1400923d4]
call fcn.14001dd30
mov rcx, rax
lea rdx, [rsp + 0x28]
call fcn.1400269a0
mov rcx, rax
mov rdx, rdi
call fcn.140026680
mov rcx, rax
lea rdx, [rsp + 0x24]
call fcn.1400269a0
mov rcx, rax
lea rdx, [0x1400923d8]
call fcn.14001dd30
mov rcx, rax
lea rdx, str.Client_didnt_close_socket_within
call fcn.14001dd30
mov rcx, rax
lea rdx, [rsp + 0x30]
call fcn.1400267a0
mov rcx, rax
lea rdx, str._ms.
call fcn.14001dd30
nop
lea rcx, [rsp + 0x60]
call fcn.14001d880
lea rdx, str.SocketHeciServer::SocketServer::WaitForClientToCloseSocket
lea rcx, [rbp - 0x50]
call fcn.1400239a0
nop
lea rdx, str.Timeout_occured_while_waiting_for_graceful_socket_closure.
lea rcx, [rsp + 0x38]
call fcn.1400239a0
mov r8, rax
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x30]
call fcn.1400290f0
lea rdx, [0x1400a0de8]
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll__CxxThrowException
int3