Function at 0x14003db3b
Capabilities:
Set socket configuration

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
cmp r8d, 0x3b9aca00
je 0x14003dda3
mov ebx, r8d
mov rdi, rdx
mov rsi, rcx
call fcn.14001a3b0
mov r15, rax
mov r14d, edx
xor ebp, ebp
cmp rax, rdi
setne bpl
mov eax, 0xff
cmovbe eax, ebp
test al, al
jne 0x14003db89
cmp r14d, ebx
setne al
ja 0x14003dc4d
cmp al, 1
jne 0x14003dc4d
mov r8, qword [0x14005a140]
test r8, r8
jne 0x14003dbc8
lea rcx, [rsp + 0x30]
and qword [rcx], 0
call sub.KERNEL32.dll_QueryPerformanceFrequency
test eax, eax
je 0x14003dddf
mov r8, qword [rsp + 0x30]
mov qword [0x14005a140], r8
test r8, r8
je 0x14003ddbb
mov eax, 0x3b9aca00
xor edx, edx
div r8
lea ecx, [rax - 0x3b9aca00]
xor r9d, r9d
cmp r8, 2
setb r9b
cmovae ecx, eax
cmp ecx, 0x3b9aca00
jb 0x14003dc00
mov r8d, 0x3b9aca00
mov eax, ecx
xor edx, edx
div r8d
add r9, rax
mov ecx, edx
cmp r15, rdi
mov eax, 0xff
cmovb ebp, eax
test bpl, bpl
jne 0x14003dc1d
cmp r14d, ebx
setne bpl
jb 0x14003dcbd
cmp bpl, 1
jne 0x14003dcbd
mov r10, r15
sub r10, rdi
jb 0x14003ddc7
cmp r14d, ebx
jae 0x14003dc6d
test r10, r10
je 0x14003ddc7
dec r10
lea eax, [r14 + 0x3b9aca00]
jmp 0x14003dc70
lea rdx, [0x14005259c]
mov r8d, 0x22
mov cl, 0x16
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
jmp fcn.140016e58
mov eax, r14d
sub eax, ebx
cmp eax, 0x3b9aca00
jb 0x14003dc92
mov r8d, 0x3b9aca00
xor edx, edx
div r8d
mov r8d, eax
add r10, r8
jb 0x14003de1a
mov eax, edx
xor edx, edx
cmp r10, r9
setne dl
mov r8d, 0xff
cmovb edx, r8d
xor r9d, r9d
cmp eax, ecx
setne r9b
cmovb r9d, r8d
test dl, dl
cmovne r9d, edx
cmp r9b, 1
jne 0x14003dd09
mov r8d, 0x3b9aca00
cmp r15, rdi
jbe 0x14003dcca
jmp 0x14003dd0e
sub rdi, r15
cmp r14d, ebx
jbe 0x14003dce0
test rdi, rdi
je 0x14003dcc8
dec rdi
add ebx, 0x3b9aca00
mov r8d, ebx
sub r8d, r14d
cmp r8d, 0x3b9aca00
jb 0x14003dd0e
mov ecx, 0x3b9aca00
mov eax, r8d
xor edx, edx
div ecx
add rdi, rax
jb 0x14003de1a
mov r8d, edx
jmp 0x14003dd0e
xor edi, edi
xor r8d, r8d
xor eax, eax
cmp r8d, 0x3b9aca00
cmove r8d, eax
mov rcx, qword [rsi]
cmovne rax, rdi
mov edx, 0x3e8
mul rdx
mov r10d, 0xffffffff
jo 0x14003dd66
mov r9, rax
mov r11d, 0xf4240
mov eax, r8d
xor edx, edx
div r11d
add r9, rax
jb 0x14003dd66
xor eax, eax
test edx, edx
setne al
add r9, rax
jb 0x14003dd66
mov r10d, 0xffffffff
cmp r9, r10
cmovb r10, r9
test r10, r10
je 0x14003ddb2
lea r9, [rsp + 0x38]
mov dword [r9], r10d
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, 0x1006
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x14003dd8f
xor ecx, ecx
jmp 0x14003dd9e
call sub.ws2_32.dll_WSAGetLastError
mov ecx, eax
shl rcx, 0x20
or rcx, 2
call fcn.14003de67
xor eax, eax
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
lea rcx, str.cannot_set_a_0_duration_timeout
jmp 0x14003dd9e
lea rcx, str.library_std_src_syspalwindows_time.rs
call fcn.140007cc0
lea rcx, str.overflow_when_subtracting_durations
lea r8, str._rustc_129f3b9964af4d4a709d1383930ade12dfe7c081librarycore_src_time.rs
mov edx, 0x23
call fcn.14000a750
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
lea r8, [rsp + 0x38]
mov qword [r8], rax
lea rax, str.library_std_src_syspalwindows_time.rs
mov qword [rsp + 0x20], rax
lea rcx, str.called__Result::unwrap____on_an__Err__value
lea r9, fcn.140017bc0
mov edx, 0x2b
call fcn.140009330
ud2
lea rax, str.overflow_in_Duration::new
lea rcx, [rsp + 0x38]
mov qword [rcx], rax
mov qword [rcx + 8], 1
mov qword [rcx + 0x10], 8
xorps xmm0, xmm0
movups xmmword [rcx + 0x18], xmm0
lea rdx, str._rustc_129f3b9964af4d4a709d1383930ade12dfe7c081librarycore_src_time.rs
call fcn.140006ba0
mov rsi, rax
lea rcx, [rsp + 0x38]
call fcn.140017bc0
mov rcx, rsi
call fcn.140043590
call fcn.14000ab20
int3