Function at 0x14003b730
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov rbx, qword [rsp + 0xa0]
movzx ebp, r9b
movzx r9d, byte [rdx + 0x168]
mov rsi, rdx
mov rdx, rcx
mov r15, rcx
mov rcx, rbx
movzx r14d, r8b
call fcn.140028f50
test eax, eax
jne 0x14003b9a0
mov rcx, rbx
call fcn.140028a70
mov edx, 1
movzx ecx, ax
lea r8d, [rdx + 5]
call fcn.140020a50
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14003b808
test bpl, bpl
je 0x14003b9a0
mov rcx, rbx
call fcn.140028a70
cmp ax, 0x17
jne 0x14003b9a0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 0x66
jne 0x14003b9a0
cmp byte [rsi + 0x168], 0
je 0x14003b9a0
xor r9d, r9d
movzx r8d, r14b
mov rdx, r15
mov rcx, rbx
call fcn.140028f50
test eax, eax
jne 0x14003b9a0
lea edx, [rdi + 2]
lea ecx, [rdi + 3]
lea r8d, [rdi + 7]
call fcn.140020a50
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14003b9a0
mov rcx, rbx
call fcn.140028a70
cmp ax, 0x17
jne 0x14003b81e
mov rcx, rdi
call fcn.14001fa40
mov edx, dword [rsi + 0x12c]
test edx, edx
je 0x14003b830
mov rcx, rdi
call fcn.140020ab0
mov edx, dword [rsi + 0x130]
test edx, edx
je 0x14003b842
mov rcx, rdi
call fcn.140020b70
cmp byte [rsi + 0x351], 0
lea r14, str.C:UsersAdmin_vcpkg_buildtreeszeromq_src_v4.3.5_37c87b6b8c.clean_src_tcp.cpp
je 0x14003b90e
xor ecx, ecx
mov dword [rsp + 0x50], 1
mov qword [rsp + 0x40], rcx
lea rax, [rsp + 0x88]
mov qword [rsp + 0x38], rcx
lea r8, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov edx, 0x98000010
mov dword [rsp + 0x28], ecx
lea r9d, [rcx + 4]
mov qword [rsp + 0x20], rcx
mov dword [rsp + 0x88], ecx
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_WSAIoctl]
cmp eax, 0xffffffff
jne 0x14003b90e
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x273d
je 0x14003b90e
call fcn.14000fcc0
mov rbp, rax
test rax, rax
je 0x14003b90e
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 2
mov ebx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov dword [rsp + 0x28], 0x135
lea rdx, str.Assertion_failed:__s___i____s:_d__n
mov rcx, rax
mov qword [rsp + 0x20], r14
mov r9d, ebx
mov r8, rbp
call fcn.14000f4d0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov rcx, rbp
call fcn.1400102a0
cmp qword [rsi + 0x340], 0
je 0x14003b9c1
lea rdx, [rsi + 0x330]
mov rcx, rdi
call fcn.14001cfb0
cmp eax, 0xffffffff
jne 0x14003b9c1
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
cmp eax, 0xffffffff
jne 0x14003b9a0
call fcn.14000fcc0
mov rdi, rax
test rax, rax
je 0x14003b9a0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 2
mov ebx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov dword [rsp + 0x28], 0x18d
lea rdx, str.Assertion_failed:__s___i____s:_d__n
mov rcx, rax
mov qword [rsp + 0x20], r14
mov r9d, ebx
mov r8, rdi
call fcn.14000f4d0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov rcx, rdi
call fcn.1400102a0
mov rax, 0xffffffffffffffff
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
mov eax, dword [rsi + 0x124]
test eax, eax
js 0x14003ba00
lea r9, [rsp + 0x88]
mov dword [rsp + 0x88], eax
mov edx, 0xffff
mov dword [rsp + 0x20], 4
mov r8d, 0x1001
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_setsockopt]
mov edx, eax
mov rcx, rdi
call fcn.14001f5a0
mov eax, dword [rsi + 0x128]
test eax, eax
js 0x14003ba3f
lea r9, [rsp + 0x88]
mov dword [rsp + 0x88], eax
mov edx, 0xffff
mov dword [rsp + 0x20], 4
mov r8d, 0x1002
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_setsockopt]
mov edx, eax
mov rcx, rdi
call fcn.14001f5a0
mov rax, rdi
jmp 0x14003b9a7