Function at 0x1007b16a
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x1a8
call 0x1007b17e
pop eax
mov ebx, edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], eax
movzx eax, byte [edx + 0x135]
test eax, eax
je 0x1007b1b7
cmp eax, 3
jne 0x1007b1f5
lea eax, [ebx + 0xa0]
mov dword [esp + 0xc], eax
movzx eax, byte [ebx + 0xd4]
mov eax, dword [eax*4 + 0x1007b92c]
add eax, dword [esp + 0x20]
jmp eax
mov eax, dword [ebx + 0x128]
mov ecx, dword [ebx + 0x12c]
mov dl, 4
mov dword [ebx + 0x118], eax
mov dword [ebx + 0x11c], ecx
mov ecx, dword [ebx + 0x130]
mov dword [ebx + 0x120], ecx
mov cl, byte [ebx + 0x136]
mov byte [ebx + 0x134], cl
mov byte [ebx + 0x20], 4
mov dword [ebx + 0x124], eax
jmp 0x1007b207
push 0x23
pop edx
mov ecx, str._async_fn__resumed_after_completionunable_to_find_any_user_specified_roots_in_the_final_cert_chainbytes_remaining_on_streamOut_of_bounds_accesspolling_StreamFuture_twice_home_lanbyshell_.cargo_registry_src_index.crates.io_6f17d22bba15001f_futures_util_0.3.30_src_stream_stream_into_future.rs
push 0x101bb488
call dbg.panic
mov ecx, dword [eax + 8]
cmp ecx, dword [eax + 0xc]
je 0x1007b800
lea edx, [ecx + 0x20]
mov dword [eax + 8], edx
movsd xmm0, qword [ecx + 0x18]
movzx edi, word [ecx]
movsd qword [esp + 0x5e], xmm0
cmp di, 2
movsd xmm0, qword [ecx + 0x12]
movsd qword [esp + 0x58], xmm0
movsd xmm0, qword [ecx + 0xa]
movsd qword [esp + 0x50], xmm0
movsd xmm0, qword [ecx + 2]
movsd qword [esp + 0x48], xmm0
je 0x1007b7fd
mov word [ebx], di
test di, di
movsd xmm0, qword [esp + 0x48]
movsd xmm1, qword [esp + 0x50]
movsd qword [ebx + 2], xmm0
movsd qword [ebx + 0xa], xmm1
movsd xmm0, qword [esp + 0x58]
movsd qword [ebx + 0x12], xmm0
movsd xmm0, qword [esp + 0x5e]
movsd qword [ebx + 0x18], xmm0
mov eax, dword [ebx + 0x118]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0x18]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
push 2
pop eax
push 0x17
pop esi
cmove esi, eax
mov al, byte [ebx + 0x134]
mov byte [esp + 4], al
mov eax, dword [ebx + 0x11c]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x120]
mov dword [esp + 0x14], eax
mov eax, dword [0x1022a06c]
cmp eax, 3
jne 0x1007b7c8
xor eax, eax
inc eax
push eax
push 0
push 0
push 6
push eax
push esi
call sub.ws2_32.dll_WSASocketW
cmp eax, 0xffffffff
je 0x1007b83c
push 0
push 1
mov dword [esp + 8], eax
push eax
call sub.kernel32.dll_SetHandleInformation
test eax, eax
push 2
pop eax
mov dword [esp + 8], eax
je 0x1007b84c
cmp byte [esp + 4], 0
je 0x1007b33b
lea eax, [esp + 0x118]
mov dword [eax], 1
push 4
pop ecx
push ecx
push eax
push ecx
push 0xffff
push dword [esp + 0x10]
call sub.ws2_32.dll_setsockopt
test eax, eax
jne 0x1007b85f
test di, di
je 0x1007b379
mov eax, dword [esp + 0x14]
cmp byte [eax], 0
je 0x1007b3a8
movups xmm0, xmmword [eax + 1]
lea edx, [esp + 0x134]
push 0x19
pop ecx
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
movups xmmword [edx - 0x14], xmm0
and dword [edx - 4], 0
mov dword [edx - 0x1c], 0x17
and dword [edx - 0x18], 0
mov dword [edx + 0x64], 0x1c
jmp 0x1007b3e4
mov eax, dword [esp + 0x24]
cmp byte [eax], 0
je 0x1007b3b5
mov esi, dword [eax + 1]
lea edx, [esp + 0x120]
push 0x1e
pop ecx
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [edx - 8], 2
mov dword [edx - 4], esi
mov dword [edx + 0x78], 0x10
jmp 0x1007b3e4
push 0x1c
pop eax
mov si, 0x17
mov dword [esp + 4], eax
jmp 0x1007b3c0
push 0x10
pop eax
mov dword [esp + 4], eax
mov si, 2
lea edx, [esp + 0x120]
push 0x1e
pop ecx
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov word [edx - 8], si
mov eax, dword [esp + 4]
and word [edx - 6], 0
and dword [edx - 4], 0
mov dword [edx + 0x78], eax
mov edx, dword [esp]
lea eax, [esp + 0x118]
lea edi, [esp + 0x28]
mov ecx, edi
push eax
call sym.socket2::socket::Socket::bind::h8255cd0047e58667
pop eax
cmp byte [edi], 4
je 0x1007b40c
mov eax, dword [esp + 0x28]
cmp al, 4
jne 0x1007b883
movsd xmm0, qword [ebx + 0x18]
lea esi, [esp + 0x118]
movsd qword [esi + 0x1c], xmm0
movsd xmm0, qword [ebx + 0x10]
movsd qword [esi + 0x14], xmm0
movsd xmm0, qword [ebx]
movsd xmm1, qword [ebx + 8]
movsd qword [esi + 0xc], xmm1
movsd qword [esi + 4], xmm0
push 9
pop eax
lea edx, [esp + 0x68]
mov ecx, eax
mov edi, edx
rep movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0x34]
mov esi, edx
mov ecx, dword [esp + 0x18]
mov dword [ebx + 0x2c], ecx
mov ecx, dword [esp + 0xc]
mov dword [ebx + 0x28], ecx
lea ecx, [ebx + 0x28]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x1c]
mov dword [ebx + 0x30], ecx
mov ecx, eax
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0xd0]
mov eax, dword [esp]
mov dword [ebx + 0x58], eax
mov byte [ebx + 0x5c], 0
lea eax, [ebx + 0x5d]
push 0x43
push ecx
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
lea edi, [ebx + 0xa0]
push 0x1e
pop ecx
mov esi, dword [esp + 4]
mov dword [esp + 0xc], edi
rep movsd dword es:[edi], dword [esi]
movzx eax, byte [ebx + 0xd4]
mov eax, dword [eax*4 + 0x1007b92c]
add eax, dword [esp + 0x20]
jmp eax
lea eax, [esp + 0x28]
lea ecx, [esp + 0x118]
xor edx, edx
mov byte [eax], 1
mov dword [ecx], eax
mov eax, ecx
mov ecx, 0x1022a06c
push 0x101c09fc
push 0x101c0924
push eax
call dbg.call
add esp, 0xc
jmp 0x1007b2d4
mov dl, byte [ebx + 0x20]
cmp dl, 4
jne 0x1007b826
lea esi, [esp + 0x118]
push 7
pop edx
mov ecx, esi
push 0x13
push str.Network_unreachable
call sym.std::io::error::Error::new::hbc9bcb4f0a9f4fea
pop eax
pop ecx
mov edx, dword [esi]
mov edi, dword [esi + 4]
jmp 0x1007b82c
mov edx, dword [ebx + 0x20]
mov edi, dword [ebx + 0x24]
push 2
pop eax
mov dword [esp + 8], eax
mov eax, dword [esp + 0x10]
jmp 0x1007b8c3
call sub.ws2_32.dll_WSAGetLastError
mov edi, eax
push 2
pop eax
mov dword [esp + 8], eax
jmp 0x1007b85b
call sub.kernel32.dll_GetLastError
mov edi, eax
push dword [esp]
call sub.ws2_32.dll_closesocket
xor esi, esi
jmp 0x1007b8a4
call sub.ws2_32.dll_WSAGetLastError
mov edi, eax
xor esi, esi
jmp 0x1007b89c
mov edi, dword [esp + 0x2c]
mov ecx, eax
movzx esi, al
shrd ecx, edi, 8
shr edi, 8
shld edi, ecx, 8
shl ecx, 8
or esi, ecx
push dword [esp]
call sub.ws2_32.dll_closesocket
mov dword [esp], esi
mov dword [ebx + 0x28], esi
mov dword [ebx + 0x2c], edi
mov dword [ebx + 0x30], 0x3b9aca01
lea ecx, [ebx + 0x20]
call sym.core::ptr::drop_in_place_LT_h2..proto..error..Error_GT_::h28a7d1c3249e649d
mov eax, dword [esp + 0x10]
mov edx, dword [esp]
mov ecx, dword [esp + 8]
movsd xmm1, qword [esp + 0xb8]
movsd xmm0, qword [esp + 0xb0]
movsd xmm2, qword [esp + 0xc0]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], edi
movsd qword [eax + 0x14], xmm1
movsd xmm1, qword [esp + 0xc8]
movsd qword [eax + 0xc], xmm0
movsd qword [eax + 0x1c], xmm2
movsd qword [eax + 0x24], xmm1
mov al, 1
mov byte [ebx + 0x135], al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret