Function at 0x1402c6c2b
Capabilities:
Connect socket
Set socket configuration

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa08
vmovaps xmmword [rsp + 0x9f0], xmm6
mov rbx, rdx
mov r12, rcx
mov qword [rsp + 0xc0], r8
mov qword [rsp + 0xc8], r9
mov rbp, qword [rdx + 0x68]
mov esi, dword [rbp + 0x18]
cmp esi, 0x3b9aca00
jne 0x1402c6c81
mov rax, qword [rbx + 0x58]
mov qword [rsp + 0xd8], rax
mov eax, dword [rbx + 0x60]
mov dword [rsp + 0x4c], eax
jmp 0x1402c6caf
mov rdi, qword [rbp + 0x10]
call fcn.140266c50
lea rcx, [rsp + 0x358]
mov qword [rcx], rax
mov dword [rcx + 8], edx
mov rdx, rdi
mov r8d, esi
call fcn.140297810
mov qword [rsp + 0xd8], rax
mov dword [rsp + 0x4c], edx
lea rdx, [rbp + 0x50]
lea rsi, [rsp + 0x150]
mov rcx, rsi
call fcn.1402bc0cd
cmp byte [rsi + 0x4c], 4
lea r15, [rsp + 0xc0]
lea r13, [fcn.1402d7b2a]
jne 0x1402c6d28
lea rax, [rsp + 0x5d0]
mov qword [rax], r15
mov qword [rax + 8], r13
lea rcx, [rsp + 0xa70]
mov qword [rax + 0x10], rcx
lea rcx, str.failed_to_write_whole_buffer
lea rdx, [rsp + 0x358]
mov qword [rdx], rcx
mov ecx, 2
mov qword [rdx + 8], rcx
and qword [rdx + 0x20], 0
lea r8, [fcn.1400bade0]
mov qword [rax + 0x18], r8
mov qword [rdx + 0x10], rax
mov qword [rdx + 0x18], rcx
jmp 0x1402c6d7d
lea rax, [rsp + 0x198]
lea rcx, [rsp + 0x5d0]
mov qword [rcx], rsi
lea rdx, [fcn.140031e97]
mov qword [rcx + 8], rdx
mov qword [rcx + 0x10], rax
lea rax, str.failed_to_write_whole_buffer
lea rdx, [rsp + 0x358]
mov qword [rdx], rax
mov eax, 2
mov qword [rdx + 8], rax
and qword [rdx + 0x20], 0
lea r8, [fcn.1400baee0]
mov qword [rcx + 0x18], r8
mov qword [rdx + 0x10], rcx
mov qword [rdx + 0x18], rax
lea rsi, [rsp + 0x250]
mov rcx, rsi
call fcn.1402bf734
vmovups xmm0, xmmword [rsi]
vmovaps xmmword [rsp + 0xa0], xmm0
mov rax, qword [rsi + 0x10]
mov qword [rsp + 0xb0], rax
mov rcx, qword [rbx + 0x70]
mov rax, qword [rcx + 0x10]
lock inc qword [rax]
jle 0x1402c8176
mov r10, qword [rcx + 0x18]
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0xe8], r10
mov rcx, qword [r10 + 0x10]
dec rcx
and rcx, 0xfffffffffffffff0
lea rdx, [rcx + rax]
add rdx, 0x10
mov r8, qword [rsp + 0xa0]
mov r9, qword [rsp + 0xb0]
lea rsi, [rsp + 0x1a0]
mov rcx, rsi
call qword [r10 + 0x18]
cmp qword [rsi], 0
je 0x1402c6e36
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0x5e8], rax
vmovups xmm0, xmmword [rsp + 0x1a0]
vmovups xmmword [rsp + 0x5d8], xmm0
mov dword [rsp + 0x5d0], 3
jmp 0x1402c6ed1
mov rsi, qword [rsp + 0x1a8]
lea rax, [rsp + 0xa0]
lea rcx, [rsp + 0x100]
mov qword [rcx], rax
lea rax, str.resolve_dns_name_
lea rdx, [rsp + 0x250]
mov qword [rdx], rax
lea rax, [fcn.140031e97]
mov qword [rdx + 8], 2
and qword [rdx + 0x20], 0
mov qword [rcx + 8], rax
mov qword [rdx + 0x10], rcx
mov qword [rdx + 0x18], 1
lea rdi, [rsp + 0x3b8]
mov rcx, rdi
call fcn.1402bf734
mov eax, 2
mov dword [rdi - 0x58], eax
and qword [rdi + 0x18], 0
mov byte [rdi + 0x28], 2
mov dword [rdi - 0x60], eax
lea rdi, [rsp + 0x5d0]
lea rdx, [rsp + 0x358]
mov rcx, rdi
mov r8, rsi
call fcn.1402c0542
mov esi, dword [rdi]
cmp esi, 3
jne 0x1402c77da
mov rsi, qword [rsp + 0x5d8]
mov rdi, qword [rsp + 0x5e0]
mov r14, qword [rsp + 0x5e8]
lea rcx, [rsp + 0xe0]
call fcn.1402bb41a
test r14, r14
je 0x1402c770d
mov qword [rsp + 0x98], rbp
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x90], rbx
lea rax, [rbx + 0x70]
mov qword [rsp + 0x128], rax
lea rax, [rsp + 0x150]
lea rcx, [rsp + 0x58]
and qword [rcx], 0
movzx eax, byte [rax + 0x4c]
mov dword [rsp + 0x54], eax
shl r14, 5
add r14, rsi
mov qword [rsp + 0x1a0], rsi
mov qword [rsp + 0x1a8], rdi
mov qword [rsp + 0x1b0], rsi
mov qword [rsp + 0x1b8], r14
lea rdi, [rsp + 0x368]
xor eax, eax
mov qword [rsp + 0x38], rax
lea rbp, [rsp + 0x5d0]
mov r13w, 2
cmp rsi, r14
je 0x1402c7860
lea r12, [rsi + 0x20]
mov qword [rsp + 0x1b0], r12
movzx r15d, word [rsi]
vmovups xmm0, xmmword [rsi + 0x10]
vmovups xmmword [rsp + 0x10e], xmm0
vmovups xmm0, xmmword [rsi + 2]
vmovaps xmmword [rsp + 0x100], xmm0
cmp r15w, 2
je 0x1402c7860
mov word [rsp + 0x250], r15w
vmovups xmm0, xmmword [rsp + 0x10e]
lea rax, [rsp + 0x252]
vmovups xmmword [rax + 0xe], xmm0
vmovaps xmm0, xmmword [rsp + 0x100]
vmovups xmmword [rax], xmm0
mov esi, 0x3b9aca00
cmp dword [rsp + 0x4c], 0x3b9aca00
lea rbx, [rsp + 0x358]
je 0x1402c7037
mov rcx, rbx
mov rdx, qword [rsp + 0xd8]
mov r8d, dword [rsp + 0x4c]
call fcn.1402b7a1b
mov esi, dword [rsp + 0x360]
cmp esi, 0x3b9aca00
je 0x1402c7997
mov rax, qword [rsp + 0x358]
mov qword [rsp + 0xd0], rax
test byte [rsp + 0x54], 0xfb
jne 0x1402c71e4
cmp esi, 0x3b9aca00
jne 0x1402c725f
mov eax, dword [rsp + 0x100]
mov dword [rsp + 0x70], eax
movzx eax, word [rsp + 0x104]
mov word [rsp + 0x74], ax
mov rbx, qword [rsp + 0x258]
lea rax, [rsp + 0x252]
vmovups xmm0, xmmword [rax + 0xe]
vmovaps xmmword [rsp + 0x80], xmm0
cmp r15w, 3
lea r12, [rsp + 0x60]
je 0x1402c752f
and qword [rsp + 0x60], 0
xor esi, esi
cmp r15w, 2
je 0x1402c72f4
mov word [rsp + 0x358], r15w
movzx eax, word [rsp + 0x74]
mov word [rdi - 0xa], ax
mov eax, dword [rsp + 0x70]
mov dword [rdi - 0xe], eax
mov qword [rsp + 0x360], rbx
vmovaps xmm0, xmmword [rsp + 0x80]
vmovups xmmword [rdi], xmm0
mov rax, qword [0x1406ba158]
cmp rax, 3
jne 0x1402c71da
mov rcx, rbp
lea rdx, [rsp + 0x358]
mov r8d, 1
call fcn.14028c4a0
cmp qword [rsp + 0x5d0], 0
mov rsi, qword [rsp + 0x5d8]
jne 0x1402c71c3
cmp word [rsp + 0x358], 0
je 0x1402c714a
vmovups xmm0, xmmword [rsp + 0x35c]
mov eax, dword [rsp + 0x36c]
mov edx, dword [rsp + 0x370]
mov r8d, 0x1c
mov r9w, 0x17
movzx ecx, word [rsp + 0x374]
jmp 0x1402c7168
movzx ecx, word [rsp + 0x35e]
mov eax, dword [rsp + 0x35a]
mov r8d, 0x10
mov r9w, 2
vxorps xmm0, xmm0, xmm0
rol cx, 8
mov word [rsp + 0x5d0], r9w
mov word [rsp + 0x5d2], cx
mov dword [rsp + 0x5d4], eax
vmovups xmmword [rsp + 0x5d8], xmm0
mov dword [rsp + 0x5e8], edx
mov rcx, rsi
mov rdx, rbp
call sub.ws2_32.dll_connect
cmp eax, 0xffffffff
jne 0x1402c7825
call sub.ws2_32.dll_WSAGetLastError
mov r14d, eax
shl r14, 0x20
or r14, 2
mov rcx, rsi
call fcn.14030025c
mov rsi, r14
mov rcx, r12
call fcn.140021818
mov qword [rsp + 0x60], rsi
mov r15w, 2
jmp 0x1402c709c
call fcn.14028b7d0
jmp 0x1402c70e6
mov rcx, rbx
lea rdx, [rsp + 0x150]
call fcn.1402bc0cd
cmp byte [rsp + 0x3a4], 4
je 0x1402c815c
vmovups ymm0, ymmword [rsp + 0x358]
vmovups ymm1, ymmword [rsp + 0x378]
vmovups ymm2, ymmword [rsp + 0x388]
vmovups ymmword [rsp + 0x600], ymm2
vmovups ymmword [rsp + 0x5f0], ymm1
vmovups ymmword [rsp + 0x5d0], ymm0
mov r8d, 0x17
mov cl, 0x27
lea rdx, str.SOCKS_feature_disabled.unknown_scheme_
vzeroupper
call fcn.1400cbfcb
mov rbx, rax
mov rcx, rbp
call fcn.1402b7790
jmp 0x1402c753f
mov rax, qword [0x1406ba158]
cmp rax, 3
jne 0x1402c73fd
mov rcx, rbx
lea rdx, [rsp + 0x250]
mov r8d, 1
call fcn.14028c4a0
cmp qword [rsp + 0x358], 0
mov r8, rbx
mov rbx, qword [rsp + 0x360]
jne 0x1402c752f
mov dword [rsp + 0x358], 1
mov rcx, rbx
mov edx, 0x8004667e
call sub.ws2_32.dll_ioctlsocket
cmp eax, 0xffffffff
je 0x1402c730a
cmp word [rsp + 0x250], 0
je 0x1402c731f
vmovups xmm0, xmmword [rsp + 0x254]
mov eax, dword [rsp + 0x264]
mov edx, dword [rsp + 0x268]
mov r8d, 0x1c
mov r9w, 0x17
movzx ecx, word [rsp + 0x26c]
jmp 0x1402c733d
test rsi, rsi
lea rax, str.could_not_resolve_to_any_addresses
cmove rsi, rax
mov rbx, rsi
jmp 0x1402c752f
call sub.ws2_32.dll_WSAGetLastError
mov r13d, eax
shl r13, 0x20
or r13, 2
jmp 0x1402c7524
movzx ecx, word [rsp + 0x256]
mov eax, dword [rsp + 0x252]
mov r8d, 0x10
mov r9w, 2
vxorps xmm0, xmm0, xmm0
rol cx, 8
mov word [rsp + 0x358], r9w
mov word [rsp + 0x35a], cx
mov dword [rsp + 0x35c], eax
vmovups xmmword [rsp + 0x360], xmm0
mov dword [rsp + 0x370], edx
mov rcx, rbx
lea rdx, [rsp + 0x358]
call sub.ws2_32.dll_connect
cmp eax, 0xffffffff
je 0x1402c7383
xor r13d, r13d
jmp 0x1402c7393
call sub.ws2_32.dll_WSAGetLastError
mov r13d, eax
shl r13, 0x20
or r13, 2
mov qword [rsp + 0x60], r13
and dword [rsp + 0x358], 0
mov rcx, rbx
mov edx, 0x8004667e
lea r8, [rsp + 0x358]
call sub.ws2_32.dll_ioctlsocket
cmp eax, 0xffffffff
je 0x1402c73df
test r13, r13
je 0x1402c7832
mov eax, r13d
and eax, 3
lea rcx, [0x1404b53e0]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov al, byte [r13 + 0x10]
jmp 0x1402c7419
call sub.ws2_32.dll_WSAGetLastError
mov r14d, eax
shl r14, 0x20
or r14, 2
test r13, r13
jne 0x1402c7517
jmp 0x1402c7521
call fcn.14028b7d0
jmp 0x1402c7270
mov al, byte [r13 + 0xf]
jmp 0x1402c7419
mov rcx, r13
shr rcx, 0x20
call fcn.1402673a0
cmp al, 0xd
jne 0x1402c7524
cmp qword [rsp + 0xd0], 0
jne 0x1402c743b
lea r14, str.cannot_set_a_0_duration_timeout
test esi, esi
je 0x1402c7517
mov eax, 0x7fffffff
mov rdx, qword [rsp + 0xd0]
cmp rdx, rax
mov ecx, 0x7fffffff
cmovb rcx, rdx
xor r12d, r12d
mov eax, esi
xor edx, edx
mov r8d, 0x3e8
div r8d
mov dword [rsp + 0x80], ecx
test rcx, rcx
mov ecx, eax
mov edx, 1
cmove ecx, edx
cmp esi, r8d
cmovae ecx, eax
mov dword [rsp + 0x84], ecx
mov r8d, 0x1f8
mov rcx, rdi
xor edx, edx
call sub.msvcrt.dll_memset
mov esi, 1
mov qword [rsp + 0x5d0], rsi
mov qword [rsp + 0x5d8], rbx
mov r8d, 0x1f8
lea rcx, [rsp + 0x5e0]
xor edx, edx
call sub.msvcrt.dll_memset
mov qword [rsp + 0x358], rsi
mov qword [rsp + 0x360], rbx
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov ecx, 1
xor edx, edx
mov r8, rbp
lea r9, [rsp + 0x358]
call sub.ws2_32.dll_select
lea r13, str.connection_timed_out
test eax, eax
je 0x1402c7592
cmp eax, 0xffffffff
jne 0x1402c7582
call sub.ws2_32.dll_WSAGetLastError
mov r14d, eax
shl r14, 0x20
or r14, 2
lea rcx, [rsp + 0x60]
call fcn.140263f60
mov r13, r14
mov rcx, rbx
call fcn.14030025c
mov rbx, r13
mov r12, qword [rsp + 0x1b0]
mov r14, qword [rsp + 0x1b8]
lea rcx, [rsp + 0x58]
call fcn.140021818
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x38], rbx
mov rsi, r12
jmp 0x1402c6f77
mov rax, r13
shr rax, 0x20
cmp eax, 0x28
ja case.default.0x1402c7579
lea rcx, [0x1404b53f0]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
xor eax, eax
jmp 0x1402c7419
mov r12b, 1
cmp dword [rsp + 0x5d0], 1
jne 0x1402c75a6
xor r13d, r13d
lea rcx, [rsp + 0x60]
call fcn.140263f60
test r12b, r12b
je 0x1402c7524
jmp 0x1402c7832
and dword [rsp + 0x40], 0
mov dword [rsp + 0x70], 4
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov rcx, rbx
mov edx, 0xffff
mov r8d, 0x1007
lea r9, [rsp + 0x40]
call sub.ws2_32.dll_getsockopt
cmp eax, 0xffffffff
je 0x1402c7507
mov r14d, dword [rsp + 0x40]
test r14d, r14d
test byte [rdi], 0x85
and edi, edi
invalid
invalid
test byte [rdi], 0x85
and edi, edi
invalid
jmp 0x1402c758f
mov al, 0x29
jmp 0x1402c7419
invalid
invalid
invalid
mov al, 1
jmp 0x1402c7419
invalid
invalid
invalid
mov al, 2
jmp 0x1402c7419
invalid
invalid
invalid
mov al, 3
jmp 0x1402c7419
invalid
invalid
invalid
mov al, 4
jmp 0x1402c7419
invalid
invalid
invalid
mov al, 5
jmp 0x1402c7419
invalid
invalid
invalid
mov al, 6
jmp 0x1402c7419
invalid
invalid
invalid
mov al, 7
jmp 0x1402c7419
invalid
invalid
invalid
mov al, 8
jmp 0x1402c7419
invalid
invalid
invalid
mov al, 9
jmp 0x1402c7419
invalid
invalid
invalid
mov al, 0xa
jmp 0x1402c7419
invalid
invalid
invalid
mov al, 0xb
jmp 0x1402c7419
invalid
invalid
invalid
mov al, 0xc
jmp 0x1402c7419
invalid
invalid
invalid
mov al, 0xd
jmp 0x1402c7419
invalid
invalid
invalid
mov al, 0xe
jmp 0x1402c7419
invalid
invalid
invalid
mov al, 0xf
jmp 0x1402c7419
invalid
invalid
invalid
mov al, 0x10
jmp 0x1402c7419
invalid
invalid
invalid
mov al, 0x11
jmp 0x1402c7419
invalid
invalid
invalid
mov al, 0x12
jmp 0x1402c7419
invalid
invalid
invalid
mov al, 0x13
jmp 0x1402c7419
invalid
invalid
invalid
mov al, 0x14
jmp 0x1402c7419
invalid
invalid
invalid
mov al, 0x15
jmp 0x1402c7419
invalid
invalid
invalid
mov al, 0x16
jmp 0x1402c7419
invalid
invalid
invalid
mov al, 0x17
jmp 0x1402c7419
invalid
invalid
invalid
mov al, 0x18
jmp 0x1402c7419
invalid
invalid
invalid
mov al, 0x19
jmp 0x1402c7419
invalid
invalid
invalid
mov al, 0x1a
jmp 0x1402c7419
invalid
invalid
invalid
mov al, 0x1b
jmp 0x1402c7419
invalid
invalid
invalid
mov al, 0x1c
jmp 0x1402c7419
invalid
invalid
invalid
mov al, 0x1d
jmp 0x1402c7419
invalid
invalid
invalid
mov al, 0x1e
jmp 0x1402c7419
invalid
invalid
invalid
mov al, 0x1f
jmp 0x1402c7419
invalid
invalid
invalid
mov al, 0x20
jmp 0x1402c7419
invalid
invalid
invalid
mov al, 0x21
jmp 0x1402c7419
invalid
invalid
invalid
mov al, 0x22
jmp 0x1402c7419
invalid
invalid
invalid
mov al, 0x23
jmp 0x1402c7419
invalid
invalid
invalid
mov al, 0x24
jmp 0x1402c7419
invalid
invalid
invalid
mov al, 0x25
jmp 0x1402c7419
invalid
invalid
invalid
mov al, 0x26
jmp 0x1402c7419
mov al, 0x27
jmp 0x1402c7419
mov al, 0x28
jmp 0x1402c7419
lea rax, [rsp + 0x5d0]
lea rcx, str.No_ip_address_for
lea rbx, [rsp + 0x358]
mov qword [rbx], rcx
mov ecx, 1
mov qword [rbx + 8], rcx
and qword [rbx + 0x20], 0
mov qword [rax], r15
mov qword [rax + 8], r13
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rcx
lea r14, [rsp + 0x7d8]
mov rcx, r14
mov rdx, rbx
call fcn.1402bf734
vmovups xmm0, xmmword [r14]
vmovups xmmword [rbx + 0x54], xmm0
mov rax, qword [r14 + 0x10]
mov qword [rbx + 0x64], rax
mov eax, 2
mov dword [r12], eax
mov dword [r12 + 8], eax
vmovups ymm0, ymmword [rbx]
vmovups ymm1, ymmword [rbx + 0x20]
vmovups ymm2, ymmword [rbx + 0x40]
mov rax, qword [rbx + 0x4c]
vmovups xmm3, xmmword [rbx + 0x54]
mov rcx, qword [rbx + 0x64]
vmovups ymmword [r12 + 0xc], ymm0
vmovups ymmword [r12 + 0x2c], ymm1
vmovups ymmword [r12 + 0x4c], ymm2
mov qword [r12 + 0x58], rax
vmovups xmmword [r12 + 0x60], xmm3
mov qword [r12 + 0x70], rcx
and qword [r12 + 0x78], 0
mov byte [r12 + 0x88], 2
mov rcx, rsi
mov rdx, rdi
vzeroupper
call fcn.140262e9b
jmp 0x1402c79ca
lea rdx, [rsp + 0x5f0]
mov edi, dword [rdx - 0x1c]
vmovups xmm6, xmmword [rdx - 0x18]
mov rbx, qword [rdx - 8]
lea rcx, [r12 + 0x20]
mov r8d, 0xf0
call sub.msvcrt.dll_memcpy
mov dword [r12 + 4], edi
vmovups xmmword [r12 + 8], xmm6
mov qword [r12 + 0x18], rbx
mov dword [r12], esi
lea rcx, [rsp + 0xe0]
call fcn.1402bb41a
jmp 0x1402c79ca
lea rcx, [rsp + 0x60]
call fcn.140021818
mov rbx, rsi
movzx r13d, word [rsp + 0x250]
lea rax, [rsp + 0x252]
vmovups xmm0, xmmword [rax]
vmovups xmm1, xmmword [rax + 0xe]
vmovaps xmmword [rsp + 0xe0], xmm0
vmovups xmmword [rsp + 0xee], xmm1
jmp 0x1402c7860
lea rsi, [rsp + 0x1a0]
mov rcx, rsi
call fcn.1402b6b4c
cmp r13w, 2
jne 0x1402c78f2
mov rsi, qword [rsp + 0x38]
test rsi, rsi
je 0x1402c817a
mov ecx, 0xd
xor edx, edx
call fcn.14012debe
movabs rcx, 0x207463656e6e6f43
mov qword [rax], rcx
movabs rcx, 0x726f727265207463
mov qword [rax + 5], rcx
mov ecx, 2
lea r8, [rsp + 0x358]
mov dword [r8 + 8], ecx
mov qword [r8 + 0x60], rax
mov qword [r8 + 0x68], rdx
mov qword [r8 + 0x70], 0xd
and qword [r8 + 0x78], 0
mov byte [r8 + 0x88], 4
mov dword [r8], ecx
mov rcx, qword [rsp + 0x30]
mov rdx, r8
mov r8, rsi
call fcn.1402c0542
jmp 0x1402c79ca
vmovups xmm0, xmmword [rsp + 0xee]
vmovups xmmword [rsp + 0x13e], xmm0
vmovaps xmm0, xmmword [rsp + 0xe0]
vmovaps xmmword [rsp + 0x130], xmm0
lea rcx, [rsp + 0x40]
mov qword [rcx], rbx
mov rax, qword [rsp + 0x98]
mov dl, byte [rax + 0xcd]
call fcn.14028c800
test rax, rax
je 0x1402c7954
mov rcx, qword [rsp + 0x30]
mov rdx, rax
call fcn.1402c07bb
mov rsi, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call fcn.14030025c
jmp 0x1402c79bb
mov rax, qword [rsp + 0x90]
mov edi, dword [rax + 0x60]
cmp edi, 0x3b9aca00
jne 0x1402c7a09
mov rdi, qword [rsp + 0x98]
mov rdx, qword [rdi + 0x20]
mov r8d, dword [rdi + 0x28]
lea rcx, [rsp + 0x40]
call fcn.14028c6a0
test rax, rax
jne 0x1402c7936
mov rdx, qword [rdi + 0x30]
mov r8d, dword [rdi + 0x38]
jmp 0x1402c7a8a
mov rdx, qword [rsp + 0x358]
mov rcx, qword [rsp + 0x30]
call fcn.1402c07bb
lea rcx, [rsp + 0x1a0]
call fcn.1402b6b4c
mov rsi, qword [rsp + 0x38]
test rsi, rsi
je 0x1402c79ca
lea rcx, [rsp + 0x58]
call fcn.14002276f
mov rcx, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0xa8]
call fcn.1402d9fc7
lea rcx, [rsp + 0x150]
call fcn.1402b7785
vmovaps xmm6, xmmword [rsp + 0x9f0]
add rsp, 0xa08
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r14, qword [rax + 0x58]
lea r12, [rsp + 0x358]
mov rcx, r12
mov rdx, r14
mov r8d, edi
call fcn.1402b7a1b
mov r8d, dword [r12 + 8]
cmp r8d, 0x3b9aca00
jne 0x1402c7a43
mov rdx, qword [rsp + 0x358]
mov rcx, qword [rsp + 0x30]
jmp 0x1402c793e
mov rdx, qword [rsp + 0x358]
lea rcx, [rsp + 0x40]
call fcn.14028c6a0
test rax, rax
jne 0x1402c7936
lea r12, [rsp + 0x358]
mov rcx, r12
mov rdx, r14
mov r8d, edi
call fcn.1402b7a1b
mov r8d, dword [r12 + 8]
cmp r8d, 0x3b9aca00
je 0x1402c7a31
mov rdx, qword [rsp + 0x358]
lea rcx, [rsp + 0x40]
call fcn.14028c750
test rax, rax
jne 0x1402c7936
cmp dword [rsp + 0x54], 0
je 0x1402c7ae3
vmovups xmm0, xmmword [rsp + 0x13e]
mov rax, qword [rsp + 0x30]
vmovups xmmword [rax + 0x20], xmm0
vmovaps xmm0, xmmword [rsp + 0x130]
vmovups xmmword [rax + 0x12], xmm0
mov qword [rax + 8], rbx
mov word [rax + 0x10], r13w
mov dword [rax], 3
lea rcx, [rsp + 0x58]
call fcn.140021818
jmp 0x1402c79ca
mov rcx, qword [rsp + 0x90]
call fcn.1402b745c
lea r8, [0x1405fecf7]
mov r9d, 5
mov rcx, rax
call fcn.1402d324e
test al, al
je 0x1402c7aa4
cmp byte [rsp + 0x19c], 4
je 0x1402c7aa4
mov r14, qword [rsp + 0xc0]
mov r12, qword [rsp + 0xc8]
movzx eax, word [rsp + 0xa70]
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rdx + 0xa0]
mov rdx, qword [rdx + 0xb0]
mov word [rsp + 0x52], ax
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], rdx
cmp qword [rsp + 0x168], 0
je 0x1402c7bb0
cmp qword [rsp + 0x180], 0
je 0x1402c7bb0
lea rdx, [rsp + 0x168]
lea rdi, [rsp + 0x180]
lea rbx, [rsp + 0x358]
mov rcx, rbx
call fcn.140124b75
cmp qword [rbx], 0
je 0x1402c7bda
mov rax, qword [rsp + 0x368]
mov qword [rsp + 0x1b0], rax
vmovups xmm0, xmmword [rsp + 0x358]
vmovaps xmmword [rsp + 0x1a0], xmm0
jmp 0x1402c7bf3
mov qword [rsp + 0x250], 1
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x258], xmm0
mov r15, qword [rsp + 0x30]
lea rbx, [fcn.1402d7b2a]
jmp 0x1402c7d6a
mov qword [rsp + 0x1a0], 1
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x1a8], xmm0
lea rbx, [rsp + 0x358]
mov rcx, rbx
mov rdx, rdi
call fcn.140124b75
cmp qword [rbx], 0
je 0x1402c7c30
mov rax, qword [rsp + 0x368]
mov qword [rsp + 0x260], rax
vmovups xmm0, xmmword [rsp + 0x358]
vmovaps xmmword [rsp + 0x250], xmm0
jmp 0x1402c7c49
mov qword [rsp + 0x250], 1
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x258], xmm0
lea rdi, [rsp + 0x5d0]
mov qword [rdi], rsi
lea r15, [fcn.140031e97]
mov qword [rdi + 8], r15
lea rax, str.failed_to_write_whole_buffer
lea rdx, [rsp + 0x358]
mov qword [rdx], rax
mov eax, 2
mov qword [rdx + 8], rax
and qword [rdx + 0x20], 0
lea rcx, [rsp + 0x250]
mov qword [rdi + 0x10], rcx
mov qword [rdi + 0x18], r15
mov qword [rdx + 0x10], rbp
mov qword [rdx + 0x18], rax
lea rbx, [rsp + 0x100]
mov rcx, rbx
call fcn.1402bf734
mov rcx, qword [rsp + 0x250]
mov rdx, qword [rsp + 0x258]
call fcn.1402d9fc7
mov rcx, qword [rsp + 0x1a0]
mov rdx, qword [rsp + 0x1a8]
call fcn.1402d9fc7
mov rcx, rdi
mov rdx, rbx
call fcn.1402c8299
cmp byte [rsp + 0x19c], 0
je 0x1402c7d01
mov qword [rsp + 0x250], 1
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x258], xmm0
jmp 0x1402c7d49
lea rax, str.Proxy_Authorization:_basic
lea rdx, [rsp + 0x358]
mov qword [rdx], rax
mov qword [rdx + 8], 2
and qword [rdx + 0x20], 0
mov qword [rsp + 0x1a0], rdi
mov qword [rsp + 0x1a8], r15
mov qword [rdx + 0x10], rsi
mov qword [rdx + 0x18], 1
lea rcx, [rsp + 0x250]
call fcn.1402bf734
mov r15, qword [rsp + 0x30]
lea rbx, [fcn.1402d7b2a]
mov rcx, qword [rsp + 0x5d0]
mov rdx, qword [rsp + 0x5d8]
call fcn.1402d9fc7
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x80], r14
mov qword [rsp + 0x88], r12
lea rdi, [rsp + 0x358]
lea rax, [rsp + 0x60]
mov qword [rdi], rax
mov qword [rdi + 8], rbx
lea rax, [rsp + 0x52]
mov qword [rdi + 0x10], rax
lea rcx, [fcn.1400bade0]
mov qword [rdi + 0x18], rcx
lea rdx, [rsp + 0x80]
mov qword [rdi + 0x20], rdx
mov qword [rdi + 0x28], rbx
mov qword [rdi + 0x30], rax
mov qword [rdi + 0x38], rcx
lea rax, [rsp + 0x70]
mov qword [rdi + 0x40], rax
mov qword [rdi + 0x48], rbx
lea rax, [rsp + 0x250]
mov qword [rdi + 0x50], rax
lea rax, str.CONNECT__HTTP_1.1_r_nHost:__r_nUser_Agent:__r_nProxy_Connection:_Keep_Alive_r_n
lea rbx, [rsp + 0x5d0]
mov qword [rbx], rax
mov qword [rbx + 8], 7
and qword [rbx + 0x20], 0
lea r14, [fcn.140031e97]
mov qword [rdi + 0x58], r14
lea rax, [rsp + 0x358]
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], 6
mov rcx, rsi
mov rdx, rbx
call fcn.1402bf734
mov rcx, qword [rsp + 0x250]
mov rdx, qword [rsp + 0x258]
call fcn.1402d9fc7
lea rax, str.failed_to_write_whole_buffer
mov qword [rdi], rax
mov eax, 1
mov qword [rdi + 8], rax
and qword [rdi + 0x20], 0
mov qword [rbx], rsi
mov qword [rbx + 8], r14
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], rax
lea rsi, [rsp + 0x40]
mov rcx, rsi
mov rdx, rdi
call fcn.1402becad
lea rdx, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_ureq_2.8.0_src_stream.rstimed_out_reading_response
mov rcx, rax
call fcn.1402c4ce3
mov rcx, qword [rsp + 0x1a0]
mov rdx, qword [rsp + 0x1a8]
call fcn.1402d9fc7
mov rsi, qword [rsi]
cmp rsi, 0xffffffffffffffff
je 0x1402c8194
lea rdi, [rsp + 0x358]
mov r8d, 0x274
mov rcx, rdi
xor edx, edx
call sub.msvcrt.dll_memset
call sub.KERNEL32.dll_GetCurrentProcessId
mov rcx, rsi
mov edx, eax
mov r8, rdi
call sub.ws2_32.dll_WSADuplicateSocketW
cmp eax, 0xffffffff
je 0x1402c80f3
lea r9, [rsp + 0x358]
mov ecx, dword [r9 + 0x4c]
mov edx, dword [r9 + 0x58]
mov r8d, dword [r9 + 0x5c]
mov dword [rsp + 0x28], 0x81
and dword [rsp + 0x20], 0
call sub.ws2_32.dll_WSASocketW
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1402c8086
mov r14, qword [rsp + 0x90]
mov rcx, r14
call fcn.1402b745c
mov r8, rdx
mov r9, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xc8]
movzx edx, word [rsp + 0xa70]
lea rdi, [rsp + 0x7f8]
mov word [rsp + 0x28], dx
mov qword [rsp + 0x20], rcx
lea rbx, [rsp + 0x880]
mov rcx, rbx
mov rdx, rax
call fcn.1402c6b86
mov rcx, qword [rsp + 0x128]
call fcn.1402bf0ac
mov qword [rdi - 8], rax
mov r8d, 0x88
mov rcx, rdi
mov rdx, rbx
call sub.msvcrt.dll_memcpy
lea r8, [rsp + 0x358]
mov word [r8], r13w
vmovaps xmm0, xmmword [rsp + 0x130]
vmovups xmmword [r8 + 2], xmm0
vmovups xmm0, xmmword [rsp + 0x13e]
vmovups xmmword [r8 + 0x10], xmm0
lea rdi, [rsp + 0x908]
lea r9, [rsp + 0x7f0]
mov rcx, rdi
mov rdx, rsi
call fcn.1402c81be
lea rsi, [rsp + 0x1a0]
mov rcx, rsi
mov rdx, r14
call fcn.1402c4d18
lea rbx, [rsp + 0x358]
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
call fcn.1402c4e74
mov edi, dword [rbx]
cmp edi, 3
jne 0x1402c810d
lea rdx, [rsp + 0x360]
lea rsi, [rsp + 0x5d4]
mov r8d, 0x108
mov rcx, rsi
call sub.msvcrt.dll_memcpy
lea rdi, [rsp + 0x250]
mov r8d, 0x108
mov rcx, rdi
mov rdx, rsi
call sub.msvcrt.dll_memcpy
movzx ecx, word [rdi + 0x100]
cmp ecx, 0xc8
je 0x1402c8145
cmp ecx, 0x197
mov rsi, qword [rsp + 0x38]
je 0x1402c8055
mov al, 0xa
cmp ecx, 0x191
jne 0x1402c8057
mov al, 0xb
mov ecx, 2
mov dword [r15], ecx
mov dword [r15 + 8], ecx
and qword [r15 + 0x60], 0
and qword [r15 + 0x78], 0
mov byte [r15 + 0x88], al
lea rcx, [rsp + 0x250]
call fcn.1402b7587
jmp 0x1402c7948
call sub.ws2_32.dll_WSAGetLastError
cmp eax, 0x2739
je 0x1402c809b
mov edi, eax
cmp eax, 0x2726
jne 0x1402c80fa
lea r9, [rsp + 0x358]
mov ecx, dword [r9 + 0x4c]
mov edx, dword [r9 + 0x58]
mov r8d, dword [r9 + 0x5c]
mov dword [rsp + 0x28], 1
and dword [rsp + 0x20], 0
call sub.ws2_32.dll_WSASocketW
cmp rax, 0xffffffffffffffff
je 0x1402c80f3
mov rsi, rax
mov rcx, rax
mov edx, 1
xor r8d, r8d
call sub.KERNEL32.dll_SetHandleInformation
test eax, eax
jne 0x1402c7f09
call sub.KERNEL32.dll_GetLastError
mov edi, eax
mov rcx, rsi
call fcn.14030025c
jmp 0x1402c80fa
call sub.ws2_32.dll_WSAGetLastError
mov edi, eax
shl rdi, 0x20
or rdi, 2
mov rcx, r15
mov rdx, rdi
jmp 0x1402c793e
lea rdx, [rsp + 0x35c]
lea rsi, [rsp + 0x5d0]
mov r8d, 0x10c
mov rcx, rsi
call sub.msvcrt.dll_memcpy
lea rcx, [r15 + 4]
mov r8d, 0x10c
mov rdx, rsi
call sub.msvcrt.dll_memcpy
mov dword [r15], edi
jmp 0x1402c7943
lea rcx, [rsp + 0x250]
call fcn.1402b7587
mov rbx, qword [rsp + 0x40]
jmp 0x1402c7aa4
lea rcx, str.called__Option::unwrap____on_a__None__valueinvalid_type:___expected
lea r8, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_ureq_2.8.0_src_stream.rstimed_out_reading_response
mov edx, 0x2b
call fcn.1400b45f0
ud2
ud2
lea rcx, [0x1405ece6d]
lea r8, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_ureq_2.8.0_src_stream.rstimed_out_reading_response
mov edx, 0x3c
call fcn.14021b055
ud2
lea rcx, [0x1405bd94e]
lea r8, [0x1405bd9b8]
mov edx, 0x3f
jmp 0x1402c816f