Function at 0x140001340
Capabilities:
Connect socket
Convert ip address from string
Initialize winsock library
Receive data
Receive data on socket
Send data
Send data on socket
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r12
push r14
push r15
mov eax, 0x32c0
call fcn.140003750
sub rsp, rax
mov rax, qword [0x140007040]
xor rax, rsp
mov qword [rsp + 0x32b0], rax
lea rdx, [0x1400044c8]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002190
mov rcx, rax
lea rdx, [0x140002360]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [0x1400044e8]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002190
mov rcx, rax
lea rdx, [0x140002360]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [0x1400044a1]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002190
mov rcx, rax
lea rdx, [0x140002360]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [0x140004500]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002190
mov rcx, rax
lea rdx, [0x140002360]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [0x140004520]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002190
mov rcx, rax
lea rdx, [0x140002360]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [0x1400044a1]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002190
mov rcx, rax
lea rdx, [0x140002360]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [0x140004550]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002190
mov rcx, rax
lea rdx, [0x140002360]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [0x1400045b0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002190
mov rcx, rax
lea rdx, [0x140002360]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [0x1400044a1]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002190
mov rcx, rax
lea rdx, [0x140002360]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [0x1400045f0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002190
mov rcx, rax
lea rdx, [0x140002360]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [0x140004610]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002190
mov rcx, rax
lea rdx, [0x140002360]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [0x140004630]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002190
mov rcx, rax
lea rdx, [0x140002360]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [0x1400044a1]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002190
mov rcx, rax
lea rdx, [0x140002360]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xorps xmm0, xmm0
movups xmmword [rsp + 0xa0], xmm0
xor r14d, r14d
mov qword [rsp + 0xb0], r14
mov qword [rsp + 0xb8], send
mov byte [rsp + 0xa0], r14b
movups xmmword [rsp + 0x80], xmm0
mov qword [rsp + 0x90], r14
mov qword [rsp + 0x98], send
mov byte [rsp + 0x80], r14b
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], send
mov byte [rsp + 0x60], r14b
lea rdx, [0x140004660]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002190
lea rdx, [rsp + 0xa0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.1400023a0
lea rdx, [0x140004670]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002190
lea rdx, [rsp + 0xc0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___int____ptr64____ptr64]
lea rdx, [0x140004688]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002190
lea rdx, [rsp + 0x80]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.1400023a0
mov ecx, 0x202
lea rdx, [rsp + 0xe0]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x14000177b
lea rdx, [0x1400046b0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140002190
mov rcx, rax
lea rdx, [0x140002360]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140001693
mov rcx, qword [rsp + 0x60]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000168e
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001e63
call fcn.140002910
mov byte [rsp + 0x60], 0
mov qword [rsp + 0x78], send
mov qword [rsp + 0x70], r14
mov rdx, qword [rsp + 0x98]
cmp rdx, 0xf
jbe 0x1400016e9
inc rdx
mov rcx, qword [rsp + 0x80]
cmp rdx, 0x1000
mov rax, rcx
jb 0x1400016e4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001ebc
call fcn.140002910
mov qword [rsp + 0x90], r14
mov qword [rsp + 0x98], send
mov byte [rsp + 0x80], 0
mov rdx, qword [rsp + 0xb8]
cmp rdx, 0xf
jbe 0x140001748
inc rdx
mov rcx, qword [rsp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001743
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001f2a
call fcn.140002910
mov eax, 1
mov rcx, qword [rsp + 0x32b0]
xor rcx, rsp
call fcn.1400028f0
lea r11, [rsp + 0x32c0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop r12
ret
xor r8d, r8d
lea edx, [r8 + 1]
mov r12d, 2
mov ecx, r12d
call qword [sym.imp.WS2_32.dll_socket]
mov rsi, rax
mov qword [rsp + 0x20], rax
cmp rax, 0xffffffffffffffff
jne 0x1400017e0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
lea rdx, [0x1400046c0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140002190
mov rcx, rax
mov edx, ebx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
mov rcx, rax
lea rdx, [0x140002360]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
call qword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x140001656
lea rdx, [rsp + 0xa0]
cmp qword [rsp + 0xb8], 0xf
cmova rdx, qword [rsp + 0xa0]
lea r8, [rsp + 0xcc]
mov ecx, r12d
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jg 0x140001846
lea rdx, [0x1400046d0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140002190
mov rcx, rax
lea rdx, [0x140002360]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x140001656
mov word [rsp + 0xc8], r12w
movzx ecx, word [rsp + 0xc0]
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsp + 0xca], ax
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0xc8]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
jns 0x1400018ab
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
lea rdx, [0x1400046e0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140002190
mov rcx, rax
mov edx, ebx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
jmp 0x140001822
mov dword [rsp + 0x1294], 1
mov dword [rsp + 0x1298], 3
mov ebx, dword [rsp + 0x90]
cmp ebx, 0xffe
jbe 0x1400018ff
lea rdx, [0x1400044a8]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140002190
mov rcx, rax
lea rdx, [0x140002360]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea r8, [rsp + 0x80]
cmp qword [rsp + 0x98], 0xf
cmova r8, qword [rsp + 0x80]
mov edx, 0x1000
lea rcx, [rsp + 0x129c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea eax, [rbx + 0xa]
mov dword [rsp + 0x1290], eax
lea r15d, [rbx + 0xe]
movsxd rcx, r15d
cmp rcx, 0x100c
jbe 0x140001975
lea rdx, [0x1400044b8]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140002190
mov rcx, rax
lea rdx, [0x140002360]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call fcn.140002954
mov rdi, rax
mov ecx, dword [rsp + 0x1290]
mov dword [rax], ecx
mov ecx, dword [rsp + 0x1294]
mov dword [rax + 4], ecx
mov ecx, dword [rsp + 0x1298]
mov dword [rax + 8], ecx
lea rax, [rsp + 0x129c]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400019b0
add r8, r12
lea rcx, [rdi + 0xc]
lea rdx, [rsp + 0x129c]
call sub.VCRUNTIME140.dll_memcpy
xor r9d, r9d
mov r8d, r15d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_send]
mov ebx, eax
mov rcx, rdi
call fcn.140002910
cmp ebx, r15d
je 0x1400019fb
lea rdx, [0x1400046f0]
jmp 0x140001816
mov ecx, 0x1000
call fcn.140002954
mov rbx, rax
xor r9d, r9d
mov r8d, 0x1000
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x140001df4
mov ecx, dword [rbx]
mov dword [rsp + 0x280], ecx
mov ecx, dword [rbx + 4]
mov dword [rsp + 0x284], ecx
mov ecx, dword [rbx + 8]
mov dword [rsp + 0x288], ecx
lea r8, [rbx + 0xc]
mov edx, 0x1000
lea rcx, [rsp + 0x28c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
mov rcx, rbx
call fcn.140002910
cmp dword [rsp + 0x284], 0xffffffff
je 0x140001dfc
lea rdx, [0x140004718]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002190
mov rcx, rax
lea rdx, [0x140002360]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov edx, 1
lea r8d, [rdx - 2]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::ignore_long_long___int64___int____ptr64]
nop dword [rax + rax]
lea rdx, [0x140004738]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002190
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140002700
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rcx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x70]
cmp r8, 1
jne 0x140001b1d
lea rdx, [0x14000475c]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140001ceb
mov dword [rsp + 0x22a4], r12d
mov dword [rsp + 0x22a8], r12d
mov ebx, dword [rsp + 0x70]
cmp ebx, 0xffe
jbe 0x140001b5e
lea rdx, [0x1400044a8]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140002190
lea rdx, [0x140002360]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x140001bbf
lea r8, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova r8, qword [rsp + 0x60]
mov edx, 0x1000
lea rcx, [rsp + 0x22ac]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea eax, [rbx + 0xa]
mov dword [rsp + 0x22a0], eax
lea r15d, [rbx + 0xe]
movsxd rcx, r15d
cmp rcx, 0x100c
jbe 0x140001bcb
lea rdx, [0x1400044b8]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140002190
lea rdx, [0x140002360]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call fcn.140002954
mov rbx, rax
mov eax, dword [rsp + 0x22a0]
mov dword [rbx], eax
mov eax, dword [rsp + 0x22a4]
mov dword [rbx + 4], eax
mov eax, dword [rsp + 0x22a8]
mov dword [rbx + 8], eax
lea rax, [rsp + 0x22ac]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x140001c00
add r8, 2
lea rcx, [rbx + 0xc]
lea rdx, [rsp + 0x22ac]
call sub.VCRUNTIME140.dll_memcpy
xor r9d, r9d
mov r8d, r15d
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_send]
mov edi, eax
mov rcx, rbx
call fcn.140002910
cmp edi, r15d
jne 0x140001f31
mov ecx, 0x1000
call fcn.140002954
mov rbx, rax
xor r9d, r9d
mov r8d, 0x1000
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x140001f53
mov eax, dword [rbx]
mov dword [rsp + 0x280], eax
mov eax, dword [rbx + 4]
mov dword [rsp + 0x284], eax
mov eax, dword [rbx + 8]
mov dword [rsp + 0x288], eax
lea r8, [rbx + 0xc]
mov edx, 0x1000
lea rcx, [rsp + 0x28c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
mov rcx, rbx
call fcn.140002910
lea rdx, [0x14000477c]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002190
lea rdx, [rsp + 0x28c]
mov rcx, rax
call fcn.140002190
lea rdx, [0x140002360]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
jmp 0x140001ab0
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140001d38
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001d33
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001e63
call fcn.140002910
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], send
mov byte [rsp + 0x60], 0
mov rdx, qword [rsp + 0x98]
cmp rdx, 0xf
jbe 0x140001d8e
inc rdx
mov rcx, qword [rsp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001d89
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001ebc
call fcn.140002910
mov qword [rsp + 0x90], r14
mov qword [rsp + 0x98], send
mov byte [rsp + 0x80], 0
mov rdx, qword [rsp + 0xb8]
cmp rdx, 0xf
jbe 0x140001ded
inc rdx
mov rcx, qword [rsp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001de8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001f2a
call fcn.140002910
xor eax, eax
jmp 0x14000174d
mov rcx, rbx
call fcn.140002910
lea rdx, [0x140004708]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140002190
mov rcx, rax
lea rdx, [0x140002360]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140001e6f
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001e6a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001e6a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002910
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], send
mov byte [rsp + 0x60], 0
mov rdx, qword [rsp + 0x98]
cmp rdx, 0xf
jbe 0x140001ec8
inc rdx
mov rcx, qword [rsp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001ec3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001ec3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002910
mov qword [rsp + 0x90], r14
mov qword [rsp + 0x98], send
mov byte [rsp + 0x80], 0
mov rdx, qword [rsp + 0xb8]
cmp rdx, 0xf
jbe 0x140001748
inc rdx
mov rcx, qword [rsp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001743
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001743
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rdx, [0x140004760]
lea rcx, [rsp + 0x30]
call fcn.1400011d0
lea rdx, [0x140005498]
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll__CxxThrowException
mov rcx, rbx
call fcn.140002910
lea rdx, [0x140004770]
lea rcx, [rsp + 0x48]
call fcn.1400011d0
lea rdx, [0x140005498]
lea rcx, [rsp + 0x48]
call sub.VCRUNTIME140.dll__CxxThrowException
int3