Function at 0x1400376f0
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
xor esi, esi
mov rbx, r9
mov r14, rcx
test rcx, rcx
je 0x140037970
mov r10, qword [rcx]
cmp r10, 0xffffffffffffffff
je 0x140037970
test r8, r8
je 0x140037970
mov ecx, edx
test edx, edx
je 0x140037913
dec ecx
je 0x1400378af
dec ecx
je 0x140037804
dec ecx
je 0x1400377a0
mov edi, 1
mov esi, edi
dec ecx
je 0x140037779
test rbx, rbx
je 0x140037995
mov rax, qword [r9 + 8]
test rax, rax
je 0x140037995
mov r9d, 0x1eb
mov r8d, edx
jmp 0x14003798e
test rbx, rbx
je 0x140037995
mov rax, qword [r9 + 8]
test rax, rax
je 0x140037995
mov r9d, 0x1bf
mov r8d, 4
jmp 0x14003798e
mov eax, dword [r8]
lea r9, [rsp + 0x40]
mov edx, 0xffff
mov r8d, 8
mov rcx, r10
mov dword [rsp + 0x20], 4
mov dword [rsp + 0x40], eax
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jns 0x140037995
mov esi, 2
test rbx, rbx
je 0x140037995
cmp qword [rbx + 8], 0
je 0x140037995
call fcn.140011a10
mov rcx, qword [rbx]
mov r9d, 0x1b7
mov r8d, dword [rax]
mov edx, esi
call qword [rbx + reloc.WS2_32.dll_htonl]
jmp 0x140037995
cmp dword [r8], esi
mov edx, 0x8004667e
mov rcx, r10
lea r8, [rsp + 0x40]
je 0x140037864
mov edi, 1
mov dword [rsp + 0x40], edi
call qword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
je 0x14003785b
lea esi, [rdi + 1]
test rbx, rbx
je 0x140037995
cmp qword [rbx + 8], 0
je 0x140037995
call fcn.140011a10
mov rcx, qword [rbx]
mov r9d, 0x1d1
mov r8d, dword [rax]
mov edx, esi
call qword [rbx + reloc.WS2_32.dll_htonl]
jmp 0x140037995
mov dword [r14 + 8], edi
jmp 0x140037995
mov dword [rsp + 0x40], esi
call qword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
je 0x1400378a6
mov esi, 2
test rbx, rbx
je 0x140037995
cmp qword [rbx + 8], 0
je 0x140037995
call fcn.140011a10
mov rcx, qword [rbx]
mov r9d, 0x1df
mov r8d, dword [rax]
mov edx, esi
call qword [rbx + reloc.WS2_32.dll_htonl]
jmp 0x140037995
mov dword [r14 + 8], esi
jmp 0x140037995
mov eax, dword [r8]
lea r9, [rsp + 0x40]
mov edx, 0xffff
mov r8d, 4
mov rcx, r10
mov dword [rsp + 0x20], 4
mov dword [rsp + 0x40], eax
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jns 0x140037995
mov esi, 2
test rbx, rbx
je 0x140037995
cmp qword [rbx + 8], 0
je 0x140037995
call fcn.140011a10
mov rcx, qword [rbx]
mov r9d, 0x1ab
mov r8d, dword [rax]
mov edx, esi
call qword [rbx + reloc.WS2_32.dll_htonl]
jmp 0x140037995
movzx eax, word [r8]
mov edi, 1
lea r9, [rsp + 0x40]
lea r8d, [rdi + 0x7f]
mov edx, 0xffff
mov rcx, r10
mov word [rsp + 0x40], di
mov word [rsp + 0x42], ax
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jns 0x140037995
lea esi, [rdi + 1]
test rbx, rbx
je 0x140037995
cmp qword [rbx + 8], 0
je 0x140037995
call fcn.140011a10
mov rcx, qword [rbx]
mov r9d, 0x19f
mov r8d, dword [rax]
mov edx, esi
call qword [rbx + reloc.WS2_32.dll_htonl]
jmp 0x140037995
mov edi, 1
mov esi, edi
test rbx, rbx
je 0x140037995
mov rax, qword [r9 + 8]
test rax, rax
je 0x140037995
mov r9d, 0x187
xor r8d, r8d
mov rcx, qword [rbx]
mov edx, edi
call rax
mov rbx, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x58]
mov eax, esi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret