Function at 0x18001f520
Capabilities:
Set socket configuration

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
mov qword [rsp + 0x70], 0xfffffffffffffffe
xor r8d, r8d
mov edx, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
call fcn.180004580
nop
mov rax, qword [rsp + 0x90]
lea rcx, vtable.NS::WireGeneric.0
mov qword [rax], rcx
mov rax, qword [rsp + 0x90]
mov ecx, dword [rsp + 0xa0]
mov dword [rax + 0x10], ecx
mov rax, qword [rsp + 0x90]
add rax, 0x18
mov rcx, rax
call fcn.180005570
nop
mov rax, qword [rsp + 0x90]
mov ecx, dword [rsp + 0xb8]
mov dword [rax + 0x44], ecx
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0xb0]
mov qword [rax + 0x60], rcx
mov rax, qword [rsp + 0x90]
mov ecx, dword [rsp + 0xa8]
mov dword [rax + 0x68], ecx
mov rax, qword [rsp + 0x90]
add rax, 0x78
mov rcx, rax
call fcn.180005630
nop
mov rax, qword [rsp + 0x90]
add rax, 0xc8
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov rcx, rax
call fcn.180005570
nop
mov rax, qword [rsp + 0x48]
add rax, 0x28
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call fcn.1800081d0
nop
mov rax, qword [rsp + 0x90]
cmp dword [rax + 0x44], 0
je 0x18001f679
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 0x60]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 0x44]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x90]
mov r9d, dword [rax + 0x68]
lea r8, str.Wire_created__index__d___channel__d___socket__d_
mov edx, 4
mov rcx, qword [rsp + 0x90]
call fcn.18000b5d0
jmp 0x18001f6ad
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 0x60]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x90]
mov r9d, dword [rax + 0x68]
lea r8, str.Wire_created__index__d___socket__d_
mov edx, 4
mov rcx, qword [rsp + 0x90]
call fcn.18000b5d0
mov rax, qword [rsp + 0x90]
mov byte [rax + 0x70], 0
mov rax, qword [rsp + 0x90]
mov dword [rax + 0x6c], 0
mov rax, qword [rsp + 0x90]
mov dword [rax + 0x40], 3
mov rax, qword [rsp + 0x90]
mov dword [rax + 0x48], 0
mov rax, qword [rsp + 0x90]
mov byte [rax + 0x72], 0
mov rax, qword [rsp + 0x90]
mov byte [rax + 0x71], 0
mov rax, qword [rsp + 0x90]
mov dword [rax + 0xb0], 0
mov rax, qword [rsp + 0x90]
mov dword [rax + 0xb4], 0
mov rax, qword [rsp + 0x90]
mov byte [rax + 0xc6], 1
mov rax, qword [rsp + 0x90]
mov byte [rax + 0x118], 0
mov ecx, 0x100
call fcn.180069fc0
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x18001f771
mov rdi, qword [rsp + 0x38]
xor eax, eax
mov ecx, 0x100
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x50], rax
jmp 0x18001f77a
mov qword [rsp + 0x50], 0
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 0x50], rcx
mov ecx, 0x100
call fcn.180069fc0
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x18001f7bc
mov rdi, qword [rsp + 0x40]
xor eax, eax
mov ecx, 0x100
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x58], rax
jmp 0x18001f7c5
mov qword [rsp + 0x58], 0
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x58]
mov qword [rax + 0x58], rcx
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x30]
mov r8d, 1
mov edx, 6
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.WS2_32.dll_setsockopt]
nop
mov rax, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret