Function at 0x140072ccc
Capabilities:
Connect socket
Resolve dns
Set socket configuration

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x558
lea rbp, [rsp + 0x80]
movdqa xmmword [rbp + 0x4c0], xmm6
mov qword [rbp + 0x4b8], 0xfffffffffffffffe
mov r13, rdx
mov qword [rbp + 0x480], rcx
lea rax, [rbp - 0x50]
mov qword [rax], r8
mov qword [rax + 8], r9
lea rdi, [rbp - 0x40]
mov qword [rdi], rax
lea rax, [fcn.1400511b0]
mov qword [rdi + 8], rax
lea rax, [rbp + 0x540]
mov qword [rdi + 0x10], rax
lea rax, str._rustc_2c8cc343237b8f7d5a3c3703e3a87f2eb2c54a74librarycore_src_slicemod.rs
lea rdx, [rbp + 0x1d0]
mov qword [rdx + 0x10], rax
push 2
pop rax
mov qword [rdx + 0x18], rax
and qword [rdx], 0
lea rcx, [0x140052b70]
mov qword [rdi + 0x18], rcx
mov qword [rdx + 0x20], rdi
mov qword [rdx + 0x28], rax
lea rsi, [rbp + 0x3e0]
mov rcx, rsi
call fcn.140071c4d
mov r14, qword [rsi + 8]
mov r15, qword [rsi + 0x10]
mov qword [rdi], r14
mov qword [rdi + 8], r15
lea rcx, [rbp - 0x40]
call fcn.1400bec50
mov r12, rax
test r12b, 1
mov qword [rbp + 0x498], r13
je 0x140072e29
mov r9, qword [rbp - 0x38]
test r9, r9
je 0x140072e1b
mov rdi, qword [rbp - 0x40]
cmp byte [rdi], 0x3a
jne 0x140072e1b
lea r8, [r9 - 1]
inc rdi
xor r11d, r11d
mov r10w, 0xa
mov rcx, r8
xor eax, eax
mov edx, 0
test rcx, rcx
je 0x140072ddf
movzx esi, byte [rdi]
add esi, 0xffffffd0
xor edx, edx
cmp esi, 0xa
setb dl
jae 0x140072ddf
inc rdi
dec rcx
jmp 0x140072de7
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], rcx
cmp edx, 1
jne 0x140072fbe
mul r10w
jo 0x140072fcc
add ax, si
setb bl
xor edx, edx
cmp esi, 0xffff
ja 0x140072fce
test bl, bl
jne 0x140072fce
dec r11
jmp 0x140072dbd
xor edx, edx
mov r8, r9
test dx, dx
jne 0x140072fd8
test r15, r15
je 0x140072fe1
lea rdi, [r14 + 1]
lea rbx, [r15 - 1]
mov al, byte [r14]
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], rbx
cmp al, 0x5b
jne 0x140072fe1
pxor xmm0, xmm0
lea rdx, [rbp + 0x1d0]
movdqa xmmword [rdx], xmm0
lea rcx, [rbp - 0x40]
push 8
pop rsi
mov r8, rsi
call fcn.1400bf290
cmp rax, 8
jne 0x140072f0f
movdqa xmm0, xmmword [rbp + 0x1d0]
movdqa xmm1, xmm0
psrlw xmm1, 8
psllw xmm0, 8
por xmm0, xmm1
mov r11, qword [rbp - 0x40]
mov r9, qword [rbp - 0x38]
xor r8d, r8d
test r9, r9
je 0x140073295
cmp byte [r11], 0x25
jne 0x1400736af
lea r10, [r11 + 1]
lea rsi, [r9 - 1]
xor ecx, ecx
push 0xa
pop r13
mov qword [rbp + 0x4a8], rsi
mov r12, r10
xor ebx, ebx
xor r8d, r8d
mov eax, 0
test rsi, rsi
je 0x140072eec
movzx edi, byte [r12]
add edi, 0xffffffd0
xor eax, eax
cmp edi, 0xa
setb al
jae 0x140072eec
inc r12
dec rsi
cmp eax, 1
jne 0x1400735f5
mov eax, ebx
mul r13d
jo 0x14007369d
mov ebx, eax
add ebx, edi
jb 0x14007369d
dec rcx
jmp 0x140072eca
test dl, 1
jne 0x140072fb4
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x140072fb4
mov rdx, qword [rbp - 0x40]
cmp byte [rdx], 0x3a
jne 0x140072fb4
cmp rcx, 1
je 0x140072fb4
add rcx, 0xfffffffffffffffe
mov r8b, byte [rdx + 1]
add rdx, 2
mov qword [rbp - 0x40], rdx
mov qword [rbp - 0x38], rcx
cmp r8b, 0x3a
jne 0x140072fb4
and qword [rbp + 0x456], 0
and qword [rbp + 0x450], 0
push 7
pop r8
sub r8, rax
jb 0x140073e77
lea rcx, [rbp - 0x40]
lea rdx, [rbp + 0x450]
call fcn.1400bf290
sub rsi, rax
jb 0x140073e89
cmp rax, 8
je 0x140073e9d
lea rcx, [rsi*2 + 0x1d0]
add rcx, rbp
add rax, rax
lea rdx, [rbp + 0x450]
mov r8, rax
call fcn.1400caa40
jmp 0x140072e75
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], rbx
jmp 0x140072fe1
xor edx, edx
test r11, r11
setne dl
cmovne r8, rcx
jmp 0x140072fce
xor edx, edx
cmp dx, 1
jne 0x140072e1d
test r8, r8
je 0x1400730d3
push 4
pop r13
mov qword [rbp + 0x1d0], r14
mov qword [rbp + 0x1d8], r15
and qword [rbp + 0x1e0], 0
mov qword [rbp + 0x1f0], 1
movabs rax, 0x3a0000003a
mov qword [rbp + 0x1f8], rax
mov rbx, r15
mov cl, 0x3a
mov rdx, r14
mov r8, rbx
call fcn.140055090
cmp rax, 1
jne 0x140073059
mov rbx, rdx
cmp rdx, 0xffffffffffffffff
je 0x14007304d
mov rsi, rbx
inc rsi
cmp r15, rsi
jb 0x14007304d
mov al, byte [r14 + rbx]
cmp al, byte [rbp + 0x1f8]
je 0x1400730a0
mov qword [rbp + 0x1e8], rbx
cmp rbx, r15
jbe 0x14007301a
lea r9, str.invalid_socket_address
mov rax, qword [rbp + 0x480]
mov qword [rax], 1
mov qword [rax + 8], r9
mov rcx, qword [rbp + 0x3e0]
mov rdx, qword [rbp + 0x3e8]
call fcn.14008f332
movaps xmm6, xmmword [rbp + 0x4c0]
add rsp, 0x558
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea r9, str.invalid_port_value
sub r15, rsi
je 0x140073060
lea r8, [r14 + rsi]
movzx eax, byte [r8]
cmp eax, 0x2d
je 0x14007329a
cmp eax, 0x2b
jne 0x1400732a4
dec r15
je 0x140073060
inc r8
jmp 0x1400732a4
movabs rcx, 0xffffffff00
and r12, rcx
shr r12, 8
movzx eax, ax
shl rax, 0x30
mov rdi, r12
shl rdi, 0x10
or rdi, rax
shr rdi, 0x18
xor esi, esi
push 0x20
pop rcx
push 4
pop rdx
call fcn.140060540
test rax, rax
je 0x140073dec
push 1
pop r14
mov rdx, rdi
shl rdx, 8
movzx ecx, r12b
or rcx, rdx
movq qword [rax + 8], xmm6
pshufd xmm0, xmm6, 0xee
movd dword [rax + 0x10], xmm0
and dword [rax + 0x14], 0
mov dword [rax + 0x18], ebx
mov word [rax + 0x1c], r13w
mov word [rax], si
shr rdi, 0x18
mov word [rax + 6], di
mov dword [rax + 2], ecx
mov rsi, rax
add rsi, 0x20
mov r13, rax
mov qword [rbp + 0x3f8], r14
mov qword [rbp + 0x400], r13
mov qword [rbp + 0x408], rsi
mov qword [rbp + 0x410], r13
cmp r13, rsi
je 0x14007323b
lea rax, [r13 + 0x20]
mov qword [rbp + 0x400], rax
movzx edi, word [r13]
mov qword [rbp + 0x1d0], 7
cmp di, 2
je 0x140073246
movzx eax, word [r13 + 0x12]
mov word [rbp - 0x30], ax
movups xmm0, xmmword [r13 + 2]
movaps xmmword [rbp - 0x40], xmm0
mov r15d, dword [r13 + 0x14]
mov eax, dword [r13 + 0x18]
mov dword [rbp + 0x4a8], eax
movzx r13d, word [r13 + 0x1c]
lea rcx, [rbp + 0x1d0]
call fcn.140003b19
movzx eax, word [rbp - 0x30]
mov word [rbp + 0x460], ax
movdqa xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp + 0x430], xmm0
mov word [rbp + 0x440], ax
mov rax, qword [rbp + 0x498]
mov rax, qword [rax]
mov rax, qword [rax]
mov rdx, qword [rax]
mov r8d, dword [rax + 8]
lea rsi, [rbp + 0x1d0]
mov rcx, rsi
call fcn.14006e491
mov esi, dword [rsi + 8]
cmp esi, 0x3b9aca01
jne 0x14007337f
mov rax, qword [rbp + 0x1d0]
mov rcx, qword [rbp + 0x480]
mov qword [rcx], 1
mov qword [rcx + 8], rax
jmp 0x140073284
mov qword [rbp + 0x1d0], 7
mov eax, dword [rbp + 0x1d8]
mov dword [rbp - 0x32], eax
mov rcx, qword [rbp + 0x1d0]
mov rdx, qword [rbp + 0x1dc]
mov ebx, dword [rbp + 0x1e4]
mov qword [rbp + 0x456], rcx
mov dword [rbp + 0x45e], eax
mov rdi, qword [rbp + 0x480]
mov dword [rdi + 8], eax
mov qword [rdi], rcx
mov qword [rdi + 0xc], rdx
mov dword [rdi + 0x14], ebx
lea rcx, [rbp + 0x3f8]
call fcn.1400742bf
jmp 0x140073072
jmp 0x1400736af
cmp r15, 1
je 0x140073060
cmp r15, 5
jae 0x140073338
xor eax, eax
xor edi, edi
movzx ecx, byte [r8 + rax]
add ecx, 0xffffffd0
cmp ecx, 9
ja 0x140073060
imul edi, edi, 0xa
add edi, ecx
inc rax
cmp r15, rax
jne 0x1400732b2
mov rax, qword [0x14011ebf8]
cmp rax, 3
jne 0x140073a5f
cmp rbx, 0x17f
ja 0x140073a69
lea rcx, [rbp + 0x1d0]
mov rdx, r14
mov r8, rbx
call fcn.1400caa40
mov byte [rbp + rbx + 0x1d0], 0
cmp rbx, 0xe
ja 0x1400734df
lea rcx, [rbx + 1]
push 1
pop rax
xor edx, edx
cmp byte [rbp + rdx + 0x1d0], 0
je 0x1400734f0
inc rdx
cmp rcx, rdx
jne 0x14007331b
xor eax, eax
jmp 0x1400734f3
xor r11d, r11d
mov r10w, 0xa
xor edi, edi
cmp r15, r11
je 0x1400732d0
mov eax, edi
mul r10w
movzx edx, byte [r8 + r11]
seto r12b
add edx, 0xffffffd0
cmp edx, 0xa
cmovb ecx, edx
jae 0x140073060
test r12b, r12b
jne 0x140073060
mov edi, eax
inc r11
add di, cx
mov ecx, edx
jae 0x140073342
jmp 0x140073060
cmp esi, 0x3b9aca00
jne 0x140073576
mov r12, qword [rbp + 0x436]
cmp di, 3
je 0x140073ce9
mov dword [rbp + 0x498], r15d
mov r15d, dword [rbp + 0x43e]
movzx eax, word [rbp + 0x434]
lea r14, [rbp + 0x450]
and qword [r14], 0
mov word [rbp + 0x490], ax
mov eax, dword [rbp + 0x430]
rol r13w, 8
mov dword [rbp + 0x48c], eax
xor esi, esi
lea rbx, [rbp + 0x1d0]
cmp di, 2
je 0x140073762
movzx eax, word [rbp + 0x490]
mov word [rbp - 0x3c], ax
mov eax, dword [rbp + 0x48c]
mov dword [rbp - 0x40], eax
mov qword [rbp - 0x3a], r12
mov dword [rbp - 0x32], r15d
mov rax, qword [0x14011ebf8]
cmp rax, 3
jne 0x1400734d5
mov rcx, rbx
mov edx, edi
call fcn.1400bff30
cmp qword [rbp + 0x1d0], 0
mov rsi, qword [rbp + 0x1d8]
jne 0x1400734bd
test di, di
je 0x14007344e
mov cx, 0x17
movdqu xmm0, xmmword [rbp - 0x3e]
mov eax, r13d
mov edx, dword [rbp + 0x498]
push 0x1c
jmp 0x140073462
mov eax, dword [rbp - 0x3c]
rol ax, 8
mov edx, dword [rbp - 0x40]
pxor xmm0, xmm0
mov cx, 2
push 0x10
pop r8
mov word [rbp + 0x1d0], cx
mov word [rbp + 0x1d2], ax
mov dword [rbp + 0x1d4], edx
movdqu xmmword [rbp + 0x1d8], xmm0
mov eax, dword [rbp + 0x4a8]
mov dword [rbp + 0x1e8], eax
mov rcx, rsi
mov rdx, rbx
call qword [sym.imp.ws2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x140073a9e
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov edi, eax
shl rdi, 0x20
or rdi, 2
mov rcx, rsi
call qword [sym.imp.ws2_32.dll_closesocket]
mov rsi, rdi
mov rcx, r14
call fcn.14000442a
mov qword [rbp + 0x450], rsi
mov di, 2
jmp 0x1400733dd
call fcn.1400db950
jmp 0x140073414
lea rdx, [rbp + 0x1d0]
xor ecx, ecx
mov r8, rsi
call fcn.1400527d0
mov rsi, rdx
test rax, rax
je 0x140073550
cmp rsi, rbx
jne 0x140073550
pxor xmm0, xmm0
lea r8, [rbp - 0x40]
movdqa xmmword [r8], xmm0
movdqa xmmword [r8 + 0x20], xmm0
movdqa xmmword [r8 + 0x10], xmm0
mov dword [r8 + 8], 1
lea r9, [rbp + 0x430]
and qword [r9], 0
lea rcx, [rbp + 0x1d0]
xor edx, edx
call qword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x140073677
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
jmp 0x140073557
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rbp + 0x458], rax
push 1
pop rax
test rax, rax
je 0x140073611
mov r9, qword [rbp + 0x458]
jmp 0x140073060
mov r14, qword [rbp + 0x1d0]
mov rax, qword [0x14011ebf8]
cmp rax, 3
jne 0x140073b6f
lea rbx, [rbp + 0x1d0]
mov rcx, rbx
mov edx, edi
call fcn.1400bff30
cmp qword [rbx], 0
mov r12, qword [rbx + 8]
jne 0x140073ce9
lea r8, [rbp + 0x1d0]
mov dword [r8], 1
mov rcx, r12
mov edx, 0x8004667e
call qword [sym.imp.ws2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
je 0x140073a89
test di, di
je 0x140073ab2
push 0x1c
pop r8
rol r13w, 8
mov ax, 0x17
movdqu xmm0, xmmword [rbp + 0x432]
jmp 0x140073ad1
test rcx, rcx
je 0x14007369a
mov qword [rbp + 0x4a8], rsi
mov r10, r12
push 1
pop r8
jmp 0x14007369d
mov r9, qword [rbp + 0x458]
mov rbx, qword [rbp + 0x460]
movzx edi, word [rbp + 0x468]
xor esi, esi
test rbx, rbx
je 0x140073775
mov rcx, rbx
mov rax, qword [rbx + 0x20]
mov rbx, qword [rbx + 0x28]
movzx edx, word [rax]
cmp edx, 0x17
je 0x14007379e
cmp edx, 2
jne 0x140073628
mov qword [rbp + 0x448], r9
cmp qword [rcx + 0x10], 0x10
jb 0x140073eb1
mov r13d, dword [rax + 4]
lea r12, str.invalid_argument
xor r14d, r14d
mov r15d, edi
mov esi, edi
jmp 0x1400737e4
mov rax, qword [rbp + 0x430]
mov qword [rbp + 0x458], rax
mov qword [rbp + 0x460], rax
mov word [rbp + 0x468], di
xor eax, eax
jmp 0x140073561
xor r8d, r8d
cmp r8d, 1
jne 0x1400736af
mov r11, r10
mov r9, qword [rbp + 0x4a8]
jmp 0x1400736b6
test r8d, r8d
cmove ebx, r8d
test r9, r9
je 0x140072fe1
cmp byte [r11], 0x5d
jne 0x140072fe1
mov r8, r9
dec r8
je 0x14007374f
cmp byte [r11 + 1], 0x3a
jne 0x14007374f
add r9, 0xfffffffffffffffe
add r11, 2
xor esi, esi
mov r10w, 0xa
mov rcx, r9
xor r13d, r13d
mov eax, 0
test rcx, rcx
je 0x140073710
movzx edi, byte [r11]
add edi, 0xffffffd0
xor eax, eax
cmp edi, 0xa
setb al
jae 0x140073710
inc r11
dec rcx
jmp 0x140073718
mov qword [rbp - 0x40], r11
mov qword [rbp - 0x38], rcx
cmp eax, 1
jne 0x14007378d
mov eax, r13d
mul r10w
jo 0x140073a31
mov r13d, eax
add r13w, di
setb dl
xor eax, eax
cmp edi, 0xffff
ja 0x140073a33
test dl, dl
jne 0x140073a33
dec rsi
jmp 0x1400736ed
xor eax, eax
mov r9, r8
test ax, ax
jne 0x140073a3d
jmp 0x140072fe1
test rsi, rsi
lea r12, str.could_not_resolve_to_any_addresses
cmovne r12, rsi
jmp 0x140073ce9
xor r14d, r14d
mov rcx, r9
call qword [sym.imp.ws2_32.dll_freeaddrinfo]
shl rsi, 5
add rsi, r13
jmp 0x140073154
xor eax, eax
test rsi, rsi
setne al
cmovne r9, rcx
jmp 0x140073a33
mov qword [rbp + 0x448], r9
cmp qword [rcx + 0x10], 0x1b
jbe 0x140073ed0
mov r15d, edi
mov ecx, dword [rax + 4]
mov dword [rbp + 0x4a0], ecx
mov esi, dword [rax + 8]
mov ecx, dword [rax + 0x18]
mov dword [rbp + 0x4a8], ecx
mov r13d, esi
shl r13d, 0x10
mov r12, qword [rax + 0xc]
mov eax, dword [rax + 0x14]
mov dword [rbp + 0x494], eax
shr esi, 0x10
mov r14w, 1
push 4
pop rdi
mov ecx, 0x80
mov rdx, rdi
call fcn.140060540
test rax, rax
je 0x140073e16
mov word [rax], r14w
mov dword [rax + 2], r13d
mov word [rax + 6], si
mov qword [rax + 8], r12
mov ecx, dword [rbp + 0x494]
mov dword [rax + 0x10], ecx
mov ecx, dword [rbp + 0x4a0]
mov dword [rax + 0x14], ecx
mov ecx, dword [rbp + 0x4a8]
mov dword [rax + 0x18], ecx
mov r8d, r15d
mov word [rax + 0x1c], r15w
push 1
pop rsi
lea r11, [rbp - 0x40]
lea r12, str.invalid_argument
mov r14, rdi
mov rcx, rax
mov r13, rax
mov r9, qword [rbp + 0x448]
mov r10, rdi
test rbx, rbx
je 0x140073778
mov rdx, rbx
mov rax, qword [rbx + 0x20]
mov rbx, qword [rbx + 0x28]
movzx edi, word [rax]
cmp edi, 0x17
je 0x140073899
cmp edi, 2
jne 0x140073851
mov qword [rbp + 0x4a0], r14
cmp qword [rdx + 0x10], 0x10
jb 0x140073e2f
mov edx, dword [rax + 4]
mov dword [rbp + 0x494], 0
mov r14, r12
mov r15d, r8d
jmp 0x1400738e2
mov qword [rbp + 0x4a0], r14
cmp qword [rdx + 0x10], 0x1b
jbe 0x140073e51
mov edx, dword [rax + 4]
mov dword [rbp + 0x424], edx
mov r15d, dword [rax + 8]
mov edx, dword [rax + 0x18]
mov dword [rbp + 0x428], edx
mov edx, r15d
shl edx, 0x10
mov r14, qword [rax + 0xc]
mov eax, dword [rax + 0x14]
mov dword [rbp + 0x42c], eax
shr r15d, 0x10
mov ax, 1
mov dword [rbp + 0x494], eax
mov qword [rbp + 0x4a8], r13
mov rdi, qword [rbp + 0x4a0]
cmp rdi, rsi
jne 0x1400739ae
mov qword [rbp + 0x418], r14
mov dword [rbp + 0x47c], edx
mov r13, rdi
inc r13
je 0x140073e05
mov r14, r9
mov r12d, r8d
lea rax, [rdi + rdi]
cmp rax, r13
cmova r13, rax
cmp r13, 5
cmovb r13, r10
xor r8d, r8d
mov rax, r13
shr rax, 0x3a
sete r8b
mov rdx, r13
shl rdx, 5
shl r8, 2
mov rax, rdi
shl rax, 5
mov rcx, qword [rbp + 0x4a8]
mov qword [rbp + 0x1d0], rcx
mov qword [rbp + 0x1d8], rax
mov qword [rbp + 0x1e0], r10
mov rdi, r11
mov rcx, r11
lea r9, [rbp + 0x1d0]
call fcn.1400b1c70
cmp qword [rbp - 0x40], 0
mov rcx, qword [rbp - 0x38]
je 0x1400739b3
mov rdx, qword [rbp - 0x30]
movabs rax, 0x8000000000000001
cmp rdx, rax
jne 0x140073df9
mov r8d, r12d
mov r13, qword [rbp + 0x4a0]
mov rcx, qword [rbp + 0x4a8]
jmp 0x1400739bd
mov r13, rdi
jmp 0x1400739db
mov qword [rbp + 0x4a8], rcx
mov r8d, r12d
mov r9, r14
push 4
pop r10
mov r11, rdi
lea r12, str.invalid_argument
mov edx, dword [rbp + 0x47c]
mov r14, qword [rbp + 0x418]
mov rax, rsi
shl rax, 5
mov edi, dword [rbp + 0x494]
mov word [rcx + rax], di
mov dword [rcx + rax + 2], edx
mov word [rcx + rax + 6], r15w
mov qword [rcx + rax + 8], r14
mov edx, dword [rbp + 0x42c]
mov dword [rcx + rax + 0x10], edx
mov edx, dword [rbp + 0x424]
mov dword [rcx + rax + 0x14], edx
mov edx, dword [rbp + 0x428]
mov dword [rcx + rax + 0x18], edx
mov word [rcx + rax + 0x1c], r8w
inc rsi
mov r14, r13
mov r13, qword [rbp + 0x4a8]
jmp 0x140073851
xor eax, eax
cmp ax, 1
jne 0x140073751
test r9, r9
jne 0x140072fe1
movd edi, xmm0
pshufd xmm6, xmm0, 0xf9
shl rdi, 8
mov si, 1
xor r12d, r12d
jmp 0x1400730fb
call fcn.1400db950
jmp 0x1400732e1
lea rsi, [rbp + 0x450]
mov rcx, rsi
mov rdx, r14
mov r8, rbx
mov r9d, edi
call fcn.1400db9b0
mov rax, qword [rsi]
jmp 0x140073561
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov esi, eax
shl rsi, 0x20
or rsi, 2
jmp 0x140073cdd
lea rcx, [rbp + 0x450]
call fcn.14000442a
mov r12, rsi
jmp 0x140073d84
push 0x10
pop r8
mov r15d, dword [rbp + 0x430]
mov r13d, dword [rbp + 0x434]
rol r13w, 8
pxor xmm0, xmm0
mov ax, 2
lea rdx, [rbp + 0x1d0]
mov word [rdx], ax
mov word [rdx + 2], r13w
mov dword [rdx + 4], r15d
movdqu xmmword [rdx + 8], xmm0
mov eax, dword [rbp + 0x4a8]
mov dword [rdx + 0x18], eax
mov rcx, r12
call qword [sym.imp.ws2_32.dll_connect]
cmp eax, 0xffffffff
je 0x140073b04
xor ebx, ebx
jmp 0x140073b14
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov ebx, eax
shl rbx, 0x20
or rbx, 2
lea r8, [rbp + 0x1d0]
and dword [r8], 0
mov rcx, r12
mov edx, 0x8004667e
call qword [sym.imp.ws2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
je 0x140073b55
test rbx, rbx
je 0x140073d84
mov edi, ebx
and edi, 3
lea rax, [0x1400740a0]
movsxd rcx, dword [rax + rdi*4]
add rcx, rax
jmp rcx
mov al, byte [rbx + 0x10]
jmp 0x140073b9e
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov edi, ebx
and edi, 3
jmp 0x140073c79
call fcn.1400db950
jmp 0x14007358e
mov rsi, rbx
jmp 0x140073cdd
mov al, byte [rbx + 0xf]
cmp al, 0xd
jne 0x140073b93
test r14, r14
jne 0x140073bb7
test esi, esi
jne 0x140073bb7
lea rsi, str.cannot_set_a_0_duration_timeout
jmp 0x140073c79
mov qword [rbp + 0x4a8], rbx
xor r15d, r15d
mov ecx, 0x3e8
mov eax, esi
xor edx, edx
div ecx
lea r13, [rbp + 0x450]
mov dword [r13], r14d
cmp esi, ecx
mov ecx, eax
mov rbx, r12
push 1
pop r12
cmovb ecx, r12d
test r14d, r14d
cmovne ecx, eax
mov dword [r13 + 4], ecx
push 1
pop rsi
lea rcx, [rbp - 0x30]
mov qword [rcx - 0x10], rsi
mov qword [rcx - 8], rbx
mov r8d, 0x1f8
xor edx, edx
call fcn.1400cb6b0
lea rcx, [rbp + 0x1e0]
mov qword [rcx - 0x10], rsi
mov qword [rbp + 0x498], rbx
mov qword [rcx - 8], rbx
mov r8d, 0x1f8
xor edx, edx
call fcn.1400cb6b0
mov qword [rsp + 0x20], r13
lea r8, [rbp - 0x40]
lea r9, [rbp + 0x1d0]
mov ecx, r12d
xor edx, edx
call qword [sym.imp.ws2_32.dll_select]
test eax, eax
je 0x140073d00
cmp eax, 0xffffffff
jne 0x140073d09
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov r12, qword [rbp + 0x498]
mov rbx, qword [rbp + 0x4a8]
test rbx, rbx
je 0x140073cdd
cmp edi, 1
jne 0x140073cdd
mov qword [rbp + 0x498], r12
lea rax, [rbx - 1]
mov qword [rbp + 0x4a0], rax
mov rcx, qword [rbx - 1]
mov rax, qword [rbx + 7]
mov qword [rbp + 0x4a8], rbx
call qword [rax]
mov rax, qword [rbp + 0x4a8]
mov rax, qword [rax + 7]
cmp qword [rax + 8], 0
mov rdi, qword [rbp + 0x4a0]
je 0x140073ccb
mov rdx, qword [rax + 0x10]
mov rcx, qword [rdi]
call fcn.1400605d0
push 8
pop rdx
mov rcx, rdi
call fcn.1400605d0
mov r12, qword [rbp + 0x498]
mov rcx, r12
call qword [sym.imp.ws2_32.dll_closesocket]
mov r12, rsi
mov rax, qword [rbp + 0x480]
mov qword [rax], 1
mov qword [rax + 8], r12
jmp 0x140073284
lea rsi, str.connection_timed_out
jmp 0x140073d18
mov r15b, 1
cmp dword [rbp - 0x40], 1
jne 0x140073d9b
xor esi, esi
cmp edi, 1
mov r12, qword [rbp + 0x498]
jne 0x140073d7b
mov rdx, qword [rbp + 0x4a8]
lea rax, [rdx - 1]
mov qword [rbp + 0x4a0], rax
mov rcx, qword [rdx - 1]
mov rax, qword [rdx + 7]
call qword [rax]
mov rax, qword [rbp + 0x4a8]
mov rax, qword [rax + 7]
cmp qword [rax + 8], 0
je 0x140073d65
mov rdx, qword [rax + 0x10]
mov rax, qword [rbp + 0x4a0]
mov rcx, qword [rax]
call fcn.1400605d0
push 8
pop rdx
mov rcx, qword [rbp + 0x4a0]
call fcn.1400605d0
mov r12, qword [rbp + 0x498]
test r15b, r15b
je 0x140073cdd
mov rax, qword [rbp + 0x480]
mov qword [rax + 8], r12
mov qword [rax], 0x14
jmp 0x140073284
lea r9, [rbp + 0x420]
and dword [r9], 0
lea rax, [rbp + 0x48c]
mov dword [rax], 4
mov qword [rsp + 0x20], rax
mov rcx, qword [rbp + 0x498]
mov edx, 0xffff
mov r8d, 0x1007
call qword [sym.imp.ws2_32.dll_getsockopt]
cmp eax, 0xffffffff
je 0x140073c5b
mov esi, dword [rbp + 0x420]
test esi, esi
jne 0x140073c63
jmp 0x140073d16
push 0x20
pop rcx
push 4
pop rdx
call fcn.1400d8e00
ud2
test rdx, rdx
mov rdi, qword [rbp + 0x4a0]
jne 0x140073e70
mov qword [rbp + 0x4a0], rdi
call fcn.140027080
jmp 0x140073eed
mov byte [rbp + 0x4b7], 1
push 4
pop rdx
mov ecx, 0x80
call fcn.1400d8e00
jmp 0x140073eed
mov qword [rbp + 0x4a8], r13
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in___
lea r8, [0x14010cda8]
push 0x42
pop rdx
call fcn.1400d9140
jmp 0x140073eed
mov qword [rbp + 0x4a8], r13
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in6___library_std_src_sys_common_net.rs
lea r8, [0x14010cd48]
push 0x43
pop rdx
call fcn.1400d9140
jmp 0x140073eed
call fcn.1400d8e00
jmp 0x140073eed
lea rax, str.library_std_src_netparser.rs
push 7
pop rdx
mov rcx, r8
mov r8, rax
jmp 0x140073eaa
lea r8, str.library_std_src_netparser.rs
push 8
pop rdx
mov rcx, rsi
call fcn.1400d93c0
ud2
lea r8, str.library_std_src_netparser.rs
push 8
pop rcx
push 7
pop rdx
call fcn.1400d9130
ud2
mov byte [rbp + 0x4b7], 1
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in___
lea r8, [0x14010cda8]
push 0x42
pop rdx
call fcn.1400d9140
jmp 0x140073eed
mov byte [rbp + 0x4b7], 1
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in6___library_std_src_sys_common_net.rs
lea r8, [0x14010cd48]
push 0x43
pop rdx
call fcn.1400d9140
ud2