Function at 0x14000b7e0
Capabilities:
Set socket configuration

Disassembly:
push rdi
sub rsp, 0x40
mov rax, qword [0x1401f4040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov ecx, 0x2b88
call qword [0x1401f4168]
mov rdi, rax
test rax, rax
jne 0x14000b823
call qword [0x1401f4178]
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14012ada0
add rsp, 0x40
pop rdi
ret
xor edx, edx
mov qword [rsp + 0x50], rbx
mov r8d, 0x2b88
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
mov ecx, 0x410
call qword [0x1401f4168]
mov rbx, rax
test rax, rax
jne 0x14000b868
call qword [0x1401f4178]
mov rcx, rdi
mov qword [rdi + 0x88], rbx
call qword [0x1401f4170]
xor eax, eax
jmp 0x14000bc2a
xor edx, edx
mov qword [rsp + 0x58], rbp
mov r8d, 0x410
mov qword [rdi + 0x88], rbx
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
xor r8d, r8d
mov edx, 2
mov ecx, reloc.WS2_32.dll_socket
call qword [sym.imp.WS2_32.dll_socket]
xor r8d, r8d
mov edx, 1
mov ecx, reloc.WS2_32.dll_socket
mov qword [rdi], rax
call qword [sym.imp.WS2_32.dll_socket]
mov rcx, qword [rdi]
xor ebp, ebp
mov qword [rdi + 8], rax
cmp rcx, 0xffffffffffffffff
je 0x14000b8de
lea r9, [rsp + 0x30]
mov dword [rsp + 0x30], ebp
mov edx, 0x29
mov dword [rsp + 0x20], 4
mov r8d, 0x1b
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, qword [rdi]
cmp rcx, 0xffffffffffffffff
je 0x14000bbfd
lea r8, [rsp + 0x30]
mov qword [rsp + 0x60], rsi
mov edx, 0x8004667e
mov dword [rsp + 0x30], 1
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov rcx, qword [rdi]
lea r9, [rsp + 0x30]
mov edx, 0xffff
mov dword [rsp + 0x30], 1
mov r8d, 0x20
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, qword [rdi]
lea r9, [rsp + 0x30]
mov edx, 0xffff
mov dword [rsp + 0x30], 0x40000
mov r8d, 0x1002
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, qword [rdi]
lea r9, [rsp + 0x30]
mov edx, 0xffff
mov dword [rsp + 0x30], 0x40000
mov r8d, 0x1001
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, qword [rdi]
lea r9, [rsp + 0x30]
mov edx, 0x29
mov dword [rsp + 0x30], ebp
mov r8d, 0x1b
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, qword [rdi + 8]
lea r8, [rsp + 0x30]
mov edx, 0x8004667e
mov dword [rsp + 0x30], 1
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov rcx, qword [rdi + 8]
lea r9, [rsp + 0x30]
mov edx, 6
mov dword [rsp + 0x30], ebp
mov r8d, 1
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, qword [rdi + 8]
lea r9, [rsp + 0x30]
mov edx, 0x29
mov dword [rsp + 0x30], ebp
mov r8d, 0x1b
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
movups xmm0, xmmword [0x140156370]
mov word [rdi + 0x34], bp
mov byte [rdi + 0x3b], 1
movups xmmword [rdi + 0x24], xmm0
mov dword [rdi + 0x7c], edi
call qword [sym.imp.WINMM.dll_timeGetTime]
add dword [rdi + 0x7c], eax
mov eax, dword [rdi + 0x7c]
movups xmm0, xmmword [0x140156370]
ror eax, 0x10
mov dword [rdi + 0x7c], eax
mov qword [rdi + 0x98], 1
mov qword [rdi + 0x6c], rbp
mov dword [rdi + 0x74], ebp
mov dword [rdi + 0x80], ebp
mov dword [rdi + 0x78], 0x578
mov qword [rdi + 0x90], 2
mov qword [rdi + 0x6d0], rbp
mov qword [rdi + 0xae8], rbp
mov qword [rdi + 0xaf0], rbp
movups xmmword [rdi + 0x2b18], xmm0
mov word [rdi + 0x2b28], bp
mov qword [rdi + 0x2b30], rbp
mov qword [rdi + 0x2b38], rbp
mov qword [rdi + 0x2b40], rbp
mov qword [rdi + 0x2b48], rbp
mov qword [rdi + 0x2b58], rbp
mov qword [rdi + 0x2b60], rbp
mov qword [rdi + 0x2b68], 0xfff
lea rax, [rdi + 0xa8]
mov qword [rdi + 0x2b70], 0x2000000
mov qword [rax], rax
mov qword [rax + 8], rax
imul rax, qword [rdi + 0x90], 0x208
mov rsi, qword [rdi + 0x88]
add rax, rsi
mov qword [rdi + 0x2b78], 0x2000000
mov qword [rdi + 0xaf8], rbp
mov qword [rdi + 0xb00], rbp
mov qword [rdi + 0xb08], rbp
mov qword [rdi + 0xb10], rbp
mov qword [rdi + 0x2b50], rbp
cmp rsi, rax
jae 0x14000bbf3
mov qword [rsp + 0x68], r14
lea rbx, [rsi + 0x128]
movabs r14, 0xfc0fc0fc0fc0fc1
nop dword [rax]
mov qword [rbx - 0x118], rdi
mov rcx, rsi
sub rcx, qword [rdi + 0x88]
mov rax, r14
imul rcx
mov rcx, rsi
mov word [rbx - 0x108], 0xffff
sar rdx, 5
mov rax, rdx
mov qword [rbx - 0xf0], rbp
shr rax, 0x3f
add rdx, rax
lea rax, [rbx - 0x18]
mov qword [rax], rax
mov qword [rbx - 0x10], rax
lea rax, [rbx - 8]
mov qword [rax], rax
mov qword [rbx], rax
lea rax, [rbx + 8]
mov qword [rax], rax
mov qword [rbx + 0x10], rax
lea rax, [rbx + 0x18]
mov qword [rax], rax
mov qword [rbx + 0x20], rax
lea rax, [rbx + 0x28]
mov qword [rax], rax
mov qword [rbx + 0x30], rax
lea rax, [rbx + 0x38]
mov qword [rax], rax
mov qword [rbx + 0x40], rax
mov word [rbx - 0x10e], dx
call fcn.14000ace0
imul rax, qword [rdi + 0x90], 0x208
add rsi, 0x208
lea rbx, [rbx + 0x208]
add rax, qword [rdi + 0x88]
cmp rsi, rax
jb 0x14000bb40
mov r14, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
mov rax, rdi
jmp 0x14000bc25
mov rcx, qword [rdi + 8]
cmp rcx, 0xffffffffffffffff
je 0x14000bc0d
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [rdi + 0x88]
call qword [0x1401f4170]
mov rcx, rdi
call qword [0x1401f4170]
xor eax, eax
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14012ada0
add rsp, 0x40
pop rdi
ret