Function at 0x140036030
Capabilities:
Set socket configuration

Disassembly:
push rbp
mov rbp, rsp
movzx eax, byte [rcx]
lea rdx, [0x14029f028]
movsxd rax, dword [rdx + rax*4]
add rax, rdx
jmp rax
mov eax, dword [rcx + 4]
shl rax, 0x20
or rax, 2
pop rbp
ret
mov rax, qword [rcx + 8]
pop rbp
ret
mov rax, qword [rcx + 8]
inc rax
pop rbp
ret
movzx eax, byte [rcx + 1]
shl rax, 0x20
or rax, 3
pop rbp
ret
xchg ebx, eax
add eax, 0xc1894800
add byte [rax - 0x77], cl
invalid
add byte [rax], al
add dword [rax], eax
add byte [rax - 0x3f], cl
shr rsi, 0x20
cmp esi, 0x28
ja case.default.0x14002cedf
lea rax, [0x14029f048]
invalid
invalid
add byte [rax], al
mov bl, 0
lodsb al, byte [rsi]
add byte [rax], al
add byte [rax], al
mov al, 0x24
invalid
movsd dword [rdi], dword [rsi]
invalid
movsd dword [rdi], dword [rsi]
add byte [rax], al
add byte [rax], al
mov al, 0x1b
invalid
sahf
invalid
sahf
add byte [rax], al
add byte [rax], al
mov al, 0x22
invalid
xchg edi, eax
invalid
adc cl, ch
nop
add byte [rax], al
add byte [rax], al
mov al, 0xe
invalid
mov dword [rax], eax
add byte [rax], al
xchg ebp, eax
invalid
loopne 0x14002d1c6
mov dword [rbp - 0x38], 0
mov r8d, 0xc045c748
add dword [rax], eax
add byte [rax], al
test al, 0xe8
add eax, 0x81489000
invalid
add byte [rax], al
mov eax, 1
push rdi
invalid
invalid
in al, dx
and byte [rax - 0x73], cl
lea rbp, [rsp + 0x20]
add ecx, dword [rax - 0x73]
adc eax, 0x271ec3
invalid
add byte [rax + 0x63], cl
add al, 0x82
mov byte [rcx], dh
add al, byte [rax]
ror byte [rax - 0x73], 0xd
push rbp
xchg ebx, eax
invalid
add byte [rax - 0x75], cl
adc al, 0xc1
or eax, 0x279492
add al, 0xc1
sub byte [rdi], cl
and eax, 0x23b0a6eb
push rsp
mov edx, eax
add al, 0x48
add edi, edx
adc ecx, dword [rax - 0x7b]
ror byte [rdi], 0x85
jne 0x14002df74
invalid
invalid
add byte [rax], al
add dword [rdi + 8], eax
test byte [rcx + 0x4c000002], bh
jne case.0x14002d240.129
invalid
invalid
nop word cs:[rax + rax]
invalid
in eax, 4
nop word cs:[rax + rax]
out dx, al
invalid
add byte [rdx + 1], bh
xor eax, eax
add byte [rax - 0x77], cl
enter 0xffffffffffff8948, 0x55
push rbp
push rbp
ror byte [rax - 0x7b], 1
sal byte [rsi + rbx - 0x77], 0xd0
je case.0x14002cd79.130
mov eax, edx
add al, 0x87
push rsp
mov eax, 1
rol byte [rax], 1
cmove edi, esi
ret
adc byte [rax - 0x77], r9b
cli
invalid
mov esi, dword [rbp - 0x10]
jge 0x14002f764
cmp eax, 0x273412
push rcx
invalid
mov edi, dword [rbp - 0x20]
sub eax, ebx
mov eax, edi
or byte [rax + 1], cl
or bh, byte [rsi - 0x76b7fffa]
test byte [rax], al
dec dword [rax - 0x77]
ror byte [rdi], cl
invalid
mov esi, eax
adc r15b, r15b
invalid
push qword [rcx - 0x548517f6]
or ch, al
lea ebx, [rdi + 0x18]
mov r14, rdx
add byte [rax], al
test esp, esp
add byte [rax], al
add ecx, esp
invalid
add esp, esi
sub byte [rbp - 0x7b], cl
test byte [rdi], 0x84
out 0, eax
add byte [rax], al
invalid
add byte [rax], al
adc eax, 0xe8d98948
invalid
add byte [rax], al
add ecx, esi
invalid
add esi, esi
sbb byte [rbp - 0x75], cl
ja 0x140030927
invalid
invalid
mov edx, edi
mov esi, 0xff49ffff
pop rsi
add eax, 0x2709e5
ror byte [r8 - 0x39], 1
or byte [rax], al
add byte [rax], al
sub esp, dword [rdi + riz]
shr al, 1
push rsi
insb byte [rdi], dx
and al, 0x60
or eax, 0x4d000003
xor eax, eax
invalid
cqo
xchg esp, eax
std
invalid
sub al, 0xfd
dec dword [rax - 0x77]
mov dword [rbp - 0x50], eax
invalid
mov dword [rbp - 0x50], eax
add byte [rax], al
test al, 0x48
loopne 0x140031e14
add byte [rax], al
add byte [rax - 0x73], cl
adc eax, 0x271584
invalid
invalid
invalid
invalid
lea edx, [0x1402a33a0]
lea ecx, [rbp - 0x38]
add byte [rdi], cl
lea ecx, [rbp + 0x10]
dec dword [rax - 0x77]
int1
invalid
add ah, cl
nop word cs:[rax + rax]
nop word cs:[rax + rax]
nop dword cs:[rax + rax]
nop dword cs:[rax + rax]
add byte [rax], al
add byte [rax], al
add byte [rax - 0x77], cl
clc
add byte [r14], r8b
add byte [rax], al
add al, ch
xchg esp, eax
cld
and al, 0x48
add byte [rax - 0x77], cl
or byte [r8 - 0x73], r9b
invalid
or byte [r8 - 0x77], r9b
enter 0xffffffffffff8d48, 0x4d
invalid
invalid
xor esi, esi
add byte [rax], al
test al, 0x48
add al, byte [rax]
add byte [rax], al
xchg esi, eax
adc al, 0x27
invalid
enter 0x2de8, 0x38
adc al, ch
invalid
mov dh, 0x11
mov eax, dword [rdx + 8]
add dword [rax], eax
add byte [rax], al
enter 0xffffffffffff894c, 0x65
ror byte [rax - 0x39], 1
invalid
invalid
mov dword [rbp - 0x28], 0
shl byte [rsi], cl
add byte [rcx + 0x63], cl
invalid
invalid
invalid
mov eax, dword [rbp - 0x28]
test byte [rax], ah
int3
mov rax, r15
sub eax, esi
int 0x4d
out dx, al
mov ecx, ebx
cmc
test eax, eax
fisttp word [rdi]
cmp rax, r13
call 0x1b4f9aa72
sub al, 0x48
invalid
add byte [rax], al
mov ebp, dword [rdi]
cmp dword [rcx], esi
add edi, esi
out 0x4d, al
mov eax, esp
invalid
clc
cli
add dword [rax], eax
pop rcx
add dword [rax], eax
add byte [rax - 0x7b], cl
test edx, edx
invalid
test cl, bl
add dword [rax], eax
rol dword [rbx + 0x1b803e1], 1
add byte [rax], al
add byte [rbp + rcx*4 + 5], cl
add byte es:[rcx + 0x63], cl
or al, 0x88
invalid
add ecx, eax
lea ecx, [rbp - 0x38]
add eax, 0x26cf21
sal byte [rcx - 0x4e4314dd], 0x24
push qword [rcx - 0x9416ff]
invalid
push qword [rcx - 0xb716fb]
push qword [rcx - 0xbe16eb]
push qword [rcx - 0xda16f6]
push qword [rcx - 0xe116f8]
push qword [rcx - 0xe816e2]
push qword [rcx - 0xf616ea]
push qword [rcx - 0xfd16d9]
push qword [rcx - 0x10416ed]
push qword [rcx - 0x11216e4]
push qword [rcx - 0x11916e3]
push qword [rcx - 0x12716e6]
dec dword [rdi]
add byte [rax], al
invalid
invalid
invalid
cmovs eax, ecx
add byte [rax], al
add byte [rsi], ah
push rbp
mov ecx, 0x400
add byte [rax], ah
add byte [rax], al
mov rax, r12
add byte [rax], ah
cmc
add byte [rcx + rcx*4 + 0x65], cl
cmc
and dword [rax - 0x77], ecx
mov esi, dword [rdx]
fisttp word [rdi]
cmp rax, r12
or byte [rax - 0x77], cl
invalid
ror byte [rax - 0x3f], cl
invalid
or byte [r9 + rcx*4 + 0x21], cl
mov ecx, dword [rbp]
stc
push rdi
add byte [rax - 0x77], cl
nop word cs:[rax + rax]
nop dword [rax + rax]
and byte [rbx - 0x78f0d707], al
retf
invalid
add al, 0xe9
sub cl, ch
or al, 0xe9
invalid
sbb cl, ch
add ch, cl
add ebp, ecx
cmp bh, bh
invalid
add ecx, ebp
sub al, 0xff
invalid
push qword [rcx - 0xe816d7]
or edi, edi
add bh, bh
sti
invalid
hlt
retf 0xfffe
push qword [rcx - 0x14316ed]
mov ch, 0xfe
add byte [rsi], ah
insb byte [rdi], dx
cmp eax, 0x26ca2d
add byte [rbp + rcx*4 + 0x75], cl
invalid
add ecx, edi
jo 0xc51250a2
push rbp
test byte [rax], al
add byte [rax], al
add byte [rax], al
invalid
stc
loope switch.0x140032cf7
loope case.0x1400334f4.320
lahf
adc bl, ch
push qword [rcx - 0x9116f4]
push qword [rcx - 0x9f16e7]
invalid
adc ecx, ebp
push qword [rcx - 0x10f16f6]
invalid
push qword [rcx - 0x13916ed]
invalid
add ecx, edi
mov eax, ebx
mov dword [rsi + 0x10], edi
add esp, 0x50
pop rsp
mov eax, ebx
lea eax, [0x1402a33e8]
mov ecx, edx
nop word cs:[rax + rax]
iretd
pop rsp
pop rdi
fsubr st(0)
invalid
add eax, 0x2700c2
nop word cs:[rax + rax]
push rsi
cmp byte [rax - 0x73], cl
mov esi, dword [rcx + 8]
lea ecx, [rbp - 0x10]
lea edi, [rbp - 0x10]
nop word cs:[rax + rax]
sub esi, dword [rdx]
add eax, 0xcfff4900
dec edi
lea esi, [rbx]
add eax, 0x83489000
invalid
nop
invalid
invalid
nop word cs:[rax + rax]
add byte [rax], al
clc
add byte [rcx], dh
sar byte [rcx - 0xc], 0x49
invalid
invalid
dec dword [rcx - 0x77]
invalid
dec dword [rcx - 0x77]
rcr byte [rbp - 0x17], 0xd3
invalid
invalid
rol byte [rcx], 0
mov rbp, rsp
nop dword [rax + rax]
push rbp
test edi, edi
xchg esi, eax
mov eax, dword [rbp + rdx]
add byte [rax], r8b
mov eax, edi
ror byte [rax - 0x39], 1
add byte [rax], al
adc dword [rbp - 0x18], eax
add byte [rax - 0x77], cl
retf 0xc148
add bh, al
and al, 0x20
or byte [rax], al
add byte [rax], al
xor esi, esi
mov r9, rbp
xor edx, edx
mov r8d, 0xd
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
jne 0x14003601c
call sub.ws2_32.dll_WSAGetLastError
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov rax, rsi
add rsp, 0x38
pop rsi
pop rbp
ret
nop dword [rax + rax]
add byte [rax], al
add byte [rbp + 0x48], dl
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov rcx, qword [rcx]
movups xmm0, xmmword [rdx]
movaps xmmword [rbp - 0x20], xmm0
mov dword [rbp - 0x10], r8d
mov dword [rsp + 0x20], 0x14
lea r9, [rbp - 0x20]
mov edx, 0x29
mov r8d, 0xd
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x140036071
xor eax, eax
add rsp, 0x50
pop rbp
ret
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x50
pop rbp
ret
insb byte [rdi], dx
and al, 0x50
xor dword [rdi], ecx
mov byte [rsi + 2], ah
add byte [rax], al
add byte [rcx + rcx*4 - 0xf], cl
leave
ror byte [rax + 0x3f24044d], 0xc
or byte [rax - 0x42befabb], 2
add byte [rax], al
add cl, ch
inc byte [rax]
add byte [rax], al
nop word cs:[rax + rax]
rol ecx, 0xe9
or al, 0x80
leave
loopne 0x14003627b
add al, 0x89
rol ecx, 0xe9
invalid
add dword [rax], eax
add byte [rax], al
mov edx, ecx
invalid
test byte [rax], al
add byte [rax], al
add byte [rax], al
mov eax, eax
add eax, 0x801f0f00
add byte [rax], al
add byte [rax], al
invalid
and byte [rcx - 0xa], bh
call sub.kernel32.dll_GetStdHandle
xor ecx, ecx
cmp rax, 0xffffffffffffffff
cmove rax, rcx
cmove eax, ecx
invalid
cmove eax, ecx
add rsp, 0x20
pop rbp
ret
nop word cs:[rax + rax]
add esp, 0x20
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov rax, qword [rcx]
cmp rax, 0xffffffffffffffff
je 0x1400367a7
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call sym.std::os::windows::io::socket::BorrowedSocket::try_clone_to_owned::h0c78ddeaf8f0f425
nop
add rsp, 0x30
pop rbp
ret
lea rcx, [0x1402a36f9]
lea r8, str.87_
mov edx, 0x3f
call sym.core::panicking::panic::h82631201f060ca88
invalid
int3
lea rbp, [rsp + 0x80]
add byte es:[rcx - 0x48], al
add byte [rax - 0x77], cl
int1
mov ebx, dword [rsi + 8]
sub byte [rdx], dh
add eax, 0x74c08400
je 0x140036ad0
mov bl, 1
invalid
lea ebp, [rsp + 0x40]
xchg dword [rdx + 0xf000000], edi
mov dh, 0xc0
or eax, 0x269044
lea ecx, [0x1402a1988]
add byte es:[rbp + rcx*4 + 5], cl
mov esi, 0xba0026cb
add byte es:[rdx + 0x28], bh
mov edx, 0x28
add dword [rax], eax
sub dword [rbp + 0x30], eax
or dl, cl
add byte es:[rax - 0x77], cl
add byte [rax - 0x77], cl
cmp byte [rdi + rcx - 0x4a], al
pop rcx
add byte [rax], al
in al, 0xf
xchg ebp, eax
sar dword [rsi + rax], 0xf
cmp al, 6
sete bl
test ecx, ecx
adc qword [rax], r9
invalid
add byte [rdi], cl
mov dh, 0x1f
or byte [rax - 0x77], r9b
loope 0x140037619
add ecx, 4
sbb dword [rax - 0x73], ecx
push rax
add dword [rax - 0x7b], ecx
movabs al, byte [0x45b60f000000f5e8]
invalid
add byte [rax], al
add byte [rax], al
add byte [rax], al
mov eax, esi
lea ecx, str..Components
add eax, 0x6666cc00
nop word cs:[rax + rax]
nop dword cs:[rax + rax]
nop dword cs:[rax + rax]
push rsp
inc dword [rcx - 0x3a]
and al, 0x38
and al, 0x38
pop rcx
adc cl, ch
imul edi, ebp, 0x8b4cffff
dec dword [rbx + rcx*4 + 0x55]
add byte [rax], al
adc dword [rdi], ecx
adc dword [rcx + 1], eax
inc esi
invalid
insb byte [rdi], dx
mov esi, 0x894c0026
mov ecx, edx
mov rdx, r9
jb 0x140037a92
add byte es:[rcx + rcx*4 - 0x27], cl
add byte es:[rcx + 1], bh
add byte [rax], al
add byte [rax], al
adc byte [rcx + 0xf], al
invalid
mov ecx, ebx
test al, 0
add byte [rax], al
sbb al, 0x16
inc edx
lodsb al, byte [rsi]
add al, byte [rax]
ror dword [rbp - 0x7b], cl
invalid
xchg esp, eax
add dword [rdi], ecx
adc byte [rcx + 0x10], cl
and byte [rdi], cl
adc byte [rcx + 0x30], bl
invalid
add byte [rax], al
add byte [rcx], al
add byte [rax], al
lock add byte [rax], al
ror dword [rax - 0x7d], 0xc1
add byte [rax], al
leave
cmp esi, eax
add eax, 0x26b9b1
add byte [rbp + 0x31], al
adc byte [rdi], cl
adc byte [rsi + 0x20], dl
mov dword [rbp + 0x100], eax
add bl, ch
wait
sar byte [rax], 1
add byte [rax], al
invalid
invalid
add eax, dword [rax]
add byte [rdx + 0x37], bh
mov dword [rbx + 0x10], edx
cmp edx, ecx
ror byte [rax - 0x77], 1
loopne 0x140039195
add dword [rax], eax
add byte [rax], al
lea ecx, [rbp - 0x30]
sub dword [rbp + 0xe0], edx
adc byte [r15], cl
adc dword [rcx], eax
invalid
add byte [rax], al
call sub.kernel32.dll_CloseHandle
mov rcx, rsi
call sub.kernel32.dll_CloseHandle
mov rcx, rbx
call sym._Unwind_Resume
int3
jge 0x14003dc4c
adc byte [rax], al
add byte [rax - 0x73], cl
or al, 0x75
add byte [rax], al
add byte [rax], al
mov dword [rbp - 0x50], eax
loopne 0x14003ee4e
cmove ecx, eax
ror dword [rcx - 0x77], 0xc0
mov ecx, edi
add al, 0
retf
lea rax, [0x1402a2468]
mov qword [rsp + 0x20], rax
lea rcx, [0x1402a23b7]
lea r9, [0x1402a14e0]
lea r8, [rbp + 8]
mov edx, 0x46
call sym.core::result::unwrap_failed::h8f275d6668207d54
cmp byte [rax + 8], 0
jne case.0x14002cc15.996
inc qword [rax]
mov byte [rax + 8], 1
mov eax, dword [0x1402d6100]
cmp eax, 0x3ffffffd
ja 0x1400406b5
lea ecx, [rax + 1]
lock cmpxchg dword [0x1402d6100], ecx
je 0x1400406c1
lea rcx, [0x1402d6100]
call sym.std::sys::sync::rwlock::futex::RwLock::read_contended::h548c3ecf4355b36f
movzx esi, byte [rbp + 0x80]
movzx eax, byte [0x1402d6108]
cmp qword [0x1402d6110], 0
jne 0x140040706
mov rdi, qword [rbp]
mov rcx, qword [rbp - 0x20]
mov rax, qword [rbp - 0x18]
call qword [rax + 0x28]
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], rdx
mov qword [rbp + 0x18], rdi
mov byte [rbp + 0x20], bl
mov byte [rbp + 0x21], sil
lea rcx, [rbp + 8]
call sym.std::panicking::default_hook::h5659e723eb8e1074
jmp 0x14004073d
mov rdi, qword [rbp]
mov rcx, qword [rbp - 0x20]
mov rax, qword [rbp - 0x18]
call qword [rax + 0x28]
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], rdx
mov qword [rbp + 0x18], rdi
mov byte [rbp + 0x20], bl
mov byte [rbp + 0x21], sil
mov rcx, qword [0x1402d6110]
mov rax, qword [0x1402d6118]
lea rdx, [rbp + 8]
call qword [rax + 0x28]
mov edx, 0xffffffff
lock xadd dword [0x1402d6100], edx
dec edx
mov eax, edx
and eax, 0xbfffffff
cmp eax, 0x80000000
jne 0x140040766
lea rcx, [0x1402d6100]
call sym.std::sys::sync::rwlock::futex::RwLock::wake_writer_or_readers::h937d19553a2123f3
xor ecx, ecx
call sym.std::panicking::panic_count::LOCAL_PANIC_COUNT::__u7b__u7b_closure_u7d__u7d_::heb9b3624112517f9
test rax, rax
je 0x140040662
mov byte [rax + 8], 0
test bl, bl
je 0x1400408ae
mov rcx, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
call 0x14006f976
invalid
call 0x14006f976
add bh, al
clc
add byte [rax], al
add byte [rax], al
mov dword [rbp - 8], 0
mov byte [rbp - 4], 0
mov rax, rbp
mov qword [rbp - 0x50], rax
lea rax, [sym.__T_as_core::fmt::Display_::fmt::hf956e01ce33d49ad]
mov qword [rbp - 0x48], rax
lea rax, [rbp - 0x20]
mov qword [rbp - 0x40], rax
lea rax, [sym.__mut_T_as_core::fmt::Display_::fmt::h85d63591fa1016c9]
mov qword [rbp - 0x38], rax
lea rax, [0x1402a4930]
lea eax, [0x1402a4930]
lea eax, [0x1402a4930]
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], 3
mov qword [rbp + 0x28], 0
add byte [rax - 0x73], cl
mov r8b, 0x48
mov dword [rbp + 0x18], eax
add byte [rax - 0x73], cl
mov r8b, 0x48
mov dword [rbp + 0x18], eax
mov qword [rbp + 0x20], 2
lea rcx, [rbp - 8]
lea rdx, [rbp + 8]
call sym.std::io::Write::write_fmt::hdc620d2dd22aa030
mov qword [rbp - 0x30], rax
test rax, rax
je 0x1400408a5
lea rcx, [rbp - 0x30]
jmp 0x1400408a0
mov rcx, rdi
call qword [rsi + 0x30]
test rax, rax
mov ecx, 1
cmovne rcx, rax
cmovne ecx, eax
cmovne ecx, eax
cmove rdx, rax
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x28], rdx
mov dword [rbp - 0x10], 0
mov byte [rbp - 0xc], 0
mov rax, rbp
mov qword [rbp - 0x50], rax
lea rax, [sym.__T_as_core::fmt::Display_::fmt::hf956e01ce33d49ad]
mov qword [rbp - 0x48], rax
lea rax, [rbp - 0x30]
mov qword [rbp - 0x40], rax
lea rax, [sym.__T_as_core::fmt::Display_::fmt::hdf38e52f351d6f67]
mov qword [rbp - 0x38], rax
lea rax, [0x1402a4998]
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], 3
mov qword [rbp + 0x28], 0
lea rax, [rbp - 0x50]
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x20], 2
lea rcx, [rbp - 0x10]
lea rdx, [rbp + 8]
call sym.std::io::Write::write_fmt::hdc620d2dd22aa030
mov qword [rbp - 8], rax
test rax, rax
je 0x1400408a5
lea rcx, [rbp - 8]
call sym.core::ptr::drop_in_place_std::io::error::Error_::h3466fc80fe41233f
mov ecx, 7
int 0x29
ud2
mov dword [rbp - 0x30], 0
mov byte [rbp - 0x2c], 0
lea rax, str.thread_caused_non_unwinding_panic._aborting._n
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], 1
mov qword [rbp + 0x18], 8
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
lea rcx, [rbp - 0x30]
lea rdx, [rbp + 8]
call sym.std::io::Write::write_fmt::hdc620d2dd22aa030
mov qword [rbp - 0x50], rax
lea rcx, [rbp - 0x50]
call sym.core::ptr::drop_in_place_core::result::Result____std::io::error::Error__::hfcc0b544997c6b8c
mov ecx, 7
int 0x29
ud2