Function at 0x140007090
Capabilities:
Set socket configuration

Disassembly:
push rbx
push rbp
push r14
push r15
sub rsp, 0x68
mov rax, qword [0x140069040]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor r15d, r15d
mov rbx, r9
mov r14, rdx
mov rbp, rcx
cmp rcx, 0xffffffffffffffff
je 0x140007344
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x58], r12
mov r12d, 4
test r8b, r8b
je 0x140007152
movzx eax, byte [rdx]
test al, 8
je 0x140007152
or al, 8
mov dword [rsp + 0x40], r15d
mov byte [rdx], al
lea r9, [rsp + 0x40]
mov edx, 0xffff
mov dword [rsp + 0x20], 4
mov r8d, 0x80
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x140007152
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [r12 + rcx]
cmp dword [0x14007cac8], eax
jle 0x14000714c
lea rcx, [0x14007cac8]
call fcn.140044870
cmp dword [0x14007cac8], 0xffffffff
jne 0x14000714c
lea rcx, [0x140049d00]
call fcn.140044ebc
lea rcx, [0x14007cac8]
call fcn.140044804
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_closesocket]
mov edi, eax
test eax, eax
jne 0x140007169
mov dword [rbx], r15d
jmp 0x1400072bf
mov rax, qword gs:[0x58]
mov qword [rsp + 0xa0], rsi
mov esi, r12d
mov qword [rsp + 0x50], r13
add rsi, qword [rax]
mov eax, dword [rsi]
cmp dword [0x14007cac8], eax
jle 0x1400071bc
lea rcx, [0x14007cac8]
call fcn.140044870
cmp dword [0x14007cac8], 0xffffffff
jne 0x1400071bc
lea rcx, [0x140049d00]
call fcn.140044ebc
lea rcx, [0x14007cac8]
call fcn.140044804
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r13, [0x140075e40]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x38], r13
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx], xmm0
mov edx, dword [0x14007cac8]
cmp edx, dword [rsi]
jle 0x140007219
lea rcx, [0x14007cac8]
call fcn.140044870
mov edx, dword [0x14007cac8]
cmp edx, 0xffffffff
jne 0x140007219
lea rcx, [0x140049d00]
call fcn.140044ebc
lea rcx, [0x14007cac8]
call fcn.140044804
mov edx, dword [0x14007cac8]
mov rcx, qword [rbx + 8]
mov rax, qword [str.__a_]
cmp qword [rcx + 8], rax
jne 0x140007232
cmp dword [rbx], 0x2733
je 0x140007284
cmp edx, dword [rsi]
jle 0x140007263
lea rcx, [0x14007cac8]
call fcn.140044870
cmp dword [0x14007cac8], 0xffffffff
jne 0x140007263
lea rcx, [0x140049d00]
call fcn.140044ebc
lea rcx, [0x14007cac8]
call fcn.140044804
mov rdx, qword [rbx + 8]
mov rax, qword [str.__a_]
cmp qword [rdx + 8], rax
jne 0x14000733d
cmp dword [rbx], 0x4d5
jne 0x14000733d
lea r8, [rsp + 0x40]
mov dword [rsp + 0x40], r15d
mov edx, 0x8004667e
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_ioctlsocket]
and byte [r14], 0xfc
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_closesocket]
mov edi, eax
test eax, eax
jne 0x1400072e1
mov dword [rbx], r15d
mov rsi, qword [rsp + 0xa0]
mov r13, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x60]
mov r12, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400447a0
add rsp, 0x68
pop r15
pop r14
pop rbp
pop rbx
ret
mov rax, qword gs:[0x58]
mov rdx, qword [rax]
mov eax, dword [r12 + rdx]
cmp dword [0x14007cac8], eax
jle 0x140007326
lea rcx, [0x14007cac8]
call fcn.140044870
cmp dword [0x14007cac8], 0xffffffff
jne 0x140007326
lea rcx, [0x140049d00]
call fcn.140044ebc
lea rcx, [0x14007cac8]
call fcn.140044804
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x38], r13
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx], xmm0
mov eax, edi
jmp 0x1400072b2
mov eax, r15d
jmp 0x1400072c9