Function at 0x14006c750
Capabilities:
Connect socket
Initialize winsock library
Receive data
Receive data on socket
Send data
Send data on socket
Send http request
Send http request with host header
Set socket configuration

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1330]
mov eax, 0x1430
call fcn.14008b800
sub rsp, rax
mov rax, qword [0x1400b0010]
xor rax, rsp
mov qword [rbp + 0x1320], rax
mov r12, r8
mov rdi, rdx
mov rbx, rcx
mov qword [rbp + 0xe0], rcx
mov qword [rbp + 0xe8], rdx
xor r13d, r13d
mov qword [rbp + 0xf0], r13
mov qword [rbp + 0x100], r13
mov qword [rbp + 0x108], setsockopt
mov byte [rbp + 0xf0], r13b
lea r8d, [r13 + 0xa]
lea rdx, str.id2data
lea rcx, [rbp + 0xf0]
call fcn.140055850
nop
mov rcx, qword [rdi + 0x10]
movabs rsi, 0x7fffffffffffffff
mov rax, rsi
mov rdx, qword [rbp + 0x100]
sub rax, rdx
cmp rax, rcx
jb 0x14006d6f4
lea r9, [rbp + 0xf0]
cmp qword [rbp + 0x108], 0x10
cmovae r9, qword [rbp + 0xf0]
mov rax, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14006c820
mov rax, qword [rdi]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea rcx, [rbp + 0x130]
call fcn.1400611d0
nop
mov rcx, qword [rbx + 0x10]
mov rax, rsi
sub rax, rcx
cmp rax, 0xf
jb 0x14006d6fa
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14006c85d
mov rax, qword [rbx]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], setsockopt
lea r9, str._index.php_api_
lea rcx, [rbp + 0x20]
call fcn.1400611d0
lea rdx, [rbp + 0x20]
mov rcx, rbx
call fcn.140060b10
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x14006c8c7
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006c8c2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006d577
call fcn.14008a88c
mov ecx, 0x202
lea rdx, [rbp + 0x160]
call qword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
je 0x14006c905
lea rdx, str.Failed_to_initialize_Winsock
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14006a690
mov rcx, rax
lea rdx, [0x14006dec0]
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]
jmp 0x14006d2c4
xor r8d, r8d
lea edx, [r8 + 1]
mov r15d, 2
mov ecx, r15d
call qword [sym.imp.WSOCK32.dll_socket]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x14006c952
lea rdx, str.Failed_to_create_socket
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14006a690
mov rcx, rax
lea rdx, [0x14006dec0]
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]
call qword [sym.imp.WSOCK32.dll_WSACleanup]
jmp 0x14006d2c4
mov rcx, r14
call fcn.14006c640
test al, al
jne 0x14006c972
mov rcx, r14
call qword [sym.imp.WSOCK32.dll_closesocket]
call qword [sym.imp.WSOCK32.dll_WSACleanup]
jmp 0x14006d2c4
mov word [rbp + 0x150], r15w
mov ecx, 0x51
call qword [sym.imp.WSOCK32.dll_htons]
mov word [rbp + 0x152], ax
lea rcx, str.1.117.225.11
call qword [sym.imp.WSOCK32.dll_inet_addr]
mov dword [rbp + 0x154], eax
mov r8d, reloc.WSOCK32.dll_recv
lea rdx, [rbp + 0x150]
mov rcx, r14
call qword [sym.imp.WSOCK32.dll_connect]
cmp eax, 0xffffffff
jne 0x14006c9f1
lea rdx, str.Failed_to_connect_to_server
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14006a690
mov rcx, rax
lea rdx, [0x14006dec0]
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]
mov rcx, r14
call qword [sym.imp.WSOCK32.dll_closesocket]
call qword [sym.imp.WSOCK32.dll_WSACleanup]
jmp 0x14006d2c4
lea rax, [rbp + 0x130]
mov r15, qword [rbp + 0x130]
mov r13, qword [rbp + 0x148]
cmp r13, 0x10
cmovae rax, r15
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14006ca15
lea r9, [rbp + 0x315]
movabs r10, 0xcccccccccccccccd
dec r9
mov rax, r10
mul r8
shr rdx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8, rdx
test rdx, rdx
jne 0x14006ca30
xor ecx, ecx
mov qword [rbp + 0x60], rcx
mov qword [rbp + 0x70], rcx
mov qword [rbp + 0x78], setsockopt
mov byte [rbp + 0x60], cl
lea rax, [rbp + 0x315]
cmp r9, rax
je 0x14006ca93
lea r8, [rbp + 0x315]
sub r8, r9
mov rdx, r9
lea rcx, [rbp + 0x60]
call fcn.140055850
xor ecx, ecx
mov qword [rbp + 0x40], rcx
mov qword [rbp + 0x50], rcx
mov qword [rbp + 0x58], setsockopt
mov byte [rbp + 0x40], 0
mov r8d, recv
lea rdx, str.1.117.225.11
lea rcx, [rbp + 0x40]
call fcn.140055850
nop
mov rcx, qword [rbx + 0x10]
sub rsi, rcx
cmp rsi, 5
jb 0x14006d6ee
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14006cadc
mov rax, qword [rbx]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 5
lea r9, str.POST
lea rcx, [rbp + 0xc0]
call fcn.1400611d0
nop
mov r8d, recv
lea rdx, str._HTTP_1.1_r_n
lea rcx, [rbp + 0xc0]
call fcn.140060e70
xor esi, esi
mov qword [rbp], rsi
mov qword [rbp + 0x10], rsi
mov qword [rbp + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], setsockopt
mov byte [rax], sil
lea r8d, [rsi + 6]
lea rdx, str.Host:
lea rcx, [rbp]
call fcn.140060e70
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x30], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], setsockopt
mov byte [rax], sil
lea r9, [rbp + 0x40]
lea r8, [rbp + 0x20]
lea rcx, [rbp + 0xa0]
call fcn.140066270
nop
lea r8d, [rsi + 2]
lea rdx, [0x140097d64]
lea rcx, [rbp + 0xa0]
call fcn.140060e70
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x10], rsi
mov qword [rbp - 8], rsi
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], setsockopt
mov byte [rax], sil
lea r8d, [rsi + 0x27]
lea rdx, str.User_Agent:_MYPRODUCT_1.0.0__Windows__r_n
lea rcx, [rbp - 0x20]
call fcn.140060e70
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], rsi
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], setsockopt
mov byte [rax], sil
lea r8d, [rsi + 0x31]
lea rdx, str.Content_Type:_application_x_www_form_urlencoded_r_n
lea rcx, [rbp - 0x40]
call fcn.140060e70
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x48], rsi
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x50], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], setsockopt
mov byte [rax], sil
lea r8d, [rsi + 0x10]
lea rdx, str.Charset:_UTF_8_r_n
lea rcx, [rbp - 0x60]
call fcn.140060e70
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], rsi
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x70], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], setsockopt
mov byte [rax], sil
lea r8d, [rsi + 0x10]
lea rdx, str.Content_Length:
lea rcx, [rbp - 0x80]
call fcn.140060e70
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x300], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x310], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], setsockopt
mov byte [rax], sil
lea r9, [rbp + 0x60]
lea r8, [rbp + 0x300]
lea rcx, [rbp + 0x80]
call fcn.140066270
nop
lea r8d, [rsi + 2]
lea rdx, [0x140097d64]
lea rcx, [rbp + 0x80]
call fcn.140060e70
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rsi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], setsockopt
mov byte [rax], sil
lea r8d, [rsi + 0x15]
lea rdx, str.Connection:_close_r_n_r_n
lea rcx, [rsp + 0x60]
call fcn.140060e70
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], setsockopt
mov byte [rax], sil
lea rdx, [rbp + 0x130]
cmp r13, 0x10
cmovae rdx, r15
mov r8, qword [rbp + 0x140]
lea rcx, [rsp + 0x40]
call fcn.140060e70
xor r13d, r13d
mov qword [rbp + 0x110], r13
mov qword [rbp + 0x120], r13
mov qword [rbp + 0x128], r13
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x110], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x120], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], setsockopt
mov byte [rax], r13b
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x14006ce00
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006cdfb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006cdfb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008a88c
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], setsockopt
mov byte [rsp + 0x40], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x14006ce53
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006ce4e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006ce4e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008a88c
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], setsockopt
mov byte [rsp + 0x60], 0
mov rdx, qword [rbp + 0x98]
cmp rdx, 0x10
jb 0x14006ceaa
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006cea5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006cea5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008a88c
mov qword [rbp + 0x90], r13
mov qword [rbp + 0x98], setsockopt
mov byte [rbp + 0x80], 0
mov rdx, qword [rbp + 0x318]
cmp rdx, 0x10
jb 0x14006cf08
inc rdx
mov rcx, qword [rbp + 0x300]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006cf02
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006cf02
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008a88c
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x14006cf46
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006cf41
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006cf41
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008a88c
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x68], setsockopt
mov byte [rbp - 0x80], 0
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x14006cf94
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006cf8f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006cf8f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008a88c
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x48], setsockopt
mov byte [rbp - 0x60], 0
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x14006cfe2
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006cfdd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006cfdd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008a88c
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x28], setsockopt
mov byte [rbp - 0x40], 0
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x14006d030
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006d02b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006d02b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008a88c
mov qword [rbp - 0x10], r13
mov qword [rbp - 8], setsockopt
mov byte [rbp - 0x20], 0
mov rdx, qword [rbp + 0xb8]
cmp rdx, 0x10
jb 0x14006d084
inc rdx
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006d07f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006d07f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008a88c
mov qword [rbp + 0xb0], r13
mov qword [rbp + 0xb8], setsockopt
mov byte [rbp + 0xa0], 0
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x14006d0dc
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006d0d6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006d0d6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008a88c
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x14006d11a
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006d115
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006d115
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008a88c
mov qword [rbp + 0x10], r13
mov qword [rbp + 0x18], setsockopt
mov byte [rbp], 0
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0x10
jb 0x14006d16e
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006d169
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006d169
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008a88c
mov qword [rbp + 0xd0], r13
mov qword [rbp + 0xd8], setsockopt
mov byte [rbp + 0xc0], 0
mov rdx, qword [rbp + 0x58]
cmp rdx, 0x10
jb 0x14006d1c6
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006d1c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006d1c0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008a88c
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 0x10
jb 0x14006d204
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006d1ff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006d1ff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008a88c
lea rdx, [rbp + 0x110]
cmp qword [rbp + 0x128], 0x10
cmovae rdx, qword [rbp + 0x110]
xor r9d, r9d
mov r8d, dword [rbp + 0x120]
mov rcx, r14
call qword [sym.imp.WSOCK32.dll_send]
cmp eax, 0xffffffff
jne 0x14006d3d2
lea rdx, str.Failed_to_send_request
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14006a690
mov rcx, rax
lea rdx, [0x14006dec0]
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]
mov rcx, r14
call qword [sym.imp.WSOCK32.dll_closesocket]
call qword [sym.imp.WSOCK32.dll_WSACleanup]
nop
mov rdx, qword [rbp + 0x128]
cmp rdx, 0x10
jb 0x14006d2ab
inc rdx
mov rcx, qword [rbp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006d2a6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006d577
call fcn.14008a88c
mov qword [rbp + 0x120], r13
mov qword [rbp + 0x128], setsockopt
mov byte [rbp + 0x110], 0
mov rdx, qword [rbp + 0x148]
cmp rdx, 0x10
jb 0x14006d306
mov rcx, qword [rbp + 0x130]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006d300
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006d5d4
call fcn.14008a88c
nop
mov rdx, qword [rbp + 0x108]
cmp rdx, 0x10
jb 0x14006d348
mov rcx, qword [rbp + 0xf0]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006d342
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006d619
call fcn.14008a88c
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14006d382
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14006d37d
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14006d6e0
mov rcx, r8
call fcn.14008a88c
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], setsockopt
mov byte [rbx], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x14006d3cb
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14006d3c6
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14006d6e7
mov rcx, r8
call fcn.14008a88c
xor al, al
jmp 0x14006d6a7
xor r15b, r15b
xor r9d, r9d
mov r8d, 0x1000
lea rdx, [rbp + 0x320]
mov rcx, r14
call qword [sym.imp.WSOCK32.dll_recv]
test eax, eax
mov esi, eax
jle 0x14006d52f
test r15b, r15b
jne 0x14006d484
lea rdx, str._r_n_r_n
lea rcx, [rbp + 0x320]
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
je 0x14006d3d5
mov r15b, 1
mov qword [rbp + 0x300], r13
mov qword [rbp + 0x310], r13
mov qword [rbp + 0x318], setsockopt
mov byte [rbp + 0x300], 0
mov ecx, esi
sub rcx, rax
lea r8, [rbp + rcx + 0x31c]
lea rdx, [rax + 4]
lea rcx, [rbp + 0x300]
call fcn.140055850
nop
lea rdx, [rbp + 0x300]
cmp qword [rbp + 0x318], 0x10
cmovae rdx, qword [rbp + 0x300]
mov r8, qword [rbp + 0x310]
mov rcx, r12
call fcn.140060e70
nop
jmp 0x14006d4e2
mov qword [rbp + 0x300], r13
mov qword [rbp + 0x310], r13
mov qword [rbp + 0x318], setsockopt
mov byte [rbp + 0x300], 0
mov r8d, esi
lea rdx, [rbp + 0x320]
lea rcx, [rbp + 0x300]
call fcn.140055850
nop
lea rdx, [rbp + 0x300]
cmp qword [rbp + 0x318], 0x10
cmovae rdx, qword [rbp + 0x300]
mov r8, qword [rbp + 0x310]
mov rcx, r12
call fcn.140060e70
nop
mov rdx, qword [rbp + 0x318]
cmp rdx, 0x10
jb 0x14006d3d5
inc rdx
mov rcx, qword [rbp + 0x300]
cmp rdx, 0x1000
mov rax, rcx
jb 0x14006d51e
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006d528
call fcn.14008a88c
jmp 0x14006d3d5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call qword [sym.imp.WSOCK32.dll_closesocket]
call qword [sym.imp.WSOCK32.dll_WSACleanup]
nop
mov rdx, qword [rbp + 0x128]
cmp rdx, 0x10
jb 0x14006d583
inc rdx
mov rcx, qword [rbp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006d57e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006d57e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008a88c
mov qword [rbp + 0x120], r13
mov qword [rbp + 0x128], setsockopt
mov byte [rbp + 0x110], 0
mov rdx, qword [rbp + 0x148]
cmp rdx, 0x10
jb 0x14006d5e1
inc rdx
mov rcx, qword [rbp + 0x130]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006d5db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006d5db
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008a88c
nop
mov rdx, qword [rbp + 0x108]
cmp rdx, 0x10
jb 0x14006d626
inc rdx
mov rcx, qword [rbp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006d620
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006d620
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008a88c
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14006d660
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14006d65b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14006d6e0
mov rcx, r8
call fcn.14008a88c
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], setsockopt
mov byte [rbx], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x14006d6a5
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14006d6a0
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14006d6e7
mov rcx, r8
call fcn.14008a88c
mov al, 1
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], setsockopt
mov byte [rdi], 0
mov rcx, qword [rbp + 0x1320]
xor rcx, rsp
call fcn.14008a4a0
mov rbx, qword [rsp + 0x1488]
add rsp, 0x1430
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
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 fcn.140005e10
nop
call fcn.140005e10
nop
call fcn.140005e10
int3