Function at 0x140050df0
Capabilities:
Set socket configuration

Disassembly:
push rbp
mov rbp, rsp
movzx eax, byte [rcx]
lea rdx, [0x1400c1828]
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
nop
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.0x1400479bf
lea rax, [0x1400c1848]
fiadd word [rdi]
add byte [rbp + rcx*4 + 0xd], cl
and bl, dh
fiadd word [rdi]
fiadd word [rdi]
add byte [rcx - 0x48], al
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
add byte [rax], al
add byte [rax + 0x90e910], dh
mov al, 0x10
invalid
nop
invalid
adc cl, ch
nop
add byte [rax], al
add byte [rax], al
mov al, 0xe
jmp 0x140047af6
add byte [rax], al
adc cl, byte [rax]
add byte [rax - 0x75], cl
or al, 0xd1
loopne 0x140047ca6
mov dword [rbp - 0x38], 0
mov r8d, 0xc045c748
add dword [rax], eax
add byte [rax], al
test al, 0xe8
add eax, 0x81489000
invalid
add esp, 0x98
add byte [rax], al
mov eax, 1
and edi, esp
invalid
invalid
in al, dx
and byte [rax - 0x73], cl
lea rbp, [rsp + 0x20]
add ecx, dword [rax - 0x73]
adc eax, 0x79be3
invalid
add byte [rax + 0x63], cl
add al, 0x82
pop rax
add al, byte ss:[rax]
ror byte [rax - 0x73], 0xd
invalid
add byte [rax - 0x75], cl
adc al, 0xc1
or eax, 0x81202
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 0x140048a54
invalid
invalid
add byte [rax], al
add dword [rdi + 8], eax
test byte [rcx + 0x4c000002], bh
jne case.0x140047d20.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.0x140052042.83
mov eax, edx
add al, 0x87
push rsp
sal byte [rdi + rcx + 0x48], cl
mov ecx, dword [rbp - 0x10]
mov eax, 1
rol byte [rax], 1
cmove edi, esi
ret
adc byte [rax - 0x77], r9b
cli
invalid
mov esi, dword [rbp - 0x10]
jge 0x14004a244
cmp eax, 0x7b04a
push rcx
invalid
mov edi, dword [rbp - 0x20]
sub eax, ebx
mov eax, edi
or byte [rax + 1], cl
or al, al
invalid
test byte [rax], al
dec dword [rax - 0x77]
ror byte [rdi], cl
invalid
mov esi, eax
adc r15b, r15b
invalid
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
add byte [rax], al
adc eax, 0xe8d98948
invalid
add byte [rax], al
add ecx, esi
invalid
add esi, esi
mov esi, ecx
lea rax, str.stdoutstderrRepeatlibrary_std_srciomod.rs
mov qword [rbp - 8], rax
pop qword [rdi]
add byte [rax - 0x77], cl
clc
mov qword [rbp], 6
call dbg.print_to_buffer_if_capture_used
xchg esp, eax
std
invalid
invalid
test al, al
invalid
jne 0x14004cb71
mov rax, qword [0x1400fb090]
cmp eax, 3
add eax, 0xffffafb8
ror byte [r8 - 0x73], 5
in eax, 0x8e
invalid
mov dword [rbp - 0x30], 2
add byte [rax - 0x73], cl
test al, 0x48
mov dword [rbp - 0x28], eax
invalid
invalid
fmul dword [r8 - 0x39]
loopne case.0x140047859.298
add byte [rax], al
mov es, word [rdi]
mov rsi, rax
sub esp, 0x98
lea rbp, [rsp + 0x80]
lea ebp, [rsp + 0x80]
mov rsi, rcx
sal byte [rbp + 0x24], 0x48
adc byte [rcx - 0x77], cl
jne case.0x14004e2b4.95
or bl, ch
cmp dword [rcx], esi
xor eax, eax
mov rdx, r13
invalid
invalid
enter 0xffffffffffffbee8, 0x34
add r8b, byte [rax]
or byte [rcx + rcx*4 + 0x28], cl
dec dword [rcx + rcx*4 - 7]
test eax, eax
add edi, dword [rax + 1]
lea eax, [0x1400c1c80]
invalid
loope 0x14004cf8a
add dword [rax], eax
mov dword [rbp - 0x38], edx
push qword [rcx - 0x10416ed]
add byte [rax], ah
add byte [rax], al
invalid
pop rsi
xor edi, edi
nop dword [rax + rax]
adc byte [rax - 0x7d], cl
jge case.0x14004b6ec.300
add dword [rbx + rbp + 0x4c], esi
dec dword [rcx + 0xf]
enter 0x394c, 0xffffffffffffffe0
enter 0x394c, 0xffffffffffffffe0
loopne case.0x14004e2b4.191
or ecx, dword [rax - 0x7b]
sub edx, dword [rbp - 0x18]
add byte [rax], ah
add byte [rax], al
mov rax, r12
add byte [rax], ah
cmc
add byte [rcx + rcx*4 + 0x65], cl
cmc
mov esi, dword [rdx]
cmp rax, r12
or byte [r9 + rcx*4 + 0x21], cl
stc
invalid
add byte [rax - 0x77], cl
nop word cs:[rax + rax]
nop dword [rax + rax]
and byte [rbx - 0x78f0d707], al
xchg esi, eax
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 - 0x14316ed]
add byte [rsi], ah
cmp eax, 0x7446d
add byte [rbp + rcx*4 + 0x75], cl
invalid
add ecx, edi
jo 0xc513fe62
push rbp
test byte [rax], al
add byte [rax], al
add byte [rax], al
invalid
stc
loope switch.0x14004dab7
loope case.0x14004e2b4.320
adc bl, ch
push qword [rcx - 0x9116f4]
push qword [rcx - 0x9816f7]
push qword [rcx - 0x9f16e7]
push qword [rcx - 0x10f16f6]
invalid
push qword [rcx - 0x13916ed]
invalid
add ecx, edi
mov eax, ebx
pop rsp
mov eax, ebx
lea eax, [0x1400c5b00]
mov ecx, edx
nop word cs:[rax + rax]
iretd
adc ebp, ecx
cmp edx, 0x21
pop rsp
pop rdi
fsubr st(0)
mov edi, dword [rsi + 0x10]
add eax, 0x77a1a
nop word cs:[rax + rax]
add byte [rax], al
add byte [rbp + 0x41], dl
push rbp
push r15
push r14
push rsi
push rsi
push rdi
cmp byte [rax - 0x73], cl
mov esi, dword [rcx + 8]
lea ecx, [rbp - 0x10]
add byte [rbp - 0x7b], cl
lea edi, [rbp - 0x10]
nop word cs:[rax + rax]
fld xword [rax - 0x3000b700]
cmp eax, 0x9000052e
nop word cs:[rax + rax]
add byte [rax], al
add byte [rax], al
add byte [rax], al
push rbp
invalid
sal byte [rdi + rbp*8 + 0x48], 0x8b
clc
add byte [rcx], dh
sar byte [rcx - 0xc], 0x49
mov ecx, 0xfffffff4
mov r8, rax
dec dword [rcx - 0x77]
mov rbp, rsp
nop dword [rax + rax]
push rbp
add byte [rax], al
test edi, edi
xchg esi, eax
mov eax, dword [rbp + rdx]
invalid
add byte [rax], r8b
mov eax, edi
test byte [rcx + 0x41fffffe], dh
add byte [r8 + 0x39], r9b
enter 0xffffffffffff870f, 0xffffffffffffff8d
invalid
invalid
lea eax, [rax]
invalid
mov dword [rbp], ecx
invalid
xchg ecx, eax
sbb eax, 0x8b4cfffe
invalid
pop rbp
invalid
invalid
cdq
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 0x140050ddc
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 0x140050e31
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 0x14005103b
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 0x140051567
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
lea rcx, [0x1400c5e11]
lea r8, [0x1400c5e78]
mov edx, 0x3f
add byte [rax], al
invalid
add byte [rax - 0x77], cl
int1
mov ebx, dword [rsi + 8]
fsubr dword [rax + 0x74c08400]
lea ebp, [rsp + 0x40]
or eax, 0x70a84
lea ecx, [0x1400c4070]
invalid
sub dword [rbp + 0x30], eax
invalid
cmp byte [rdi + rcx - 0x4a], al
pop rcx
adc byte [rcx - 0x73], al
push rbx
sti
add byte [rax], al
in al, 0xf
xchg ebp, eax
sar dword [rsi + rax], 0xf
xchg esp, eax
ret
test ecx, ecx
adc qword [rax], r9
invalid
add byte [rdi], cl
mov dh, 0x1f
or byte [rax - 0x77], r9b
add dword [rax - 0x7b], ecx
retf 0x820f
mov dh, 0
invalid
mov dh, 0x45
invalid
cli
mov ecx, dword [rbp + 0x18]
sbb byte [r8 - 0x75], r9b
add bl, ch
lahf
lea ebp, [rsp + 0x30]
add byte [rax - 0x7b], cl
mov edx, esi
mov byte [rsp + 0x38], 3
push rbp
add al, byte [rax]
add byte [rax], al
invalid
push 0xfffffffffffffffc
invalid
cmp byte [rdi], al
add byte [rcx + rcx*4 - 0x2f], cl
invalid
ror dword [rcx + rcx*4 - 0x36], 1
add eax, 0x58d4c00
retf 0x737
invalid
invalid
invalid
add byte [rbp + rcx*4 + 5], cl
mov ebp, 0xb9000737
add dword [rax], eax
add byte [rax], al
nop dword [rax + rax]
mov esi, ecx
sub byte [rbp - 0x20], al
add eax, 0x58d4c00
out dx, eax
xor al, 7
add byte [rax - 0x77], cl
add byte [rax], al
movzx r10d, byte [rsi + r11 - 1]
cli
sub edx, ebx
pop rbp
ror byte [rdi], 1
sub dword [rbp - 0x40], edx
invalid
or byte [rdi], cl
adc byte [rdx + 0x10], al
and byte [rbx + rcx*4 + 0x42], cl
xor byte [rcx + rcx*4 - 0x7b], cl
add byte [rax], 0
add byte [rax], al
mov ecx, dword [rbp + 0x1f]
mov dword [rbp + 0x88], 0x88400200
add byte [rax], al
add byte [rax], al
add dword [rax], eax
add byte [rax], al
add ecx, 8
invalid
add byte [rax], al
add ch, bl
add byte [rax], al
adc eax, 0x48f90148
mov edx, ecx
mov dword [rbp + 0xe0], ecx
test eax, eax
add byte [rax], al
add byte [rax - 0x77], cl
mov ebp, 0xb0
mov eax, dword [rbp + 0x128]
cmp byte [rdi], cl
adc dword [rsi + 0x10], ecx
add byte [rax], al
mov rsi, rax
mov rax, qword [rbp + 0x90]
mov eax, 8
add al, ch
sti
dec dword [rax - 0x75]
push rbp
xor dword [rcx - 0x73], ecx
dec qword [rcx - 1]
inc ecx
cmp byte [r8 + rdx - 1], 0x2e
mov r8, rcx
lodsd eax, dword [rsi]
invalid
add byte [rax], al
test dword [rsi - 1], ebx
invalid
mov eax, 0xe8f0894d
sbb ebp, eax
std
sub dword [rbp + 0xe0], edx
adc byte [r15], cl
add byte [rax], al
call sub.KERNEL32.dll_CloseHandle
mov rcx, rsi
call sub.KERNEL32.dll_CloseHandle
mov rcx, rbx
call dbg._Unwind_Resume
int3
jge 0x14005915c
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
fiadd word [rcx - 0x80]
sti
loopne 0x14005a349
ret
add cl, byte [rcx + rdi - 0x20]
enter 0xffffffffffffa6eb, 0x49
add ecx, 2
enter 0xffffffffffff820f, 0xffffffffffffffbb
add byte [rax], al
add byte [rax + 0x39], cl
cmp ebx, esi
ja 0x14005a3f9
cmp ebx, esi
call 0x14008ad16
add bh, al
clc
add byte [rax], al
add byte [rax], al
lea eax, str._q_f_
add byte [rax - 0x73], cl
mov r8b, 0x48
mov dword [rbp + 0x18], eax
cmovne ecx, eax