Function at 0x10078b94
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x188
call 0x10078ba8
pop eax
mov ebx, edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x28], eax
movzx eax, byte [edx + 0x135]
test eax, eax
je 0x10078be1
cmp eax, 3
jne 0x10078c1f
lea eax, [ebx + 0xa0]
mov dword [esp + 0xc], eax
movzx eax, byte [ebx + 0xd4]
mov eax, dword [eax*4 + 0x100792d8]
add eax, dword [esp + 0x28]
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 0x10078c31
push 0x23
pop edx
mov ecx, str._async_fn__resumed_after_completion_home_lanbyshell_.cargo_registry_src_index.crates.io_6f17d22bba15001f_http_0.2.12_src_header_value.rsunable_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 0x101c6bc0
call dbg.panic
mov ecx, dword [eax + 4]
cmp ecx, dword [eax + 0xc]
je 0x100791bf
lea edx, [ecx + 0x20]
mov dword [eax + 4], edx
movsd xmm0, qword [ecx + 0x18]
movzx edi, word [ecx]
movsd qword [esp + 0x86], xmm0
cmp di, 2
movsd xmm0, qword [ecx + 0x12]
movsd qword [esp + 0x80], xmm0
movsd xmm0, qword [ecx + 0xa]
movsd qword [esp + 0x78], xmm0
movsd xmm0, qword [ecx + 2]
movsd qword [esp + 0x70], xmm0
je 0x100791bc
mov word [ebx], di
test di, di
movsd xmm0, qword [esp + 0x70]
movsd xmm1, qword [esp + 0x78]
movsd qword [ebx + 2], xmm0
movsd qword [ebx + 0xa], xmm1
movsd xmm0, qword [esp + 0x80]
movsd qword [ebx + 0x12], xmm0
movsd xmm0, qword [esp + 0x86]
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 + 0x20], edx
mov dword [esp + 0x24], 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 + 0x2c], eax
mov eax, dword [ebx + 0x120]
mov dword [esp + 0x1c], eax
mov eax, dword [0x1023706c]
cmp eax, 3
jne 0x10079187
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 0x100791fb
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 0x1007920b
cmp byte [esp + 4], 0
je 0x10078d71
lea eax, [esp + 0x90]
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 0x1007921e
test di, di
je 0x10078dab
mov eax, dword [esp + 0x1c]
cmp byte [eax], 0
je 0x10078dda
movups xmm0, xmmword [eax + 1]
lea edx, [esp + 0xa8]
movups xmmword [edx - 0x10], xmm0
push 0x1a
pop ecx
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [edx - 0x18], 0x17
and dword [edx - 0x14], 0
mov dword [edx + 0x68], 0x1c
jmp 0x10078e16
mov eax, dword [esp + 0x2c]
cmp byte [eax], 0
je 0x10078de7
mov esi, dword [eax + 1]
lea edx, [esp + 0x98]
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 0x10078e16
push 0x1c
pop eax
mov si, 0x17
mov dword [esp + 4], eax
jmp 0x10078df2
push 0x10
pop eax
mov dword [esp + 4], eax
mov si, 2
lea edx, [esp + 0x98]
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 + 0x90]
lea edi, [esp + 0x14]
mov ecx, edi
push eax
call sym.socket2::socket::Socket::bind::hf33fa6b6fb53ee87
pop eax
cmp byte [edi], 4
je 0x10078e3e
mov eax, dword [esp + 0x14]
cmp al, 4
jne 0x1007923f
movsd xmm0, qword [ebx + 0x18]
lea esi, [esp + 0x90]
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 edx
lea eax, [esp + 0x160]
mov ecx, edx
mov edi, eax
rep movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0x34]
mov esi, eax
mov ecx, dword [esp + 0x20]
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 + 0x24]
mov dword [ebx + 0x30], ecx
mov ecx, edx
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x118]
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 + 0x100792d8]
add eax, dword [esp + 0x28]
jmp eax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x90]
xor edx, edx
mov byte [eax], 1
mov dword [ecx], eax
mov eax, ecx
mov ecx, 0x1023706c
push 0x101cbf04
push 0x101cbe2c
push eax
call dbg.call
add esp, 0xc
jmp 0x10078d0a
mov dl, byte [ebx + 0x20]
cmp dl, 4
jne 0x100791e5
lea esi, [esp + 0x90]
push 7
pop edx
mov ecx, esi
push 0x13
push str.Network_unreachable
call sym.std::io::error::Error::new::h7eeea4d7671fa191
pop eax
pop ecx
mov edx, dword [esi]
mov edi, dword [esi + 4]
jmp 0x100791eb
mov edx, dword [ebx + 0x20]
mov edi, dword [ebx + 0x24]
push 2
pop eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 8], eax
jmp 0x10079280
call sub.ws2_32.dll_WSAGetLastError
mov edi, eax
push 2
pop eax
mov dword [esp + 8], eax
jmp 0x1007921a
call sub.kernel32.dll_GetLastError
mov edi, eax
push dword [esp]
call sub.ws2_32.dll_closesocket
xor esi, esi
jmp 0x10079261
call sub.ws2_32.dll_WSAGetLastError
mov edi, eax
xor esi, esi
jmp 0x10079258
mov edi, dword [esp + 0x18]
mov ecx, eax
movzx esi, al
shrd ecx, edi, 8
shr edi, 8
shld edi, ecx, 8
shl ecx, 8
or esi, ecx
mov eax, dword [esp]
push eax
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_::hcce3e8dac9469f4b
mov ecx, dword [esp + 0x10]
mov edx, dword [esp]
mov eax, dword [esp + 8]
movsd xmm1, qword [esp + 0x58]
movsd xmm0, qword [esp + 0x50]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov dword [ecx + 8], edi
movsd qword [ecx + 0x14], xmm1
movsd xmm1, qword [esp + 0x60]
mov eax, dword [esp + 0x68]
movsd qword [ecx + 0xc], xmm0
mov dword [ecx + 0x24], eax
movsd qword [ecx + 0x1c], xmm1
mov al, 1
mov byte [ebx + 0x135], al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret