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

Disassembly:
sub esp, 0x34
mov eax, dword [0x100b0270]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
push edi
mov edi, dword [esp + 0x4c]
push str.C:UsersClint_vcpkg_buildtreescurl_srce2f4ea635f_0a39edd58e.cleanlib_socketpair.c
push 0x4b
push 6
push 1
push 2
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 1
call fcn.100557b0
mov esi, eax
add esp, 0x14
cmp esi, 0xffffffff
je 0x10065347
xorps xmm0, xmm0
mov eax, 2
push 0x7f000001
movlpd qword [esp + 0x24], xmm0
mov word [esp + 0x1c], ax
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [esp + 0x1c], eax
xor eax, eax
push 4
mov word [esp + 0x1e], ax
lea eax, [esp + 0x10]
push eax
push 4
push 0xffff
push esi
mov dword [edi + 4], 0xffffffff
mov dword [edi], 0xffffffff
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x10065311
push 0x10
lea eax, [esp + 0x1c]
push eax
push esi
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x10065311
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x1c]
push eax
push esi
call dword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x10065311
cmp dword [esp + 8], 0x10
jl 0x10065311
push 1
push esi
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
je 0x10065311
push str.C:UsersClint_vcpkg_buildtreescurl_srce2f4ea635f_0a39edd58e.cleanlib_socketpair.c
push 0x60
push 0
push 1
push 2
call fcn.100557b0
add esp, 0x14
mov dword [edi], eax
cmp eax, 0xffffffff
je 0x10065311
push 0x10
lea ecx, [esp + 0x1c]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x10065311
push 1
push esi
call fcn.1007d9c0
add esp, 8
test eax, eax
js 0x10065311
push 0
push 0x2710
lea eax, [esp + 0x18]
mov dword [esp + 0x18], esi
push 1
push eax
mov dword [esp + 0x24], 0x300
call fcn.100504b0
push str.C:UsersClint_vcpkg_buildtreescurl_srce2f4ea635f_0a39edd58e.cleanlib_socketpair.c
push 0x6d
push 0
push 0
push esi
call fcn.10055260
add esp, 0x24
mov dword [edi + 4], eax
cmp eax, 0xffffffff
je 0x10065311
lea eax, [esp + 8]
mov dword [esp + 8], 0x10
push eax
lea eax, [esp + 0x1c]
push eax
push dword [edi]
call dword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x10065311
cmp dword [esp + 8], 0x10
jl 0x10065311
lea eax, [esp + 8]
mov dword [esp + 8], 0x10
push eax
lea eax, [esp + 0x2c]
push eax
push dword [edi + 4]
call dword [sym.imp.WS2_32.dll_getpeername]
cmp eax, 0xffffffff
je 0x10065311
cmp dword [esp + 8], 0x10
jl 0x10065311
mov ax, word [esp + 0x18]
cmp ax, word [esp + 0x28]
jne 0x10065311
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x2c]
jne 0x10065311
mov ax, word [esp + 0x1a]
cmp ax, word [esp + 0x2a]
jne 0x10065311
push str.C:UsersClint_vcpkg_buildtreescurl_srce2f4ea635f_0a39edd58e.cleanlib_socketpair.c
push 0x7f
push esi
call fcn.100556d0
add esp, 0xc
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.100908b3
add esp, 0x34
ret
push str.C:UsersClint_vcpkg_buildtreescurl_srce2f4ea635f_0a39edd58e.cleanlib_socketpair.c
push 0x83
push esi
call fcn.100556d0
push str.C:UsersClint_vcpkg_buildtreescurl_srce2f4ea635f_0a39edd58e.cleanlib_socketpair.c
push 0x84
push dword [edi]
call fcn.100556d0
push str.C:UsersClint_vcpkg_buildtreescurl_srce2f4ea635f_0a39edd58e.cleanlib_socketpair.c
push 0x85
push dword [edi + 4]
call fcn.100556d0
add esp, 0x24
mov ecx, dword [esp + 0x38]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, esp
call fcn.100908b3
add esp, 0x34
ret