Function at 0x1400fe210
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov ebx, r8d
mov r15, rdx
mov rsi, rcx
mov rdi, qword [rbp + 0xe0]
xor r13d, r13d
cmp r8d, 2
je 0x1400fe256
cmp ebx, 0x17
jne 0x1400fe47d
lea eax, [r9 - 1]
test eax, 0xfffffffb
jne 0x1400fe47d
xor eax, eax
lea edx, [rax + 0x10]
lock cmpxchg qword [rcx + 0x18], r13
mov r12, rax
mov qword [rsp + 0x60], rax
jne 0x1400fe301
mov dword [rsp + 0x50], 0x25a207b9
mov dword [rsp + 0x54], 0x4660ddf3
mov dword [rsp + 0x58], 0xe576e98e
mov dword [rsp + 0x5c], 0x3e06748c
mov dword [rbp + 0xc0], r13d
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r13
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, edx
lea r8, [rsp + 0x50]
mov edx, 0xc8000006
mov rcx, qword [r15]
call qword [sym.imp.WS2_32.dll_WSAIoctl]
mov rcx, qword [rsp + 0x60]
test eax, eax
cmovne rcx, rsi
mov qword [rsp + 0x60], rcx
xchg qword [rsi + 0x18], rcx
mov r12, qword [rsp + 0x60]
mov edx, reloc.WS2_32.dll_recv
cmp r12, rsi
cmove r12, r13
test r12, r12
je 0x1400fe47d
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x28], eax
mov word [rbp - 0x40], bx
mov rcx, qword [r15]
cmp rcx, 0xffffffffffffffff
jne 0x1400fe34a
call fcn.1400af580
mov r8, rax
mov edx, 0x2719
lea rcx, [rbp - 8]
call fcn.1400ad280
movups xmm0, xmmword [rbp - 8]
jmp 0x1400fe397
mov r8d, 0x1c
cmp ebx, 2
cmove r8d, edx
lea rdx, [rbp - 0x40]
call qword [sym.imp.WS2_32.dll_bind]
test eax, eax
jne 0x1400fe378
lea rcx, [rdi + 0x38]
call fcn.1400ad2a0
mov dword [rdi + 0x38], r13d
mov qword [rdi + 0x40], rax
jmp 0x1400fe39b
call fcn.1400af580
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8, rbx
mov edx, eax
lea rcx, [rbp + 0x50]
call fcn.1400ad280
movups xmm0, xmmword [rax]
movups xmmword [rdi + 0x38], xmm0
lea rcx, [rdi + 0x38]
call fcn.1400ad300
test al, al
je 0x1400fe40f
call fcn.1400af580
mov r8, rax
mov edx, 0x2726
lea rcx, [rbp + 0x10]
call fcn.1400ad280
movaps xmm0, xmmword [rbp + 0x10]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rdi + 0x38]
call fcn.1400ad2a0
mov rbx, rax
lea rcx, [rsp + 0x70]
call fcn.1400ad2a0
mov rdx, rax
mov rcx, rbx
call fcn.1400ad220
test al, al
je 0x1400fe406
lea rcx, [rdi + 0x38]
call fcn.1400ad290
mov ebx, eax
lea rcx, [rsp + 0x70]
call fcn.1400ad290
cmp ebx, eax
je 0x1400fe40f
mov rcx, qword [rsi + 8]
jmp 0x1400fe4be
mov byte [rdi + 0x68], 1
mov rax, qword [rsi + 8]
lock inc dword [rax + 0x30]
mov rdi, qword [rbp + 0xe8]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], r13d
xor r9d, r9d
mov r8d, dword [rbp + 0xd8]
mov rdx, qword [rbp + 0xd0]
mov rcx, qword [r15]
call r12
mov ebx, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test ebx, ebx
jne 0x1400fe46f
cmp eax, 0x3e5
je 0x1400fe46f
xor r9d, r9d
mov r8d, eax
mov rdx, rdi
mov rcx, qword [rsi + 8]
call fcn.1400fb9f0
jmp 0x1400fe4c6
mov rdx, rdi
mov rcx, qword [rsi + 8]
call fcn.1400fb970
jmp 0x1400fe4c6
mov rcx, rsi
call fcn.1400fe780
mov r14, rax
test byte [r15 + 8], 3
jne 0x1400fe522
mov rcx, qword [r15]
cmp rcx, 0xffffffffffffffff
jne 0x1400fe4ec
call fcn.1400af580
mov r8, rax
mov edx, 0x2719
lea rcx, [rbp - 0x50]
call fcn.1400ad280
movups xmm0, xmmword [rbp - 0x50]
movups xmmword [rdi + 0x38], xmm0
mov rcx, qword [r14 + 0x28]
mov rdx, rdi
call fcn.1400f7b60
mov eax, 0xffffffff
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov dword [rsp + 0x68], 1
lea r8, [rsp + 0x68]
mov edx, 0x8004667e
call qword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
js 0x1400fe63e
lea rcx, [rdi + 0x38]
call fcn.1400ad2a0
mov dword [rdi + 0x38], r13d
mov qword [rdi + 0x40], rax
or byte [r15 + 8], 2
lea r9, [rdi + 0x38]
mov r8, qword [rbp + 0xd8]
mov rdx, qword [rbp + 0xd0]
mov rcx, qword [r15]
call fcn.1400fbfd0
test eax, eax
je 0x1400fe4ba
call fcn.1400af580
mov r8, rax
mov edx, 0x2734
lea rcx, [rbp + 0x20]
call fcn.1400ad280
movaps xmm0, xmmword [rbp + 0x20]
movdqa xmmword [rbp - 0x80], xmm0
lea rcx, [rdi + 0x38]
call fcn.1400ad2a0
mov rbx, rax
lea rcx, [rbp - 0x80]
call fcn.1400ad2a0
mov rdx, rax
mov rcx, rbx
call fcn.1400ad220
test al, al
je 0x1400fe59f
lea rcx, [rdi + 0x38]
call fcn.1400ad290
mov ebx, eax
lea rcx, [rbp - 0x80]
call fcn.1400ad290
cmp ebx, eax
je 0x1400fe602
call fcn.1400af580
mov r8, rax
mov edx, 0x2733
lea rcx, [rbp + 0x30]
call fcn.1400ad280
movaps xmm0, xmmword [rbp + 0x30]
movdqa xmmword [rbp - 0x70], xmm0
lea rcx, [rdi + 0x38]
call fcn.1400ad2a0
mov rbx, rax
lea rcx, [rbp - 0x70]
call fcn.1400ad2a0
mov rdx, rax
mov rcx, rbx
call fcn.1400ad220
test al, al
je 0x1400fe4ba
lea rcx, [rdi + 0x38]
call fcn.1400ad290
mov ebx, eax
lea rcx, [rbp - 0x70]
call fcn.1400ad290
cmp ebx, eax
jne 0x1400fe4ba
lea rcx, [rbp + 0x60]
call fcn.1400ad260
movups xmm0, xmmword [rax]
movups xmmword [rdi + 0x38], xmm0
mov rbx, qword [r15]
lea rdx, [r14 + 0x30]
lea rcx, [rbp + 0x40]
call fcn.1400c6570
nop
cmp byte [r14 + 0x1e8], 0
je 0x1400fe662
mov rdx, rdi
mov rcx, qword [r14 + 0x28]
call fcn.1400f7b60
jmp 0x1400fe6c2
call fcn.1400af580
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8, rbx
mov edx, eax
lea rcx, [rbp - 0x50]
call fcn.1400ad280
movups xmm0, xmmword [rax]
jmp 0x1400fe4b6
lea rcx, [r14 + 0x110]
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x70], xmm0
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x18], r13
mov qword [rbp - 0x10], r13
lea r8, [rbp - 0x20]
lea rdx, [rbp - 0x60]
call fcn.140100220
nop
mov rax, qword [rbp - 0x60]
mov qword [rdi + 0x20], r13
mov rcx, qword [rax + 0x20]
test rcx, rcx
je 0x1400fe6a2
mov qword [rcx + 0x20], rdi
jmp 0x1400fe6a6
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], rdi
mov rax, qword [r14 + 0x28]
lock inc dword [rax + 0x30]
cmp byte [rbp - 0x58], 0
je 0x1400fe6c2
lea rcx, [r14 + 0x58]
call fcn.1400fcfa0
nop
lea rcx, [rbp + 0x40]
call fcn.1400c6560
mov eax, 3
jmp 0x1400fe4cb