Function at 0x1400d2619
Capabilities:
Connect socket
Get socket status
Set socket configuration

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x838
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x7b0], 0xfffffffffffffffe
mov r14, rdx
mov qword [rbp + 0x798], rcx
mov qword [rbp + 0x678], r8
mov qword [rbp + 0x680], r9
mov rsi, qword [rdx]
cmp dword [rsi + 0x60], 1
jne 0x1400d2687
mov rdi, qword [rsi + 0x68]
mov ebx, dword [rsi + 0x70]
call fcn.1400c1e60
mov r8d, edx
mov dword [rsp + 0x20], ebx
lea rcx, [rbp + 0x5e0]
mov rdx, rax
mov r9, rdi
call fcn.1400c2360
jmp 0x1400d26a4
mov rax, qword [r14 + 0xa8]
mov qword [rbp + 0x5f0], rax
movups xmm0, xmmword [r14 + 0x98]
movaps xmmword [rbp + 0x5e0], xmm0
add rsi, 0x10
lea rdi, [rbp + 0x370]
mov rcx, rdi
mov rdx, rsi
call fcn.1400d4353
cmp byte [rdi + 0x4c], 2
push 2
pop rbx
jne 0x1400d2721
lea rax, [rbp + 0x678]
mov rcx, rbp
mov qword [rcx], rax
lea rax, [0x140012b0e]
mov qword [rcx + 8], rax
lea rax, [rbp + 0x820]
mov qword [rcx + 0x10], rax
lea rax, str.FileNotFoundIo
lea rdx, [rbp + 0x3c0]
mov qword [rdx], rax
mov qword [rdx + 8], rbx
and qword [rdx + 0x10], 0
lea rax, [0x140010e10]
mov qword [rcx + 0x18], rax
mov qword [rdx + 0x20], rcx
mov qword [rdx + 0x28], rbx
lea rcx, [rbp + 0x210]
call fcn.140001760
jmp 0x1400d2776
lea rax, [rbp + 0x3b8]
mov rcx, rbp
mov qword [rcx], rdi
lea rdx, [0x14001f5b5]
mov qword [rcx + 8], rdx
mov qword [rcx + 0x10], rax
lea rax, str.FileNotFoundIo
lea rdx, [rbp + 0x3c0]
mov qword [rdx], rax
mov qword [rdx + 8], rbx
and qword [rdx + 0x10], 0
lea rax, [0x14000c230]
mov qword [rcx + 0x18], rax
mov qword [rdx + 0x20], rcx
mov qword [rdx + 0x28], rbx
lea rcx, [rbp + 0x210]
call fcn.140001760
movups xmm0, xmmword [rbp + 0x210]
movaps xmmword [rbp + 0x6f0], xmm0
mov rax, qword [rbp + 0x220]
mov qword [rbp + 0x700], rax
mov rcx, qword [r14 + 8]
mov rax, qword [rcx + 0x80]
lock inc qword [rax]
jle 0x1400d3b78
mov rbx, qword [rcx + 0x88]
mov qword [rbp + 0x5f8], rax
mov qword [rbp + 0x600], rbx
mov rdx, qword [rbx + 0x10]
add rdx, 0xf
and rdx, 0xfffffffffffffff0
add rdx, rax
mov r8, qword [rbp + 0x6f0]
mov r9, qword [rbp + 0x700]
lea rcx, [rbp + 0x6a0]
call qword [rbx + 0x18]
mov rsi, qword [rbp + 0x6a0]
cmp rsi, 1
mov qword [rbp + 0x5d8], r14
jne 0x1400d2852
mov r8, qword [rbp + 0x6a8]
lea rdx, [rbp + 0x3c0]
and qword [rdx + 8], 0
mov dword [rdx + 0x60], 2
and qword [rdx + 0x78], 0
mov r9, qword [rbp + 0x6b0]
mov dword [rdx + 0xc8], 3
mov byte [rdx + 0x150], 2
mov word [rdx], 1
mov rcx, rbp
call fcn.1400dbfa3
lea rcx, [rbp + 0x3c0]
mov rdx, rbp
mov r8d, 0x158
call sub.VCRUNTIME140.dll_memcpy
jmp 0x1400d286e
lea rax, [rbp + 0x6a8]
mov rcx, qword [rax + 0x10]
mov qword [rbp + 0x3d0], rcx
movups xmm0, xmmword [rax]
movaps xmmword [rbp + 0x3c0], xmm0
lea rbx, [rbp + 0x210]
lea r15, [rbp + 0x3c0]
mov r8d, 0x158
mov rcx, rbx
mov rdx, r15
call sub.VCRUNTIME140.dll_memcpy
test rsi, rsi
je 0x1400d28c7
mov rsi, qword [rbp + 0x798]
lea rcx, [rsi + 8]
lea rdx, [rbp + 0x210]
mov r8d, 0x158
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsi], 1
lea rcx, [rbp + 0x5f8]
call fcn.14008893b
jmp 0x1400d33df
mov rax, qword [rbp + 0x220]
mov qword [rbp + 0x650], rax
movups xmm0, xmmword [rbp + 0x210]
movaps xmmword [rbp + 0x640], xmm0
mov byte [rbp + 0x7af], 1
lea rcx, [rbp + 0x5f8]
call fcn.14008893b
mov rcx, qword [rbp + 0x650]
test rcx, rcx
je 0x1400d3033
push 1
pop rax
mov qword [rbp + 0x780], rax
lea rax, [rbp + 0x370]
mov r13b, byte [rax + 0x4c]
lea r12, [rbp + 0x758]
mov byte [r12], 4
mov rax, qword [rbp + 0x640]
mov rdx, qword [rbp + 0x648]
shl rcx, 5
add rcx, rax
mov qword [rbp + 0x5f8], rax
mov qword [rbp + 0x600], rdx
mov qword [rbp + 0x608], rax
mov qword [rbp + 0x610], rcx
lea r14, [rbp + 0x6a4]
mov rdx, qword [rbp + 0x5e0]
mov qword [rbp + 0x688], rdx
mov rdx, qword [rbp + 0x5e8]
mov qword [rbp + 0x5d0], rdx
mov edx, dword [rbp + 0x5f0]
mov dword [rbp + 0x70c], edx
mov rdi, rbp
mov qword [rbp + 0x690], rdx
cmp rax, rcx
je 0x1400d2f9d
lea rcx, [rax + 0x20]
mov qword [rbp + 0x608], rcx
mov ecx, dword [rax]
cmp ecx, 2
je 0x1400d2f9d
movups xmm0, xmmword [rax + 4]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x44], xmm1
movaps xmmword [rbp - 0x50], xmm0
mov dword [rbp + 0x6a0], ecx
movups xmm0, xmmword [rbp - 0x44]
movups xmmword [r14 + 0xc], xmm0
movaps xmm0, xmmword [rbp - 0x50]
movups xmmword [r14], xmm0
cmp qword [rbp + 0x688], 1
jne 0x1400d2a24
mov rcx, r15
mov rdx, qword [rbp + 0x5d0]
mov r8d, dword [rbp + 0x70c]
call fcn.1400d221e
mov r8, qword [rbp + 0x3d0]
mov rax, qword [rbp + 0x3c8]
mov qword [rbp + 0x698], rax
cmp qword [rbp + 0x3c0], 1
je 0x1400d3270
mov qword [rbp + 0x690], r8
mov rdi, rbp
mov rax, qword [0x1401ecdd8]
cmp rax, 4
jb 0x1400d2aa4
lea rax, [rbp + 0x6a0]
mov qword [rbp + 0x210], rax
lea rax, [rbp + 0x6f0]
mov qword [rbp], rax
lea rax, [0x14001f5b5]
mov qword [rbp + 8], rax
lea rax, str.connecting_to__at_No_ip_address_for
mov qword [rbp + 0x3c0], rax
push 2
pop rax
mov qword [rbp + 0x3c8], rax
and qword [rbp + 0x3d0], 0
mov qword [rbp + 0x10], rbx
lea rcx, [0x1400d5964]
mov qword [rbp + 0x18], rcx
mov qword [rbp + 0x3e0], rdi
mov qword [rbp + 0x3e8], rax
mov rcx, r15
push 4
pop rdx
lea r8, str.ureq::streamC:Users_runneradmin.cargo_registry_srcgithub.com_1ecc6299db9ec823ureq_2.1.0_src_stream.rsdropping_stream:_created_stream:_CloseNotify
call fcn.14001f98d
mov cl, 1
mov edx, r13d
call fcn.1400d43c5
test al, al
mov qword [rbp + 0x740], rsi
je 0x1400d2b27
mov r14, r12
mov rsi, r15
mov r12d, r13d
mov rcx, r15
lea rdx, [rbp + 0x370]
call fcn.1400d4353
cmp byte [rbp + 0x40c], 2
je 0x1400d3b5d
push reloc.WS2_32.dll_ioctlsocket
pop rcx
mov r13, rdi
mov r15, rsi
rep movsq qword [rdi], qword [rsi]
mov cl, reloc.WS2_32.dll_recv
lea rdx, str.SOCKS5_feature_disabled.shouldnt_happen:_failed_to_connect_to_all_IPs__but_no_error
push 0x18
pop r8
call fcn.1400abb50
mov qword [rbp + 0x7a0], rax
mov qword [rbp + 0x790], rdx
mov rcx, r13
call fcn.1400d43f2
mov rdi, r13
mov r13d, r12d
mov r12, r14
lea r14, [rbp + 0x6a4]
jmp 0x1400d2f51
cmp qword [rbp + 0x688], 1
jne 0x1400d2ba1
mov rax, qword [0x1401ecfe8]
cmp rax, 3
je 0x1400d2b64
mov byte [rbp], 1
mov rax, rbp
mov qword [rbp + 0x3c0], rax
lea rcx, [0x1401ecfe8]
xor edx, edx
mov r8, r15
lea r9, [0x140150440]
call fcn.14011a860
mov edx, dword [rbp + 0x6a0]
mov rcx, r15
call fcn.1400bd620
mov rsi, qword [rbp + 0x3c8]
cmp qword [rbp + 0x3c0], 1
mov qword [rbp + 0x7a0], rsi
jne 0x1400d2c5a
mov rax, qword [rbp + 0x3d0]
mov qword [rbp + 0x790], rax
jmp 0x1400d2f4e
mov esi, dword [rbp + 0x6a0]
mov byte [rbp + 0x720], 4
movups xmm0, xmmword [r14]
movups xmm1, xmmword [r14 + 0xc]
movups xmmword [rbp + 0xc], xmm1
movaps xmmword [rbp], xmm0
lea rdi, [rbp + 0x3c4]
cmp esi, 2
je 0x1400d2c2d
mov dword [rbp + 0x3c0], esi
movups xmm0, xmmword [rbp + 0xc]
movups xmmword [rdi + 0xc], xmm0
movaps xmm0, xmmword [rbp]
movups xmmword [rdi], xmm0
and qword [rbp + 0x210], 0
mov qword [rbp + 0x218], r15
lea rcx, [rbp + 0x768]
mov rdx, rbx
call fcn.1400cb635
cmp dword [rbp + 0x768], 1
jne 0x1400d2c8c
lea rcx, [rbp + 0x720]
call fcn.1400cb62b
lea rax, [rbp + 0x770]
movups xmm0, xmmword [rax]
movaps xmmword [rbp + 0x720], xmm0
push 2
pop rsi
jmp 0x1400d2bc6
mov rax, qword [rbp + 0x720]
cmp al, 4
mov ecx, 0xb02
cmove rax, rcx
mov qword [rbp + 0x7a0], rax
mov rcx, qword [rbp + 0x728]
lea rax, str.could_not_resolve_to_any_addresses_rustc_53cb7b09b00cbea8754ffb78e7e3cb521cb8af4blibrary_alloc_srccollections_vec_dequemod.rsassertion_failed:_self.cap____old_cap__2
cmove rcx, rax
jmp 0x1400d2cad
mov dword [rbp + 0x3c0], 1
mov rcx, rsi
mov edx, 0x8004667e
mov r8, r15
call sub.WS2_32.dll_ioctlsocket
test eax, eax
je 0x1400d2cd3
call sub.KERNEL32.dll_GetLastError
mov edi, eax
shl rdi, 0x18
xor esi, esi
xor ecx, ecx
jmp 0x1400d2f24
mov rax, qword [rbp + 0x770]
mov qword [rbp + 0x7a0], rax
lea rcx, [rbp + 0x720]
call fcn.1400cb62b
mov rcx, qword [rbp + 0x740]
cmp esi, 2
mov rax, qword [rbp + 0x790]
cmove rax, rcx
mov qword [rbp + 0x790], rax
mov rdi, rbp
mov rsi, rcx
je 0x1400d2f58
jmp 0x1400d333b
cmp dword [rbp + 0x6a0], 1
push reloc.WS2_32.dll_recv
pop r8
push 0x1c
pop rax
cmove r8d, eax
mov rcx, rsi
mov rdx, r14
call sub.WS2_32.dll_connect
cmp eax, 0xffffffff
mov dword [rbp + 0x710], eax
je 0x1400d2d05
mov dword [rbp + 0x76c], eax
xor eax, eax
jmp 0x1400d2d38
call sub.WS2_32.dll_WSAGetLastError
mov dword [rbp + 0x714], eax
mov edi, eax
mov rax, rdi
and qword [rbp + 0x778], 0
shl rax, 0x20
mov qword [rbp + 0x770], rax
shl rdi, 0x18
xor eax, eax
mov qword [rbp + 0x790], rax
push 1
pop rax
mov dword [rbp + 0x768], eax
and dword [rbp + 0x3c0], 0
mov rcx, rsi
mov edx, 0x8004667e
mov r8, r15
call sub.WS2_32.dll_ioctlsocket
test eax, eax
je 0x1400d2d6d
call sub.KERNEL32.dll_GetLastError
mov edi, eax
shl rdi, 0x18
xor esi, esi
xor ecx, ecx
jmp 0x1400d2f1a
mov sil, 4
cmp dword [rbp + 0x710], 0xffffffff
mov rcx, qword [rbp + 0x790]
jne 0x1400d2f1a
mov ecx, dword [rbp + 0x714]
call fcn.1400ae7a0
cmp al, 0xa
jne 0x1400d2dc8
mov rsi, qword [rbp + 0x698]
test rsi, rsi
mov rdi, qword [rbp + 0x690]
jne 0x1400d2dd6
test edi, edi
jne 0x1400d2dd6
lea rdi, str.cannot_set_a_0_duration_timeoutconnection_timed_out
mov rcx, rdi
shr rcx, 8
shl rdi, 0x38
or rdi, 0xb
mov sil, 2
jmp 0x1400d2f1a
xor esi, esi
mov rcx, qword [rbp + 0x790]
jmp 0x1400d2f1a
mov eax, edi
xor edx, edx
mov ecx, 0x3e8
div ecx
cmp edi, ecx
mov ecx, eax
push 1
pop rdx
cmovb ecx, edx
test esi, esi
cmovne ecx, eax
mov dword [rbp + 0x660], esi
mov dword [rbp + 0x664], ecx
push 1
pop rsi
mov qword [rbp], rsi
mov rdi, qword [rbp + 0x7a0]
mov qword [rbp + 8], rdi
mov r8d, 0x1f8
lea rcx, [rbp + 0x10]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x3c0], rsi
mov qword [rbp + 0x3c8], rdi
mov r8d, 0x1f8
lea rcx, [rbp + 0x3d0]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
lea rax, [rbp + 0x660]
mov qword [rsp + 0x20], rax
push 1
pop rcx
xor edx, edx
mov r8, rbp
mov r9, r15
call sub.WS2_32.dll_select
test eax, eax
je 0x1400d2e7c
cmp eax, 0xffffffff
jne 0x1400d2e84
call sub.WS2_32.dll_WSAGetLastError
mov edi, eax
shl rdi, 0x18
xor ecx, ecx
xor eax, eax
mov esi, eax
jmp 0x1400d2f1a
mov sil, 2
jmp 0x1400d2f04
mov sil, 4
cmp dword [rbp], 1
je 0x1400d2f04
and dword [rbp + 0x748], 0
mov dword [rbp + 0x788], 4
lea rax, [rbp + 0x788]
mov qword [rsp + 0x20], rax
mov rcx, qword [rbp + 0x7a0]
mov edx, 0xffff
mov r8d, 0x1007
lea r9, [rbp + 0x748]
call sub.WS2_32.dll_getsockopt
cmp eax, 0xffffffff
je 0x1400d2e66
movsxd rax, dword [rbp + 0x788]
mov qword [rbp + 0x720], rax
cmp rax, 4
jne 0x1400d3c17
mov ecx, dword [rbp + 0x748]
mov rax, rcx
shl rax, 0x20
test rcx, rcx
push 4
pop rcx
cmove rax, rcx
cmp al, 4
jne 0x1400d2f8f
lea rdi, [0x140150650]
mov rcx, rdi
shr rcx, 8
shl rdi, 0x38
or rdi, 0xd
cmp sil, 4
je 0x1400d333b
movzx eax, sil
shld rcx, rdi, 8
mov qword [rbp + 0x790], rcx
shl rdi, 8
or rdi, rax
mov rcx, qword [rbp + 0x7a0]
call fcn.140116617
mov qword [rbp + 0x7a0], rdi
mov rdi, rbp
mov rsi, qword [rbp + 0x740]
mov rcx, r12
call fcn.1400cb62b
mov rax, qword [rbp + 0x7a0]
mov qword [rbp + 0x758], rax
mov rax, qword [rbp + 0x790]
mov qword [rbp + 0x760], rax
mov rax, qword [rbp + 0x608]
mov rcx, qword [rbp + 0x610]
jmp 0x1400d2991
mov rdi, rax
shr rdi, 8
xor ecx, ecx
jmp 0x1400d2e75
xor edi, edi
xor eax, eax
mov qword [rbp + 0x780], rax
lea r14, [rbp + 0x5f8]
mov rcx, r14
call fcn.1400d5974
test dil, dil
mov qword [rbp + 0x790], rdi
je 0x1400d30ef
mov rcx, qword [rbp + 0x7a0]
mov qword [rbp + 0x788], rcx
mov rdi, qword [rbp + 0x5d8]
cmp dword [rdi + 0x98], 1
jne 0x1400d3175
mov rdx, qword [rdi + 0xa0]
mov rsi, rdi
mov r8d, dword [rdi + 0xa8]
lea rcx, [rbp + 0x3c0]
call fcn.1400d221e
mov r8, qword [rbp + 0x3d0]
mov rdx, qword [rbp + 0x3c8]
cmp qword [rbp + 0x3c0], 1
jne 0x1400d32d2
lea rcx, [rbp + 0x3c0]
call fcn.1400dc1e3
jmp 0x1400d3369
lea rax, [rbp + 0x678]
mov qword [rbp + 0x210], rax
lea rax, [0x140012b0e]
lea rcx, [0x140188468]
lea rdx, [rbp + 0x3c0]
mov qword [rdx], rcx
push 1
pop rcx
mov qword [rdx + 8], rcx
and qword [rdx + 0x10], 0
mov qword [rbp + 0x218], rax
mov qword [rdx + 0x20], rbx
mov qword [rdx + 0x28], rcx
mov byte [rbp + 0x7af], 1
mov rcx, rbp
call fcn.140001760
movups xmm0, xmmword [rbp]
movaps xmmword [rbp + 0x210], xmm0
mov r9, qword [rbp + 0x10]
mov qword [rbp + 0x220], r9
mov r8, qword [rbp + 0x210]
lea rcx, [rbp + 0x3c0]
mov dl, 2
call fcn.1400dc18c
mov rsi, qword [rbp + 0x798]
lea rcx, [rsi + 8]
lea rdx, [rbp + 0x3c0]
mov r8d, 0x158
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsi], 1
lea rcx, [rbp + 0x210]
call fcn.1400227d0
lea rcx, [rbp + 0x640]
call fcn.1400d924b
jmp 0x1400d33df
cmp byte [rbp + 0x758], 4
je 0x1400d3b7c
movups xmm0, xmmword [rbp + 0x758]
movaps xmmword [rbp + 0x210], xmm0
mov byte [rbp + 0x7ac], 1
lea r8, str.Connect_error
lea rcx, [rbp + 0x3c0]
push 0xd
pop r9
mov dl, 3
call fcn.1400dc18c
mov r8, qword [rbp + 0x210]
mov r9, qword [rbp + 0x218]
mov byte [rbp + 0x7ac], 0
mov rcx, rbp
lea rdx, [rbp + 0x3c0]
call fcn.1400dbfa3
mov rsi, qword [rbp + 0x798]
lea rcx, [rsi + 8]
mov rdx, rbp
mov r8d, 0x158
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsi], 1
xor esi, esi
jmp 0x1400d339c
mov rax, qword [rdi]
mov rsi, qword [rax + 0x88]
lea rdx, [rbp + 0x3c0]
mov qword [rdx + 0x10], rsi
movups xmm0, xmmword [rax + 0x78]
movaps xmmword [rdx], xmm0
call fcn.1400bd7e0
cmp al, 4
jne 0x1400d32bb
mov rax, qword [rdi]
mov rcx, qword [rax + 0xa0]
lea rdx, [rbp + 0x3c0]
mov qword [rdx + 0x10], rcx
movups xmm0, xmmword [rax + 0x90]
movaps xmmword [rdx], xmm0
mov rcx, qword [rbp + 0x788]
call fcn.1400bd8c0
cmp al, 4
jne 0x1400d3343
mov ecx, r13d
xor edx, edx
call fcn.1400d43c5
test al, al
je 0x1400d3a76
cmp byte [rbp + 0x3bc], 2
je 0x1400d3a76
mov r12, qword [rbp + 0x678]
mov r13, qword [rbp + 0x680]
movzx eax, word [rbp + 0x820]
mov word [rbp + 0x768], ax
cmp qword [rbp + 0x388], 0
je 0x1400d344c
cmp qword [rbp + 0x3a0], 0
je 0x1400d344c
lea rdx, [rbp + 0x388]
lea rsi, [rbp + 0x3a0]
lea rdi, [rbp + 0x3c0]
mov rcx, rdi
call fcn.1400c86d1
cmp qword [rdi], 0
je 0x1400d3470
mov rax, qword [rbp + 0x3d0]
mov qword [rbp + 0x6b0], rax
movups xmm0, xmmword [rbp + 0x3c0]
movaps xmmword [rbp + 0x6a0], xmm0
jmp 0x1400d3488
lea rcx, [rbp + 0x3c0]
mov rdx, qword [rbp + 0x698]
call fcn.1400dc1e3
mov rsi, qword [rbp + 0x798]
lea rcx, [rsi + 8]
lea rdx, [rbp + 0x3c0]
mov r8d, 0x158
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsi], 1
lea rcx, [rbp + 0x5f8]
call fcn.1400d5974
mov sil, 1
jmp 0x1400d33be
mov r8, rdx
lea rcx, [rbp + 0x3c0]
mov rdx, rax
call fcn.1400dc1e3
jmp 0x1400d3369
mov rax, rbp
mov qword [rax + 8], rdx
mov dword [rax + 0x10], r8d
mov qword [rax], 1
mov rcx, qword [rbp + 0x788]
mov rdx, rax
call fcn.1400bd7e0
cmp al, 4
jne 0x1400d3357
mov rdx, qword [rsi + 0xa0]
mov r8d, dword [rsi + 0xa8]
lea rcx, [rbp + 0x3c0]
call fcn.1400d221e
mov r8, qword [rbp + 0x3d0]
mov rdx, qword [rbp + 0x3c8]
cmp qword [rbp + 0x3c0], 1
jne 0x1400d340c
lea rcx, [rbp + 0x3c0]
call fcn.1400dc1e3
jmp 0x1400d3369
mov dil, 1
jmp 0x1400d2fa8
mov r8, rdx
lea rcx, [rbp + 0x3c0]
mov rdx, rax
call fcn.1400dc1e3
jmp 0x1400d3369
mov r8, rdx
lea rcx, [rbp + 0x3c0]
mov rdx, rax
call fcn.1400dc1e3
mov rsi, qword [rbp + 0x798]
lea rcx, [rsi + 8]
lea rdx, [rbp + 0x3c0]
mov r8d, 0x158
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsi], 1
mov rcx, qword [rbp + 0x788]
call fcn.140116617
mov sil, 1
cmp qword [rbp + 0x780], 0
sete al
mov rcx, qword [rbp + 0x790]
or cl, al
jne 0x1400d33be
mov rcx, qword [rbp + 0x7a0]
call fcn.140116617
test sil, sil
je 0x1400d33df
cmp byte [rbp + 0x758], 4
je 0x1400d33df
mov byte [rbp + 0x7af], 0
lea rcx, [rbp + 0x758]
call fcn.140001054
lea rcx, [rbp + 0x6f0]
call fcn.1400227d0
lea rcx, [rbp + 0x370]
call fcn.1400d4419
nop
add rsp, 0x838
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rax, rbp
mov qword [rax + 8], rdx
mov dword [rax + 0x10], r8d
mov qword [rax], 1
mov rcx, qword [rbp + 0x788]
mov rdx, rax
call fcn.1400bd8c0
cmp al, 4
je 0x1400d31d1
mov r8, rdx
lea rcx, [rbp + 0x3c0]
mov rdx, rax
call fcn.1400dc1e3
jmp 0x1400d3369
mov rax, qword [0x14019b820]
xorps xmm0, xmm0
movups xmmword [rbp + 0x6a8], xmm0
mov qword [rbp + 0x6a0], rax
lea rsi, [rbp + 0x768]
jmp 0x1400d3606
mov rax, qword [0x14019b820]
xorps xmm0, xmm0
movups xmmword [rbp + 0x6a8], xmm0
mov qword [rbp + 0x6a0], rax
lea rdi, [rbp + 0x3c0]
mov rcx, rdi
mov rdx, rsi
call fcn.1400c86d1
cmp qword [rdi], 0
je 0x1400d34be
mov rax, qword [rbp + 0x3d0]
mov qword [rbp + 0x220], rax
movups xmm0, xmmword [rbp + 0x3c0]
movaps xmmword [rbp + 0x210], xmm0
jmp 0x1400d34d6
mov rax, qword [0x14019b820]
xorps xmm0, xmm0
movups xmmword [rbp + 0x218], xmm0
mov qword [rbp + 0x210], rax
lea rax, [rbp + 0x6a0]
mov qword [rbp], rax
lea rax, str.FileNotFoundIo
lea rdx, [rbp + 0x3c0]
mov qword [rdx], rax
lea rsi, [0x14001f5b5]
mov qword [rbp + 8], rsi
push 2
pop rax
mov qword [rdx + 8], rax
and qword [rdx + 0x10], 0
mov qword [rbp + 0x10], rbx
mov qword [rbp + 0x18], rsi
mov rcx, rbp
mov qword [rdx + 0x20], rcx
mov qword [rdx + 0x28], rax
lea rcx, [rbp + 0x5f8]
call fcn.140001760
lea rcx, [rbp + 0x210]
call fcn.1400227d0
lea rbx, [rbp + 0x6a0]
mov rcx, rbx
call fcn.1400227d0
movups xmm0, xmmword [rbp + 0x5f8]
lea rdx, [rbp + 0x3c0]
movaps xmmword [rdx], xmm0
mov rax, qword [rbp + 0x608]
mov qword [rdx + 0x10], rax
lea rdi, [rbp + 0x210]
mov rcx, rdi
call fcn.1400d05ef
lea rcx, [rbp + 0x3c0]
call fcn.1400227d0
cmp byte [rbp + 0x3bc], 1
jne 0x1400d359d
mov rax, qword [0x14019b820]
xorps xmm0, xmm0
movups xmmword [rbp + 0x6a8], xmm0
mov qword [rbp + 0x6a0], rax
jmp 0x1400d35f3
lea rax, [0x140188120]
lea rdx, [rbp + 0x3c0]
mov qword [rdx], rax
mov qword [rdx + 8], 2
and qword [rdx + 0x10], 0
mov qword [rbp + 0x6a0], rdi
mov qword [rbp + 0x6a8], rsi
mov qword [rdx + 0x20], rbx
mov qword [rdx + 0x28], 1
mov rcx, rbp
call fcn.140001760
movups xmm0, xmmword [rbp]
movaps xmmword [rbp + 0x6a0], xmm0
mov rax, qword [rbp + 0x10]
mov qword [rbp + 0x6b0], rax
lea rsi, [rbp + 0x768]
lea rcx, [rbp + 0x210]
call fcn.1400227d0
lea rax, [rbp - 0x50]
mov qword [rax], r12
mov qword [rax + 8], r13
mov qword [rbp + 0x5f8], r12
mov qword [rbp + 0x600], r13
mov qword [rbp + 0x3c0], rax
lea rax, [0x140012b0e]
mov qword [rbp + 0x3c8], rax
mov qword [rbp + 0x3d0], rsi
lea rcx, [0x140010e10]
mov qword [rbp + 0x3d8], rcx
mov qword [rbp + 0x3e0], r14
mov qword [rbp + 0x3e8], rax
mov qword [rbp + 0x3f0], rsi
mov qword [rbp + 0x3f8], rcx
lea rax, [rbp + 0x6a0]
mov qword [rbp + 0x400], rax
lea rax, str.CONNECT__HTTP_1.1_r_nHost:__r_nUser_Agent:_something_1.0.0_r_nProxy_Connection:_Keep_Alive_r_n_r_nProxy_Authorization:_basic_200401407
mov rsi, rbp
mov qword [rsi], rax
mov qword [rsi + 8], 6
and qword [rsi + 0x10], 0
lea rax, [0x14001f5b5]
mov qword [rbp + 0x408], rax
mov qword [rsi + 0x20], r15
mov qword [rsi + 0x28], 5
lea rdi, [rbp + 0x210]
mov rcx, rdi
mov rdx, rsi
call fcn.140001760
lea rcx, [rbp + 0x6a0]
call fcn.1400227d0
lea rax, str.FileNotFoundIo
lea rdx, [rbp + 0x3c0]
mov qword [rdx], rax
push 1
pop rcx
mov qword [rdx + 8], rcx
and qword [rdx + 0x10], 0
mov qword [rbp], rdi
lea rax, [0x14001f5b5]
mov qword [rbp + 8], rax
mov qword [rdx + 0x20], rsi
mov qword [rdx + 0x28], rcx
lea rcx, [rbp + 0x788]
call fcn.1400d4d2d
cmp al, 4
jne 0x1400d3bbe
lea rcx, [rbp + 0x210]
call fcn.1400227d0
mov rax, qword [0x14019b820]
lea r12, [rbp + 0x768]
mov qword [r12], rax
xorps xmm0, xmm0
movups xmmword [r12 + 8], xmm0
mov r13, rbp
mov edx, 0x100
mov rcx, r13
call fcn.1400a1b60
mov rdi, qword [rbp]
mov rsi, qword [rbp + 0x10]
mov rdx, qword [rbp + 0x788]
lea rcx, [rbp + 0x3c0]
mov r8, rdi
mov r9, rsi
call fcn.1400bd9a0
mov rbx, qword [rbp + 0x3c8]
cmp qword [rbp + 0x3c0], 1
je 0x1400d37c3
mov rcx, r12
mov rdx, rsi
call fcn.140002d51
mov r14, qword [rbp + 0x768]
mov r15, qword [rbp + 0x778]
lea rcx, [r14 + r15]
mov rdx, rdi
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
add r15, rsi
mov qword [rbp + 0x778], r15
and qword [rbp + 0x10], 0
cmp rbx, 0x100
jb 0x1400d3807
mov rcx, r13
call fcn.1400227d0
jmp 0x1400d3737
lea rcx, [rbp + 0x3c0]
mov r8, qword [rcx + 0x10]
mov rdx, rbx
call fcn.1400dc1e3
mov rsi, qword [rbp + 0x798]
lea rcx, [rsi + 8]
lea rdx, [rbp + 0x3c0]
mov r8d, 0x158
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsi], 1
mov rcx, rbp
call fcn.1400227d0
jmp 0x1400d3b4c
mov rcx, rbp
call fcn.1400227d0
lea rcx, [rbp + 0x210]
mov rdx, r14
mov r8, r15
call fcn.140001b20
lea rcx, [rbp + 0x210]
call fcn.14004fb48
lea r15, [rbp + 0x3fc]
and qword [r15 - 0x3c], 0
mov r14, rax
mov r12, rdx
mov qword [r15 - 0x34], rdx
mov qword [r15 - 0x2c], rax
mov qword [r15 - 0x24], rdx
and qword [r15 - 0x1c], 0
mov qword [r15 - 0x14], rdx
mov qword [r15 - 0xc], 1
movabs rax, 0xa0000000a
mov qword [r15 - 4], rax
and word [r15 + 4], 0
xor esi, esi
mov rbx, r12
sub rbx, rsi
jb 0x1400d3911
lea rdx, [r14 + rsi]
cmp rbx, 0xf
ja 0x1400d38a0
lea rax, [rdx + rbx]
xor ecx, ecx
cmp rdx, rax
je 0x1400d38af
cmp byte [rdx], 0xa
je 0x1400d38b3
inc rdx
inc rcx
jmp 0x1400d388e
mov cl, 0xa
mov r8, rbx
call fcn.14000d940
mov rbx, rdx
jmp 0x1400d38b9
xor eax, eax
jmp 0x1400d38b9
mov rbx, rcx
push 1
pop rax
cmp rax, 1
jne 0x1400d390a
lea rdi, [rbx + rsi]
inc rdi
mov qword [rbp + 0x3e0], rdi
add rbx, rsi
mov rsi, rdi
cmp rbx, r12
jae 0x1400d3872
lea rcx, [r14 + rbx]
push 1
pop rdx
mov r8, r15
mov r9, rdx
call fcn.140004ad4
mov rsi, rdi
test al, al
je 0x1400d3872
mov qword [rbp + 0x3c0], rdi
test rbx, rbx
jne 0x1400d3924
test r14, r14
je 0x1400d399c
xor eax, eax
jmp 0x1400d3932
mov qword [rbp + 0x3e0], r12
test r12, r12
je 0x1400d399c
mov byte [rbp + 0x401], 1
mov rbx, r12
lea rax, [rbx - 1]
cmp byte [r14 + rbx - 1], 0xd
cmovne rax, rbx
lea rcx, [rbp + 0x3c0]
and qword [rcx], 0
mov rdx, r14
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], r14
mov qword [rcx + 0x18], rax
and qword [rcx + 0x20], 0
add rdx, rax
mov qword [rcx + 0x28], r14
mov qword [rcx + 0x30], rdx
mov word [rcx + 0x38], 1
call fcn.1400d1387
test rax, rax
je 0x1400d399c
lea rcx, [rbp + 0x3c0]
call fcn.1400d1387
mov rdi, rax
test rax, rax
je 0x1400d399c
mov rsi, rdx
lea r8, [0x140188213]
mov rcx, rdi
call fcn.1400d14ee
test al, al
je 0x1400d39b0
mov si, 2
jmp 0x1400d39e6
lea rcx, [rbp + 0x210]
call fcn.1400c862c
mov bl, 9
mov si, 1
jmp 0x1400d39f2
lea r8, [0x140188216]
mov rcx, rdi
mov rdx, rsi
call fcn.1400d14ee
test al, al
jne 0x1400d39dc
lea r8, [0x140188219]
mov rcx, rdi
mov rdx, rsi
call fcn.1400d14ee
test al, al
je 0x1400d39e0
mov bl, 0xa
jmp 0x1400d39e2
mov bl, 9
mov si, 1
lea rcx, [rbp + 0x210]
call fcn.1400c862c
lea rcx, [rbp + 0x6a0]
lea rdx, [rbp + 0x210]
push 0x50
pop r8
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [rbp + 0x720]
movaps xmmword [rbp + 0x660], xmm0
mov eax, dword [rbp + 0x730]
mov dword [rbp + 0x670], eax
lea rcx, [rbp - 0x50]
lea rdx, [rbp + 0x5f8]
push 0x48
pop r8
call sub.VCRUNTIME140.dll_memcpy
mov rcx, rbp
lea rdx, [rbp + 0x3c0]
mov r8d, 0x84
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rbp + 0x748]
mov ecx, dword [rbp + 0x74b]
mov dword [rbp + 0x718], eax
mov dword [rbp + 0x71b], ecx
cmp si, 2
jne 0x1400d3aa4
lea rcx, [rbp + 0x768]
call fcn.1400227d0
mov rax, qword [rbp + 0x788]
mov rcx, qword [rbp + 0x798]
mov qword [rcx + 8], rax
and qword [rcx], 0
mov byte [rbp + 0x7af], 0
lea rcx, [rbp + 0x758]
call fcn.1400cb62b
jmp 0x1400d33df
mov rdi, qword [rbp + 0x798]
lea rcx, [rdi + 0x18]
lea rdx, [rbp + 0x6a0]
push 0x50
pop r8
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rdi + 0x88]
lea rdx, [rbp - 0x50]
push 0x48
pop r8
call sub.VCRUNTIME140.dll_memcpy
mov word [rdi + 8], si
and word [rdi + 0xe], 0
and dword [rdi + 0xa], 0
and qword [rdi + 0x10], 0
mov dword [rdi + 0x68], 2
movaps xmm0, xmmword [rbp + 0x660]
movups xmmword [rdi + 0x6c], xmm0
mov eax, dword [rbp + 0x670]
mov dword [rdi + 0x7c], eax
and qword [rdi + 0x80], 0
mov dword [rdi + 0xd0], 3
lea rcx, [rdi + 0xd4]
mov rdx, rbp
mov r8d, 0x84
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + 0x158], bl
mov eax, dword [rbp + 0x718]
mov ecx, dword [rbp + 0x71b]
mov dword [rdi + 0x159], eax
mov dword [rdi + 0x15c], ecx
mov qword [rdi], 1
lea rcx, [rbp + 0x768]
call fcn.1400227d0
jmp 0x1400d338d
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, [0x1401884d8]
push 0x2b
pop rdx
call fcn.140117700
jmp 0x1400d3c3c
ud2
mov rax, qword [rbp + 0x7a0]
mov qword [rbp + 0x738], rax
mov rax, qword [rbp + 0x780]
mov qword [rbp + 0x750], rax
mov byte [rbp + 0x7ae], 1
mov byte [rbp + 0x7ad], 0
lea rcx, [0x140188508]
lea r8, [0x140188548]
push 0x3c
pop rdx
call fcn.140118404
jmp 0x1400d3c3c
mov rcx, rax
shrd rcx, rdx, 8
mov rbx, rdx
shr rbx, 8
lea r8, [rbp + 0x3c0]
mov byte [r8], al
mov qword [r8 + 1], rcx
mov rax, rdx
shr rax, 0x38
mov byte [r8 + 0xf], al
shr rdx, 0x28
mov word [r8 + 0xd], dx
mov dword [r8 + 9], ebx
lea rax, [0x140188590]
mov qword [rsp + 0x20], rax
lea rcx, str.called__Result::unwrap____on_an__Err__value
lea r9, fcn.140001054
push 0x2b
pop rdx
call fcn.140117e90
jmp 0x1400d3c3c
lea r8, [rbp + 0x210]
and qword [r8], 0
lea rdx, reloc.WS2_32.dll_connect
lea r9, str.library_std_src_sys_common_net.rs
lea rcx, [rbp + 0x720]
call fcn.14011aae0
ud2