Function at 0x14003e500
Capabilities:
Set socket configuration

Disassembly:
push rdi
sub rsp, 0x40
mov rax, qword [0x140111028]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov ecx, 0x2b18
call qword [str._z_f_]
mov rdi, rax
test rax, rax
jne 0x14003e543
call qword [str.6z_f_]
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400c6990
add rsp, 0x40
pop rdi
ret
xor edx, edx
mov qword [rsp + 0x50], rbx
mov r8d, 0x2b18
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
mov ecx, 0x1d8
call qword [str._z_f_]
mov rbx, rax
test rax, rax
jne 0x14003e57a
call qword [str.6z_f_]
mov qword [rdi + 0x28], rbx
jmp 0x14003e816
xor edx, edx
mov qword [rdi + 0x28], rbx
mov r8d, 0x1d8
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
mov edx, 2
xor r8d, r8d
mov ecx, edx
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rdi], rax
cmp rax, 0xffffffffffffffff
je 0x14003e80c
mov qword [rsp + 0x58], rbp
lea r8, [rsp + 0x30]
mov edx, 0x8004667e
mov qword [rsp + 0x60], rsi
mov rcx, rax
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 dword [rdi + 0x20], edi
call qword [sym.imp.WINMM.dll_timeGetTime]
xor ebp, ebp
mov qword [rdi + 0x30], 1
add dword [rdi + 0x20], eax
mov eax, dword [rdi + 0x20]
ror eax, 0x10
mov dword [rdi + 0x20], eax
lea rax, [rdi + 0x48]
mov qword [rax], rax
mov qword [rax + 8], rax
imul rax, qword [rdi + 0x30], 0x1d8
mov rsi, qword [rdi + 0x28]
add rax, rsi
mov qword [rdi + 0x38], 2
mov qword [rdi + 0x10], rbp
mov dword [rdi + 0x18], ebp
mov dword [rdi + 0x24], ebp
mov dword [rdi + 0x1c], 0x578
mov qword [rdi + 0x670], rbp
mov qword [rdi + 0xa88], rbp
mov qword [rdi + 0xa90], rbp
mov dword [rdi + 0x2ab8], ebp
mov word [rdi + 0x2abc], bp
mov qword [rdi + 0x2ac0], rbp
mov qword [rdi + 0x2ac8], rbp
mov qword [rdi + 0x2ad0], rbp
mov qword [rdi + 0x2ad8], rbp
mov qword [rdi + 0x2ae8], rbp
mov qword [rdi + 0x2af0], rbp
mov qword [rdi + 0x2af8], 0xfff
mov qword [rdi + 0x2b00], 0x2000000
mov qword [rdi + 0x2b08], 0x2000000
mov qword [rdi + 0xa98], rbp
mov qword [rdi + 0xaa0], rbp
mov qword [rdi + 0xaa8], rbp
mov qword [rdi + 0xab0], rbp
mov qword [rdi + 0x2ae0], rbp
cmp rsi, rax
jae 0x14003e7fd
mov qword [rsp + 0x68], r14
lea rbx, [rsi + 0xf8]
movabs r14, 0x8ad8f2fba9386823
nop dword [rax]
mov qword [rbx - 0xe8], rdi
mov rcx, rsi
sub rcx, qword [rdi + 0x28]
mov rax, r14
imul rcx
mov word [rbx - 0xd8], 0xffff
add rdx, rcx
mov qword [rbx - 0xc8], rbp
sar rdx, 8
mov rcx, rsi
mov rax, rdx
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 - 0xde], dx
call fcn.14003f6c0
imul rax, qword [rdi + 0x30], 0x1d8
add rsi, 0x1d8
lea rbx, [rbx + 0x1d8]
add rax, qword [rdi + 0x28]
cmp rsi, rax
jb 0x14003e750
mov r14, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
mov rax, rdi
mov rbp, qword [rsp + 0x58]
jmp 0x14003e821
mov rcx, qword [rdi + 0x28]
call qword [str.0z_f_]
mov rcx, rdi
call qword [str.0z_f_]
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400c6990
add rsp, 0x40
pop rdi
ret