Function at 0x140130dd0
Capabilities:
Set socket configuration

Disassembly:
push rbp
mov rbp, rsp
movzx eax, byte [rcx]
lea rdx, [0x140247ca8]
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
cdq
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.0x14012799f
lea rax, [0x140247cc8]
adc al, byte [r8]
adc al, byte [rax]
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 0x140127ad6
add byte [rax], al
ja 0x140127c42
add byte [rax - 0x75], cl
or al, 0xd1
loopne 0x140127c86
mov dword [rbp - 8], eax
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
js case.0x140127839.57
push rdi
out dx, eax
invalid
in al, dx
and byte [rax - 0x73], cl
lea rbp, [rsp + 0x20]
add ecx, dword [rax - 0x73]
adc eax, 0x120083
invalid
add byte [rax + 0x63], cl
add al, 0x82
add al, byte ss:[rax]
ror byte [rax - 0x73], 0xd
jne 0x140127d34
add byte [rax - 0x75], cl
adc al, 0xc1
or eax, 0x1276a2
invalid
sub byte [rdi], cl
and eax, 0x23b0a6eb
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
push rsp
mov edx, eax
add al, 0x48
add edi, edx
adc ecx, dword [rax - 0x7b]
ror byte [rdi], 0x85
jne 0x140128a34
invalid
invalid
add byte [rax], al
add dword [rdi + 8], eax
test byte [rcx + 0x4c000002], bh
jne case.0x140127d00.129
adc dword [rax], eax
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
push rbp
add al, 0x87
nop dword [rax + rax]
add byte [rax], al
add byte [rdi], cl
mov dh, 0x42
invalid
mov ecx, esi
add byte [rax], 0
add byte [rax], al
ror byte [rax - 0x3f], 1
call 0x1690b0b5a
cmp eax, 0x28
invalid
invalid
and al, 0xeb
test byte [rax - 0x4f7f14e5], dh
mov al, 0x1b
jmp case.0x140127b6c.68
mov al, 0x22
invalid
jns 0x140128898
invalid
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 0x14012a224
cmp eax, 0x1214ea
push rcx
invalid
invalid
mov edi, dword [rbp - 0x20]
sub eax, ebx
fimul dword [rcx - 0x77]
clc
mov eax, edi
or byte [rax + 1], cl
mov edi, eax
test rbx, rbx
test ebx, ebx
invalid
invalid
mov ecx, edi
hlt
jno 0x14012a2d8
invalid
push 0xffffffff89480005
invalid
mov dword [rsi + 0x10], 0
cmp cl, cl
mov ecx, dword [rbp - 0x10]
add ah, cl
nop word [rax + rax]
add byte [rbp + 0x41], dl
push rdi
push r14
push rsp
xor byte [rax - 0x73], cl
insb byte [rdi], dx
and al, 0x30
invalid
mov esi, eax
test byte [rax], al
add byte [rax], al
add byte [rax], al
invalid
dec dword [rax - 0x77]
adc bl, ch
add ebx, edx
sbb ebx, ebp
xchg ebx, eax
xchg dword [rax - 0x4f7c14fd], esi
invalid
ror byte [rdi], cl
invalid
invalid
mov esi, eax
adc r15b, r15b
invalid
push qword [rcx - 0x4f5517f6]
add eax, 0x5f8d4900
invalid
pop rdi
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 0x14012b547
invalid
invalid
mov edx, edi
mov ebp, 0xff49ffff
pop rsi
add eax, 0x11e94d
ror byte [r8 - 0x39], 1
or byte [rax], al
add byte [rax], al
movabs dword [0xe8d04d8d48001203], eax
shr al, 1
push rsi
insb byte [rdi], dx
and al, 0x60
or eax, 0x4d000003
xor eax, eax
mov esi, ecx
hlt
cmp eax, 3
add eax, 0xffffafb8
ror byte [r8 - 0x73], 5
test ebx, esi
adc dword [rax], eax
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.0x140133007.298
add byte [rax], al
adc dword [rax], eax
mov rsi, rax
mov ecx, esi
add al, ch
mov esi, 0xcc00053f
sub esp, 0x98
lea rbp, [rsp + 0x80]
lea ebp, [rsp + 0x80]
mov rsi, rcx
sal byte [rbp + 0x24], 0x48
adc byte [r8 - 0x73], r9b
clc
clc
mov dword [rbp - 0x58], eax
and eax, 0x8948fffd
mov r8b, 0x48
lea eax, [rbp + 0x10]
add eax, 0x11f299
enter 0xffffffffffffc748, 0x45
add byte [rax], al
add byte [rax], al
test al, 0x48
loopne case.0x140127b6c.263
lea edx, [0x14024bf38]
lea ecx, [rbp - 0x38]
add byte [rdi], cl
or ecx, dword [rax - 0x77]
invalid
invalid
lea ecx, [rbp + 0x10]
in al, dx
and byte [rax - 0x73], cl
invalid
insb byte [rdi], dx
adc byte [rcx - 0x77], cl
mov ecx, esi
add byte [rax], al
jne case.0x14012a5da.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
add edi, edi
dec dword [rcx + rcx*4 - 7]
loopne 0x14012cf12
movabs byte [0x840fc085480001da], al
pop rcx
add dword [rax], eax
invalid
test eax, eax
add byte [rax - 0x7b], cl
ror byte [rdi], cl
test cl, bl
invalid
add dword [rax], eax
add edi, dword [rax + 1]
lea eax, [0x140248100]
invalid
loope 0x14012cf6a
add dword [rax], eax
mov dword [rbp - 0x38], edx
shr ecx, 0x20
stc
sbb bl, ch
invalid
invalid
invalid
cmp bh, bh
xor edi, edi
invalid
or edi, edi
add bh, bh
push qword [rcx - 0x10416ed]
hlt
add byte [rax], ah
add byte [rax], al
invalid
pop rsi
add byte [rax], al
shr edx, 0x3f
mov dword [rcx + 8], eax
mov esi, esp
hlt
xchg ecx, eax
stc
stc
dec dword [rax - 0x77]
int1
invalid
test eax, eax
add byte [rax], al
nop word cs:[rax + rax]
nop word cs:[rax + rax]
nop dword cs:[rax + rax]
nop word cs:[rax + rax]
shr ecx, 0x20
add eax, 0x11ae1d
or al, 0x88
pushfq
and ch, bl
invalid
push qword [rcx - 0x9416d8]
invalid
push qword [rcx - 0x9b16f4]
invalid
push qword [rcx - 0xcc16f9]
xor edi, edi
invalid
sbb al, 0xe9
scasb al, byte [rdi]
nop dword [rax + rax]
adc byte [rax - 0x7d], cl
jge case.0x1401287be.300
invalid
add dword [rbx + rbp + 0x4c], esi
dec dword [rcx + 0xf]
enter 0x394c, 0xffffffffffffffe0
enter 0x394c, 0xffffffffffffffe0
cmp rax, r12
invalid
loopne case.0x14012a5da.191
or ecx, dword [rax - 0x7b]
sub edx, dword [rbp - 0x18]
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
mov esi, dword [rdx]
cmp rax, r12
or byte [rax - 0x77], cl
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
and ebp, ebx
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
hlt
retf 0xfffe
push qword [rcx - 0x14316ed]
mov ch, 0xfe
add byte [rsi], ah
cmp eax, 0x11a90d
add byte [rbp + rcx*4 + 0x75], cl
invalid
add ecx, edi
jo 0xc521fe42
push rbp
test byte [rax], al
add byte [rax], al
add byte [rax], al
invalid
stc
loope switch.0x14012da97
loope case.0x14012a5da.320
lahf
adc bl, ch
push qword [rcx - 0x9116f4]
push qword [rcx - 0x9816f7]
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
pop rsp
mov eax, ebx
lea eax, [0x14024bf80]
mov ecx, edx
nop word cs:[rax + rax]
push r14
and al, 0x50
iretd
invalid
sub esp, 0x50
test eax, eax
cmp eax, 0x11a5b5
jne case.0x14012a5da.426
adc dword [rax], eax
add byte [rcx + 0x3e183d1], cl
invalid
add byte [rdi], cl
mov dh, 0x4a
invalid
add byte [rax], al
add byte [rsi - 0x75], al
or al, 7
invalid
invalid
mov ecx, esi
sub eax, 0x27e9fffd
invalid
nop dword [rax]
mov eax, edx
invalid
invalid
invalid
dec dword [rbx - 0x37c6b7f1]
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 0x140130dbc
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 0x140130e11
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 0x14013101b
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
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 0x140131547
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
lea rcx, [0x14024c291]
adc dword [rax], eax
add byte [rax - 0x77], cl
int1
mov ebx, dword [rsi + 8]
fdiv dword [0x10097186f]
ret
lea ebp, [rsp + 0x40]
or eax, 0x116f24
lea ecx, str.internal_error:_entered_unreachable_codeP
adc dword [rax], eax
add dword [rax], eax
sub dword [rbp + 0x30], eax
add byte [rax - 0x76b7ffef], ch
cmp byte [rdi + rcx - 0x4a], al
pop rcx
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
add byte [rcx + rax - 0x17], cl
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
or ah, byte [rcx + 0x11]
add byte [rdx + 0x63], cl
adc al, 0xb0
invalid
pushfq
adc dword [rax], eax
ror dword [rcx + rcx*4 - 0x36], 1
add eax, 0x58d4c00
push 0xffffffffffffff9c
pushfq
adc dword [rax], eax
add byte [rbp + rcx*4 + 5], cl
pop rbp
pushfq
adc dword [rax], eax
mov esi, ecx
sub byte [rbp - 0x20], al
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 dword [rax], eax
add byte [rax], al
add ecx, 8
invalid
add ch, bl
adc cl, byte [rax - 0x73]
add qword [rax - 0x7b], rcx
add dword [rax - 0x7b], ecx
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
je 0x140133af4
in eax, dx
dec dword [rax - 0x75]
push rbp
xor dword [rcx - 0x73], ecx
dec qword [rcx - 1]
dec dword [rcx - 1]
mov eax, edx
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
invalid
adc byte [r15], cl
add byte [rax], al
call fcn.140196514
mov rcx, rsi
call fcn.140196514
mov rcx, rbx
call sym._Unwind_Resume
int3
jge 0x14013912c
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
add r9, 3
shr al, 9
stosd dword [rdi], eax
add al, 0
call 0x14016acf6
add bh, al
clc
add byte [rax], al
add byte [rax], al
lea eax, [0x14024d5c0]
add byte [rax - 0x73], cl
mov r8b, 0x48
mov dword [rbp + 0x18], eax
cmovne ecx, eax