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

Disassembly:
jmp 0x14001d910
push rbp
push rdi
sub rsp, 0x938
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x186
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140030040]
xor rax, rbp
mov qword [rbp + 0x900], rax
lea rcx, [0x14003810f]
call fcn.1400119a1
nop
xor ecx, ecx
call fcn.14001dc40
mov ecx, eax
call qword [sym.imp.ucrtbased.dll_srand]
nop
call fcn.1400116a4
nop
lea rdx, str.127.0.0.1
lea rcx, [rbp + 8]
call fcn.140011456
nop
mov dword [rbp + 0x44], 0x1f90
mov edx, 0x1f90
lea rcx, [rbp + 8]
call fcn.140011726
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0xffffffffffffffff
jne 0x14001d9b3
mov dword [rbp + 0x864], 1
lea rcx, [rbp + 8]
call fcn.14001119a
mov eax, dword [rbp + 0x864]
jmp 0x14001db62
lea rdx, str.Connected_to_server.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400110eb
lea rdx, [0x14001105a]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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
lea rdx, [0x1400118bb]
lea rcx, [rbp + 0x88]
call fcn.140011442
nop
lea rdx, [0x14001133e]
lea rcx, [rbp + 0xb8]
call fcn.140011442
nop
xor eax, eax
cmp eax, 1
je 0x14001db1d
xor r9d, r9d
mov r8d, 0x400
lea rdx, [rbp + 0xf0]
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.WS2_32.dll_recv]
mov dword [rbp + 0x504], eax
cmp dword [rbp + 0x504], 0
jle 0x14001db18
movsxd rax, dword [rbp + 0x504]
mov qword [rbp + 0x888], rax
cmp qword [rbp + 0x888], 0x400
jae 0x14001da54
jmp 0x14001da5a
call fcn.14001173f
nop
mov rax, qword [rbp + 0x888]
mov byte [rbp + rax + 0xf0], 0
lea rdx, str.Command_received:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400110eb
lea rdx, [rbp + 0xf0]
mov rcx, rax
call fcn.1400110eb
lea rdx, [0x14001105a]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0x8a8]
call fcn.140011456
nop
lea rdx, [rbp + 0x8a8]
lea rcx, [rbp + 0x528]
call fcn.1400112d0
nop
lea rcx, [rbp + 0x8a8]
call fcn.14001119a
nop
lea rcx, [rbp + 0x528]
call fcn.14001186b
mov qword [rbp + 0x8f8], rax
lea rcx, [rbp + 0x528]
call fcn.1400110c8
xor r9d, r9d
mov rcx, qword [rbp + 0x8f8]
mov r8d, ecx
mov rdx, rax
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.WS2_32.dll_send]
nop
lea rcx, [rbp + 0x528]
call fcn.14001119a
nop
jmp 0x14001d9ff
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.WS2_32.dll_closesocket]
nop
call qword [sym.imp.WS2_32.dll_WSACleanup]
nop
mov dword [rbp + 0x8e4], 0
lea rcx, [rbp + 0xb8]
call fcn.14001144c
nop
lea rcx, [rbp + 0x88]
call fcn.14001144c
nop
lea rcx, [rbp + 8]
call fcn.14001119a
mov eax, dword [rbp + 0x8e4]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140029c20]
call fcn.140011820
mov rax, rdi
mov rcx, qword [rbp + 0x900]
xor rcx, rbp
call fcn.1400114c4
lea rsp, [rbp + 0x918]
pop rdi
pop rbp
ret