Function at 0x1401d98c0
Capabilities:
Connect socket
Get local ipv4 addresses
Get socket information
Set socket configuration

Disassembly:
jmp 0x1404ea630
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rsi
push rdi
sub rsp, 0x1d8
lea rdi, [rsp + 0x30]
mov ecx, 0x6a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x1f0]
mov rax, qword [0x140812ac0]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov dword [rsp + 0x64], reloc.WS2_32.dll_recv
mov dword [rsp + 0x74], 1
lea rax, [0x1407f6700]
mov qword [rsp + 0x20], rax
mov r9d, __WSAFDIsSet
mov r8d, 6
mov edx, 1
mov ecx, 2
call fcn.1401d7afc
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0xffffffffffffffff
jne 0x1404ea6c3
mov eax, 0xffffffff
jmp 0x1404eac43
mov r8d, reloc.WS2_32.dll_recv
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.1401dafc2
mov eax, 2
mov word [rsp + 0x38], ax
mov ecx, 0x7f000001
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rsp + 0x3c], eax
xor eax, eax
mov word [rsp + 0x3a], ax
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x208]
mov qword [rcx + rax], 0xffffffffffffffff
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x208]
mov qword [rcx + rax], 0xffffffffffffffff
mov dword [rsp + 0xb4], 1
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0xb4]
mov r8d, 0xfffffffb
mov edx, 0xffff
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x1404ea762
jmp 0x1404eabdc
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x1404ea782
jmp 0x1404eabdc
lea r8, [rsp + 0x64]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x1404ea7a3
cmp dword [rsp + 0x64], 0x10
jge 0x1404ea7a8
jmp 0x1404eabdc
mov edx, 1
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
jne 0x1404ea7c2
jmp 0x1404eabdc
lea rax, [0x1407f6750]
mov qword [rsp + 0x20], rax
mov r9d, 0xb4
xor r8d, r8d
mov edx, 1
mov ecx, 2
call fcn.1401d7afc
mov ecx, 8
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x208]
mov qword [rdx + rcx], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x208]
cmp qword [rcx + rax], 0xffffffffffffffff
jne 0x1404ea818
jmp 0x1404eabdc
mov eax, 8
imul rax, rax, 0
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x208]
mov rcx, qword [rcx + rax]
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x1404ea848
jmp 0x1404eabdc
mov edx, 1
mov rcx, qword [rsp + 0x58]
call fcn.1401d5b62
test eax, eax
jge 0x1404ea860
jmp 0x1404eabdc
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov rcx, qword [rsp + 0x58]
mov qword [rsp + rax + 0x88], rcx
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov ecx, 0x300
mov word [rsp + rax + 0x90], cx
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
xor ecx, ecx
mov word [rsp + rax + 0x92], cx
mov r8d, 0x3e8
mov edx, 1
lea rcx, [rsp + 0x88]
call fcn.1401dad6a
lea rax, [0x1407f67a0]
mov qword [rsp + 0x20], rax
mov r9d, 0xc1
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x58]
call fcn.1401d9f46
mov ecx, 8
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x208]
mov qword [rdx + rcx], rax
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x208]
cmp qword [rcx + rax], 0xffffffffffffffff
jne 0x1404ea90f
jmp 0x1404eabdc
lea rcx, [rsp + 0x180]
call fcn.1401dc714
lea rcx, [rsp + 0xd8]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov eax, 1
imul rax, rax, 0
lea rax, [rsp + rax + 0x138]
mov qword [rsp + 0x158], rax
mov qword [rsp + 0x160], 9
mov r8d, 9
lea rdx, [rsp + 0x108]
xor ecx, ecx
call fcn.1401d6cdd
test eax, eax
je 0x1404ea974
jmp 0x1404eabdc
mov eax, 8
imul rax, rax, 0
lea rcx, [0x1407f67f0]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0xcf
xor r9d, r9d
mov r8d, 9
lea rdx, [rsp + 0x108]
mov rcx, qword [rsp + 0x208]
mov rcx, qword [rcx + rax]
call fcn.1401d480c
nop
mov eax, 8
imul rax, rax, 1
mov ecx, reloc.WS2_32.dll_recv
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x208]
mov rax, qword [rdx + rax]
mov qword [rsp + rcx + 0x88], rax
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov ecx, 0x300
mov word [rsp + rax + 0x90], cx
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
xor ecx, ecx
mov word [rsp + rax + 0x92], cx
mov r8d, 0x3e8
mov edx, 1
lea rcx, [rsp + 0x88]
call fcn.1401dad6a
mov eax, 8
imul rax, rax, 1
lea rcx, [0x1407f6840]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0xd9
xor r9d, r9d
mov r8d, dword [rsp + 0x160]
mov rdx, qword [rsp + 0x158]
mov rcx, qword [rsp + 0x208]
mov rcx, qword [rcx + rax]
call fcn.1401d7c50
cdqe
mov qword [rsp + 0x168], rax
cmp qword [rsp + 0x168], 0xffffffffffffffff
jne 0x1404eaaf7
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x170], eax
lea rax, [rsp + 0x1b0]
lea rcx, [rsp + 0xd8]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x190]
call fcn.1401dc714
lea rcx, [rsp + 0x1a0]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x1b0]
lea rcx, [rsp + 0x1a0]
call fcn.1401ddfce
cmp rax, 0xea60
jle 0x1404eaae3
jmp 0x1404eabdc
cmp dword [rsp + 0x170], 0x2733
jne 0x1404eaaf2
jmp 0x1404eab63
jmp 0x1404eabdc
mov rax, qword [rsp + 0x168]
mov rcx, qword [rsp + 0x160]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x160], rax
cmp qword [rsp + 0x160], 0
je 0x1404eab40
mov rax, qword [rsp + 0x168]
mov rcx, qword [rsp + 0x158]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x158], rax
jmp 0x1404eab63
mov r8d, 9
lea rdx, [rsp + 0x138]
lea rcx, [rsp + 0x108]
call fcn.1401d76a1
test eax, eax
je 0x1404eab61
jmp 0x1404eabdc
jmp 0x1404eab6e
xor eax, eax
cmp eax, 1
jne 0x1404ea9b4
movzx eax, byte [rsp + 0x210]
test eax, eax
je 0x1404eabc2
mov eax, 8
imul rax, rax, 0
mov edx, 1
mov rcx, qword [rsp + 0x208]
mov rcx, qword [rcx + rax]
call fcn.1401d5b62
test eax, eax
jl 0x1404eabc0
mov eax, 8
imul rax, rax, 1
mov edx, 1
mov rcx, qword [rsp + 0x208]
mov rcx, qword [rcx + rax]
call fcn.1401d5b62
test eax, eax
jge 0x1404eabc2
jmp 0x1404eabdc
lea r8, [0x1407f6890]
mov edx, 0xfe
mov rcx, qword [rsp + 0x58]
call fcn.1401d923f
xor eax, eax
jmp 0x1404eac43
lea r8, [0x1407f68e0]
mov edx, 0x102
mov rcx, qword [rsp + 0x58]
call fcn.1401d923f
mov eax, 8
imul rax, rax, 0
lea r8, [0x1407f6930]
mov edx, 0x103
mov rcx, qword [rsp + 0x208]
mov rcx, qword [rcx + rax]
call fcn.1401d923f
mov eax, 8
imul rax, rax, 1
lea r8, str.D:_vcpkg_buildtreescurl_srccurl_8_9_1_bb74e44024.cleanlib_socketpair.c
mov edx, 0x104
mov rcx, qword [rsp + 0x208]
mov rcx, qword [rcx + rax]
call fcn.1401d923f
mov eax, 0xffffffff
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_getsockopt
call fcn.1401dbb48
mov rax, rdi
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1401d8740
add rsp, 0x1d8
pop rdi
pop rsi
ret