Function at 0x41167c
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
jmp 0x41383b
push 0x43c
mov eax, 0x418563
call fcn.00411514
mov esi, ecx
mov ecx, 0x4200f7
call fcn.004115c8
xor ebx, ebx
jmp 0x41393d
cmp eax, 0x400
jae 0x4139df
mov byte [ebp + eax - 0x410], bl
lea ecx, [ebp - 0x448]
lea eax, [ebp - 0x410]
push eax
call fcn.00411122
push 0x41105a
lea eax, [ebp - 0x448]
mov dword [ebp - 4], ebx
push eax
push str.Server_to_Client:
push dword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.004112fd
pop ecx
pop ecx
push eax
call fcn.00411483
pop ecx
pop ecx
mov ecx, eax
call dword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push str.Client_to_Server:
push dword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.004112fd
pop ecx
pop ecx
lea ecx, [ebp - 0x42c]
call fcn.004113de
lea eax, [ebp - 0x42c]
mov byte [ebp - 4], 1
push eax
push dword [sym.imp.MSVCP140D.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.00411005
lea eax, [ebp - 0x42c]
push str.quit
push eax
call fcn.00411389
add esp, 0x10
test al, al
jne 0x41399c
push ebx
lea ecx, [ebp - 0x42c]
call fcn.004116d1
push eax
lea ecx, [ebp - 0x42c]
call fcn.00411505
push eax
push dword [esi + 0x40]
call dword [sym.imp.WS2_32.dll_send]
lea ecx, [ebp - 0x42c]
call fcn.00411384
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x448]
call fcn.00411384
push ebx
push 0x3ff
lea eax, [ebp - 0x410]
push eax
push dword [esi + 0x40]
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x41385d
push 0x41105a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Recv_error
push dword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.004112fd
pop ecx
pop ecx
mov ecx, eax
call dword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
mov ecx, eax
call dword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push dword [esi + 0x40]
mov ecx, esi
call fcn.004110c8
xor al, al
call fcn.004116d6
ret
push 0x41105a
push str.Exit...
push dword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.004112fd
pop ecx
pop ecx
mov ecx, eax
call dword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push dword [esi + 0x40]
mov ecx, esi
call fcn.004110c8
lea ecx, [ebp - 0x42c]
call fcn.00411384
lea ecx, [ebp - 0x448]
call fcn.00411384
mov al, 1
jmp 0x413996
call fcn.00411078
int3