Function at 0x1400de230
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
call fcn.140008440
mov rdi, rax
test rax, rax
je 0x140008432
mov r8, qword [0x140150430]
mov rdx, r8
mov rcx, qword [r8 + 8]
cmp byte [rcx + 0x19], 0
jne 0x1400083ba
cmp qword [rcx + 0x20], rbx
jae 0x1400083ae
mov rcx, qword [rcx + 0x10]
jmp 0x1400083b4
mov rdx, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x1400083a2
cmp byte [rdx + 0x19], 0
jne 0x140008425
cmp rbx, qword [rdx + 0x20]
jb 0x140008425
cmp rdx, r8
je 0x140008425
mov rcx, qword [rdx + 0x10]
mov rax, rdx
cmp byte [rcx + 0x19], 0
je 0x1400083f7
mov rcx, qword [rdx + 8]
cmp byte [rcx + 0x19], 0
jne 0x14000840c
cmp rax, qword [rcx + 0x10]
jne 0x14000840c
mov rax, rcx
mov rcx, qword [rcx + 8]
cmp byte [rcx + 0x19], 0
je 0x1400083e2
jmp 0x14000840c
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
jne 0x14000840c
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x140008400
lea rcx, [0x140150430]
call fcn.140006730
mov edx, 0x30
mov rcx, rax
call fcn.14008c1d0
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
jne 0x1400dbb03
mov rdx, qword [rbx + 0x1230]
add rsp, 0x20
pop rbx
jmp 0x140008370
mov rax, qword [rbx + 0x20]
mov qword [rbx + 0x1228], 0
cmp rax, 0xffffffffffffffff
jne 0x1400dbb2d
mov rax, qword [rcx]
mov r8d, 0xffffffff
mov rdx, rbx
add rsp, 0x20
pop rbx
jmp qword [rax + reloc.WS2_32.dll_htonl]
cmp dword [rbx + 0x198], 2
je 0x1400dbb40
mov dword [rbx + 0x198], 2
inc rax
mov rdx, rbx
mov qword [rbx + 0x20], rax
mov r8d, eax
mov r9, qword [rcx]
call qword [r9 + reloc.WS2_32.dll_htonl]
call fcn.140006d80
add rax, qword [rbx + 0x1c0]
mov qword [rbx + 0x1218], rax
add rsp, 0x20
pop rbx
ret
push rbx
push rdi
sub rsp, 0x38
cmp qword [rcx - 0x1c0], 0
mov rdi, rdx
mov rbx, rcx
je 0x1400de57b
test r8d, r8d
jns 0x1400de272
mov rax, qword [rdx + 0x48]
cmp qword [rdx + 0x40], rax
jne 0x1400de268
mov rax, qword [rdx + 0x60]
cmp qword [rdx + 0x58], rax
jne 0x1400de268
mov al, 1
jmp 0x1400de26a
xor al, al
test al, al
jne 0x1400de57b
mov rcx, qword [rdx + 0x48]
movabs r8, 0x2aaaaaaaaaaaaaab
sub rcx, qword [rdx + 0x40]
mov rax, r8
imul rcx
mov qword [rsp + 0x58], rbp
mov rax, r8
mov qword [rsp + 0x60], rsi
mov rsi, rdx
mov qword [rsp + 0x68], r14
sar rsi, 2
mov rcx, rsi
mov qword [rsp + 0x30], r15
shr rcx, 0x3f
xor r15d, r15d
add rsi, rcx
mov rcx, qword [rdi + 0x60]
sub rcx, qword [rdi + 0x58]
imul rcx
mov r14, rdx
sar r14, 2
mov rax, r14
shr rax, 0x3f
add r14, rax
lea rax, [r14 + rsi]
test rax, rax
je 0x1400de34b
test r14, r14
je 0x1400de315
test rsi, rsi
jne 0x1400de31a
cmp r14, 1
jne 0x1400de2fb
mov rax, qword [rdi + 0x58]
mov edx, r15d
lea rcx, [rdx + rdx*2]
lea rdi, [rax + rcx*8]
jmp 0x1400de352
call fcn.1400b2ae0
cdqe
xor edx, edx
div r14
mov rax, qword [rdi + 0x58]
lea rcx, [rdx + rdx*2]
lea rdi, [rax + rcx*8]
jmp 0x1400de352
test rsi, rsi
je 0x1400de34b
cmp rsi, 1
jne 0x1400de331
mov rax, qword [rdi + 0x40]
mov rdx, r15
lea rcx, [rdx + rdx*2]
lea rdi, [rax + rcx*8]
jmp 0x1400de352
call fcn.1400b2ae0
cdqe
xor edx, edx
div rsi
mov rax, qword [rdi + 0x40]
lea rcx, [rdx + rdx*2]
lea rdi, [rax + rcx*8]
jmp 0x1400de352
lea rdi, [0x140150418]
lea rsi, [rdi + 8]
mov rdx, rsi
lea rcx, [rbx - 0x20]
call fcn.140005dc0
mov eax, dword [rdi]
mov ebp, 0x1c
movzx r14d, word [rbx - 0x48]
cmp eax, 1
jne 0x1400de394
lea ecx, [rax + 0xf]
call fcn.14008c194
xorps xmm0, xmm0
mov edx, r14d
mov r8, rax
mov rdi, rax
movups xmmword [rax], xmm0
mov rcx, qword [rsi]
call fcn.140067870
jmp 0x1400de3c6
cmp eax, 2
jne 0x1400de3c3
mov rcx, rbp
call fcn.14008c194
mov rdi, rax
xorps xmm0, xmm0
xor eax, eax
mov edx, r14d
mov r8, rdi
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rax
mov dword [rdi + 0x18], eax
mov rcx, qword [rsi]
call fcn.1400678d0
jmp 0x1400de3c6
mov rdi, r15
cmp dword [rbx - 0x38], 2
je 0x1400de3d3
mov dword [rbx - 0x38], 2
mov ecx, 0x80
call fcn.14008c194
mov rcx, qword [rbx + 0x1060]
mov r14, rax
mov qword [rax], rcx
mov ecx, 0x140
call fcn.14008c194
mov r8, qword [0x140151990]
mov rcx, qword [rbx + 0x1060]
mov qword [rbx + 0x1070], rax
mov qword [rax], rcx
test r8, r8
jne 0x1400de42d
call fcn.14006b480
test eax, eax
je 0x1400de41f
mov r8, r15
jmp 0x1400de42d
lea r8, [0x1401519c0]
mov qword [0x140151990], r8
mov rdx, qword [rbx + 0x1070]
lea rax, [r8 + 0x10]
mov qword [rdx + 8], r8
lea rcx, [rdx + 0x20]
mov dword [rdx + 0x10], select
mov dword [rdx + 0x58], 8
mov qword [rcx], rax
mov rax, qword [r8 + 0x18]
mov qword [rdx + 0x28], rax
mov qword [rax], rcx
mov qword [r8 + 0x18], rcx
mov qword [rdx + 0x60], r15
mov qword [rdx + 0x78], r15
mov qword [rdx + 0x108], r15
mov dword [rdx + 0x100], r15d
mov qword [rdx + 0xc0], r15
mov qword [rdx + 0xf0], r15
mov qword [rdx + 0x120], r15
mov qword [rdx + 0x138], r15
mov qword [rdx + 0x130], r15
mov dword [rdx + 0x128], r15d
mov dword [rdx + 0x118], r15d
mov r15, qword [rsp + 0x30]
mov dword [rdx + 0x30], 0xffffffff
mov dword [rdx + 0x88], select
mov qword [rdx + 0xf8], 0xffffffffffffffff
mov qword [rdx + 0x80], rdx
mov qword [rdx + 0x110], 0xffffffffffffffff
mov rsi, qword [rbx + 0x1070]
mov rcx, qword [rsi + 0x110]
cmp rcx, 0xffffffffffffffff
je 0x1400de521
mov edx, 6
mov dword [rsp + 0x50], 1
lea r9, [rsp + 0x50]
mov dword [rsp + 0x20], 4
lea r8d, [rdx - 5]
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x1400de521
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
jne 0x1400de528
or dword [rsi + 0x58], 0x1000000
mov rdx, qword [rbx + 0x1070]
mov rsi, qword [rsp + 0x60]
cmp dword [rdx + 0x10], 0xc
jne 0x1400de55e
movzx eax, word [rdi]
cmp ax, 2
jne 0x1400de54a
mov ebp, select
jmp 0x1400de550
cmp ax, 0x17
jne 0x1400de55e
mov r9d, ebp
mov r8, rdi
mov rcx, r14
call fcn.140069a80
mov edx, select
mov rcx, rdi
mov r14, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x58]
add rsp, 0x38
pop rdi
pop rbx
jmp fcn.14008c1d0
add rcx, 0xfffffffffffffe30
add rsp, 0x38
pop rdi
pop rbx
jmp 0x1400dbae0