Function at 0x140062e38
Capabilities:
Set socket configuration

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x358
mov r14, rdx
movzx eax, byte [rdx + 0x388]
test eax, eax
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x110], r8
je 0x140062e8d
cmp eax, 3
jne case.default.0x140062e8b
mov r15, r8
lea r12, [r14 + 0x1d8]
movzx eax, byte [r14 + 0x270]
lea rcx, [0x1400638c0]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov rax, qword [r14]
mov rcx, qword [r14 + 8]
mov qword [r14 + 0x10], rax
mov qword [r14 + 0x18], rcx
and qword [r14 + 0x20], 0
mov qword [r14 + 0x40], rax
jmp 0x14006315c
lea rcx, str._async_fn__resumed_after_completionunable_to_find_any_user_specified_roots_in_the_final_cert_chainC:Users_tuxis.cargo_registry_srcgithub.com_1ecc6299db9ec823_tokio_util_0.7.7_srclib.rs
lea r8, str.C:Users_tuxis.cargo_registry_srcgithub.com_1ecc6299db9ec823hyper_0.14.25_srcclientconnecthttp.rs
jmp 0x140063014
ud2
lea rsi, [r14 + 0x278]
call fcn.1400d01e4
mov ebx, eax
lea rdi, [rsp + 0x148]
mov rcx, rdi
mov rdx, rsi
mov r8, r15
call fcn.1400638d4
mov rbp, qword [rdi + 0x10]
cmp rbp, 3
jne 0x140062fa1
lea rdi, [r14 + 0x2f8]
cmp bl, 2
setne bpl
test bl, 1
sete bl
call fcn.1400d01e4
test bpl, bl
jne 0x140062fec
cmp al, 2
je 0x140062fec
and al, 1
jne 0x140062fec
xor ecx, ecx
call fcn.1400cd36c
mov bpl, 2
test rax, rax
je 0x140062f3e
mov bpl, byte [rax + 0x59]
mov r13b, byte [rax + 0x5a]
mov byte [rax + 0x59], 0
mov rcx, rdi
mov rdx, r15
call fcn.1400d263b
mov ebx, eax
mov ecx, ebp
mov edx, r13d
call fcn.1400d028e
test bl, bl
jne 0x140062fff
movaps xmm0, xmmword [rsp + 0x1f0]
movaps xmmword [rsp + 0x50], xmm0
mov rcx, rsi
call fcn.140062d13
mov edx, 1
xor ecx, ecx
call fcn.14003b787
lea r8, [0x140115840]
mov cl, 0x16
mov rdx, rax
call fcn.1400b1dd0
mov rdi, rax
mov ebp, 2
mov rbx, qword [rsp + 0x120]
jmp 0x140062fdf
mov rdi, qword [rsp + 0x148]
mov rbx, qword [rsp + 0x150]
movups xmm0, xmmword [rsp + 0x160]
movaps xmmword [rsp + 0x50], xmm0
mov rcx, rsi
call fcn.140062d13
cmp ebp, 2
jne 0x140062fd2
mov ebp, 2
jmp 0x140062fdf
movaps xmm0, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0xd0], xmm0
mov qword [rsp + 0x120], rbx
jmp 0x140063089
mov rcx, rdi
mov rdx, r15
call fcn.1400d263b
test al, al
je 0x140062f5d
mov al, 3
jmp 0x14006376b
lea rcx, str._async_fn__resumed_after_completionunable_to_find_any_user_specified_roots_in_the_final_cert_chainC:Users_tuxis.cargo_registry_srcgithub.com_1ecc6299db9ec823_tokio_util_0.7.7_srclib.rs
lea r8, str.C:Users_tuxis.cargo_registry_srcgithub.com_1ecc6299db9ec823hyper_0.14.25_srcclientconnecthttp.rs
mov edx, 0x23
call fcn.1400e34e0
ud2
lea rsi, [r14 + 0x1f0]
lea rdi, [r14 + 0x278]
mov ecx, 0x10
rep movsq qword [rdi], qword [rsi]
lea rsi, [r14 + 0x278]
lea rdi, [rsp + 0x260]
mov rcx, rdi
mov rdx, rsi
mov r8, r15
call fcn.1400638d4
mov rbp, qword [rdi + 0x10]
cmp rbp, 3
je 0x140063769
mov rdi, qword [rsp + 0x260]
mov rbx, qword [rsp + 0x268]
movups xmm0, xmmword [rsp + 0x278]
movaps xmmword [rsp + 0xd0], xmm0
mov rcx, rsi
call fcn.140062d31
cmp ebp, 2
jne 0x1400630aa
lea rcx, [rsp + 0x78]
lea rdx, [0x140117e0b]
mov r8d, 0x11
mov r9, rdi
call fcn.14004897d
jmp 0x1400630cf
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x88], rbp
movaps xmm0, xmmword [rsp + 0xd0]
movups xmmword [rsp + 0x90], xmm0
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x90]
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0xe8], rcx
mov qword [rsp + 0xf0], rdx
mov qword [rsp + 0xf8], rbx
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x100], rax
mov byte [r14 + 0x270], 1
mov rcx, r12
call fcn.140062cd1
cmp ebp, 2
jne 0x1400636f9
lea rcx, [r14 + 0x20]
call fcn.140062d08
movaps xmm0, xmmword [rsp + 0xe0]
movaps xmm1, xmmword [rsp + 0xf0]
movups xmmword [r14 + 0x30], xmm1
movups xmmword [r14 + 0x20], xmm0
mov rax, qword [r14 + 0x40]
mov rcx, qword [rax + 0x10]
cmp rcx, qword [rax + 0x18]
je 0x1400636ce
lea rdx, [rcx + 0x20]
mov qword [rax + 0x10], rdx
movzx eax, word [rcx]
movups xmm0, xmmword [rcx + 0x10]
movups xmmword [rsp + 0x1de], xmm0
movups xmm0, xmmword [rcx + 2]
movaps xmmword [rsp + 0x1d0], xmm0
cmp ax, 2
je 0x1400636ce
lea rbp, [r14 + 0x368]
mov word [r14 + 0x368], ax
movaps xmm0, xmmword [rsp + 0x1d0]
movups xmmword [r14 + 0x36a], xmm0
movups xmm0, xmmword [rsp + 0x1de]
movups xmmword [r14 + 0x378], xmm0
mov rcx, qword [r14 + 0x10]
mov rbx, qword [r14 + 0x18]
mov rdi, qword [rcx + 0x20]
mov r13, qword [rcx + 0x28]
mov r15, qword [rcx + 0x30]
test ax, ax
mov eax, 2
mov esi, 0x17
cmove esi, eax
mov rax, qword [0x140158178]
cmp rax, 3
jne 0x140063730
mov dword [rsp + 0x28], 0x81
and dword [rsp + 0x20], 0
mov ecx, esi
mov edx, 1
mov r8d, 6
xor r9d, r9d
call sub.ws2_32.dll_WSASocketW
mov r12, rax
cmp rax, 0xffffffffffffffff
jne 0x14006325f
call fcn.14004cfd9
lea rdx, str.tcp_open_errortcp_set_nonblocking_errortcp_bind_local_error
lea rsi, [rsp + 0x148]
mov r8d, 0xe
mov rcx, rsi
mov r9, rax
call fcn.14004897d
mov rax, qword [rsi]
test rax, rax
jne 0x140063806
mov r12, qword [rsp + 0x150]
mov qword [rsp + 0x118], rdi
lea rsi, [rsp + 0x70]
mov dword [rsi], 1
mov rcx, r12
mov edx, 0x8004667e
mov r8, rsi
call qword [sym.imp.ws2_32.dll_ioctlsocket]
xor edx, edx
cmp eax, 0xffffffff
jne 0x140063292
call fcn.14004cfd9
mov rdx, rax
lea r8, [0x140104036]
lea rdi, [rsp + 0x148]
mov r9d, 0x19
mov rcx, rdi
call fcn.140048b71
mov rdi, qword [rdi]
test rdi, rdi
jne 0x140063789
cmp dword [rbx + 0x30], 1
jne 0x14006338f
mov qword [rsp + 0x68], rbp
mov rbp, qword [rbx + 0x38]
mov edi, dword [rbx + 0x40]
mov rcx, r12
mov edx, 8
mov r8d, 1
call fcn.1400a7a9c
test rax, rax
je 0x1400632fe
lea rcx, [rsp + 0x148]
mov qword [rcx], rax
call fcn.1400428cc
jmp 0x14006338a
mov ecx, 0x3e8
mov rax, rbp
mul rcx
mov r8, rax
mov rbp, rdx
xor ecx, ecx
mov r9d, 0xf4240
mov eax, edi
xor edx, edx
div r9d
add rax, r8
adc rbp, 0
mov edx, 0xffffffff
cmp rax, rdx
cmovae rax, rdx
neg rbp
sbb ecx, ecx
or ecx, eax
lea r8, [rsp + 0x148]
mov dword [r8], 1
mov dword [r8 + 4], ecx
and dword [r8 + 8], 0
and dword [rsp + 0x70], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
and dword [rsp + 0x28], 0
mov qword [rsp + 0x30], rsi
and qword [rsp + 0x20], 0
mov rcx, r12
mov edx, 0x98000004
mov r9d, 0xc
call qword [sym.imp.ws2_32.dll_WSAIoctl]
cmp eax, 0xffffffff
je 0x1400636c4
mov rbp, qword [rsp + 0x68]
cmp word [rbp], 0
je 0x1400633ba
cmp byte [rbx + 0x6e], 0
je 0x1400633e0
movups xmm0, xmmword [rbx + 0x6f]
lea rdx, [rsp + 0x70]
movups xmmword [rdx + 0xe], xmm0
and qword [rdx + 4], 0
and word [rdx + 0xc], 0
mov word [rdx], 1
jmp 0x14006341f
cmp byte [rbx + 0x69], 0
je 0x1400633ec
mov eax, dword [rbx + 0x6a]
mov rcx, rax
shl rcx, 0x10
shr rax, 0x10
lea rdx, [rsp + 0x70]
mov word [rdx + 6], ax
mov dword [rdx + 2], ecx
and word [rdx], 0
jmp 0x14006341f
and qword [rsp + 0x52], 0
mov ax, 1
jmp 0x1400633f9
and word [rsp + 0x54], 0
and dword [rsp + 0x50], 0
xor eax, eax
lea rdx, [rsp + 0x70]
mov word [rdx], ax
mov rax, qword [rsp + 0x50]
mov qword [rdx + 2], rax
movzx eax, word [rsp + 0x58]
mov word [rdx + 0xa], ax
xorps xmm0, xmm0
movups xmmword [rdx + 0xc], xmm0
and word [rdx + 0x1c], 0
lea rsi, [rsp + 0x148]
mov rcx, rsi
call fcn.1400d1d6f
mov rcx, r12
mov rdx, rsi
call fcn.1400a7a77
mov rdx, rax
lea r8, [0x14010404f]
lea rsi, [rsp + 0x128]
mov r9d, 0x14
mov rcx, rsi
call fcn.140048b71
mov rdi, qword [rsi]
test rdi, rdi
jne 0x1400637a3
cmp byte [rbx + 0x80], 0
je 0x140063497
mov rcx, r12
mov edx, 4
mov r8d, 1
call fcn.1400a7a9c
test rax, rax
je 0x140063497
lea rcx, [rsp + 0x148]
mov qword [rcx], rax
call fcn.1400428cc
cmp dword [rbx + 0x48], 1
jne 0x1400634d0
mov rax, qword [rbx + 0x50]
mov r8d, 0xffffffff
cmp rax, r8
cmovb r8, rax
mov rcx, r12
mov edx, 0x1001
call fcn.1400a7a9c
test rax, rax
je 0x1400634d0
lea rcx, [rsp + 0x148]
mov qword [rcx], rax
call fcn.1400428cc
cmp dword [rbx + 0x58], 1
jne 0x140063509
mov rax, qword [rbx + 0x60]
mov r8d, 0xffffffff
cmp rax, r8
cmovb r8, rax
mov rcx, r12
mov edx, 0x1002
call fcn.1400a7a9c
test rax, rax
je 0x140063509
lea rcx, [rsp + 0x148]
mov qword [rcx], rax
call fcn.1400428cc
movups xmm0, xmmword [rbp]
movups xmm1, xmmword [rbp + 0x10]
lea rsi, [rsp + 0x148]
movups xmmword [rsi + 0x58], xmm1
movups xmmword [rsi + 0x48], xmm0
lea rdi, [rsp + 0x1f0]
mov ecx, 0xd
rep movsq qword [rdi], qword [rsi]
mov rax, qword [rsp + 0x118]
cmp rax, 2
je case.default.0x1400635ea
mov rcx, r13
lea r13, [r14 + 0x48]
mov qword [r14 + 0x48], rax
mov qword [r14 + 0x50], rcx
mov qword [r14 + 0x58], r15
mov qword [r14 + 0x60], r12
lea rdi, [r14 + 0x70]
lea rsi, [rsp + 0x1f0]
mov ecx, 0xd
rep movsq qword [rdi], qword [rsi]
xor eax, eax
mov byte [r14 + 0xd8], al
mov ecx, dword [rsp + 0xd0]
mov edx, dword [rsp + 0xd3]
mov dword [r14 + 0xd9], ecx
mov dword [r14 + 0xdc], edx
mov byte [r14 + 0xe0], al
lea rcx, [r14 + 0xe1]
lea rdx, [rsp + 0x260]
mov r8d, 0xf7
call sub.VCRUNTIME140.dll_memcpy
lea r12, [r14 + 0x1d8]
mov r8d, 0x190
mov rcx, r12
mov rdx, r13
call sub.VCRUNTIME140.dll_memcpy
movzx eax, byte [r14 + 0x270]
lea rcx, [0x1400638c0]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
mov r15, qword [rsp + 0x110]
jmp rax
cmp qword [r12], 0
je 0x140063020
mov rbx, qword [r14 + 0x1e0]
mov ebp, dword [r14 + 0x1e8]
lea rsi, [r14 + 0x1f0]
lea rdi, [rsp + 0x148]
mov ecx, 0x10
rep movsq qword [rdi], qword [rsi]
lea r13, [r14 + 0x278]
call fcn.1400c1e40
mov r8d, edx
mov dword [rsp + 0x20], ebp
lea rsi, [rsp + 0x128]
mov rcx, rsi
mov rdx, rax
mov r9, rbx
call fcn.1400d6b7c
cmp qword [rsi], 0
je 0x140063671
mov rdx, qword [rsp + 0x130]
mov r8d, dword [rsp + 0x138]
lea r9, str.C:Users_tuxis.cargo_registry_srcgithub.com_1ecc6299db9ec823hyper_0.14.25_srcclientconnecthttp.rs
lea rcx, [rsp + 0x1f0]
call fcn.1400d6bd3
jmp 0x14006367e
lea rcx, [rsp + 0x1f0]
call fcn.1400d6d0c
lea rdx, [rsp + 0x260]
lea rsi, [rsp + 0x148]
mov ecx, 0x10
mov rdi, rdx
rep movsq qword [rdi], qword [rsi]
lea rdi, [rsp + 0x2e0]
lea rsi, [rsp + 0x1f0]
mov ecx, 0xe
rep movsq qword [rdi], qword [rsi]
mov r8d, pe_nt_image_headers64
mov rcx, r13
call sub.VCRUNTIME140.dll_memcpy
jmp case.0x140062e8b.3
call fcn.14004cfd9
jmp 0x1400632e9
cmp qword [r14 + 0x20], 0
je 0x1400637ce
lea rax, [r14 + 0x20]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rsp + 0xb0], xmm1
movaps xmmword [rsp + 0xa0], xmm0
jmp 0x1400637ff
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0xc0], rax
movaps xmm0, xmmword [rsp + 0xe0]
movaps xmm1, xmmword [rsp + 0xf0]
movaps xmmword [rsp + 0xb0], xmm1
movaps xmmword [rsp + 0xa0], xmm0
xor esi, esi
jmp 0x14006386e
lea rax, [rsp + 0x128]
mov byte [rax], 1
lea r8, [rsp + 0x70]
mov qword [r8], rax
lea rax, str.C:Users_tuxis.cargo_registry_srcgithub.com_1ecc6299db9ec823_socket2_0.4.9_src_syswindows.rs
mov qword [rsp + 0x20], rax
lea rcx, [0x140158178]
lea r9, [0x1401215f8]
xor edx, edx
call fcn.1400e5aa0
jmp 0x1400631fb
mov al, 4
mov byte [r14 + 0x270], al
mov byte [r14 + 0x388], 3
mov esi, 2
mov rcx, qword [rsp + 0x60]
jmp 0x1400638a8
mov r15, qword [rsp + 0x150]
mov rbx, qword [rsp + 0x158]
mov rsi, qword [rsp + 0x160]
jmp 0x1400637bb
mov r15, qword [rsp + 0x130]
mov rbx, qword [rsp + 0x138]
mov rsi, qword [rsp + 0x140]
mov rcx, r12
call qword [sym.imp.ws2_32.dll_closesocket]
mov r13, rdi
mov r12, rbx
jmp 0x140063821
jmp 0x140063821
lea rdx, str.Network_unreachabletcp_connect_error
mov r8d, 0x13
mov cl, 7
call fcn.14009c5f7
lea rdx, [0x140117e0b]
lea rcx, [rsp + 0xa0]
mov r8d, 0x11
mov r9, rax
call fcn.14004897d
mov esi, 1
jmp 0x140063877
mov r15, qword [rsp + 0x150]
mov r12, qword [rsp + 0x158]
mov rsi, qword [rsp + 0x160]
mov r13, rax
mov qword [r14 + 0x50], r13
mov qword [r14 + 0x58], r15
mov qword [r14 + 0x60], r12
mov qword [r14 + 0x68], rsi
mov qword [r14 + 0x48], 2
mov rax, qword [r14 + 0x50]
mov rcx, qword [r14 + 0x58]
mov rdx, qword [r14 + 0x60]
mov rbp, qword [r14 + 0x68]
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], rcx
mov qword [rsp + 0xb0], rdx
mov qword [rsp + 0xb8], rbp
mov esi, 1
lea rcx, [r14 + 0x20]
call fcn.140062d08
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x60]
mov qword [rcx + 0x28], rax
movaps xmm0, xmmword [rsp + 0xa0]
movaps xmm1, xmmword [rsp + 0xb0]
movups xmmword [rcx + 0x18], xmm1
movups xmmword [rcx + 8], xmm0
mov byte [r14 + 0x388], 1
mov qword [rcx], rsi
add rsp, 0x358
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret