Function at 0x140175620
Capabilities:
Connect socket

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
cmp qword [rcx + 0x4f0], 0xffffffffffffffff
je 0x140175689
mov ecx, 2
call fcn.140317644
mov rcx, rax
mov dword [rsp + 0x20], 0xfb
lea r9, str.C:UsersAdmin_vcpkg_buildtreeszeromq_src_v4.3.5_37c87b6b8c.clean_src_socks_connecter.cpp
lea r8, str._s__retired_fd
lea rdx, str.Assertion_failed:__s___s:_d__n
call fcn.140141c40
mov ecx, 2
call fcn.140317644
mov rcx, rax
call fcn.140317a9c
lea rcx, str._s__retired_fd
call fcn.1401429f0
mov rax, qword [rdi + 0xab0]
mov rcx, qword [rax + 0x48]
xor ebx, ebx
test rcx, rcx
je 0x1401756ae
lea edx, [rbx + 0x3c]
call fcn.140308f48
mov rax, qword [rdi + 0xab0]
mov qword [rax + 0x48], rbx
lea rdx, [0x14034ae00]
mov ecx, 0x3c
call fcn.1403096d8
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1401756d6
mov rcx, rax
call fcn.14015b4e0
mov rcx, rax
jmp 0x1401756d9
mov rcx, rbx
mov rax, qword [rdi + 0xab0]
mov qword [rax + 0x48], rcx
mov rax, qword [rdi + 0xab0]
cmp qword [rax + 0x48], 0
jne 0x14017573d
mov ecx, 2
call fcn.140317644
mov rcx, rax
mov r9d, 0x103
lea r8, str.C:UsersAdmin_vcpkg_buildtreeszeromq_src_v4.3.5_37c87b6b8c.clean_src_socks_connecter.cpp
lea rdx, str.FATAL_ERROR:_OUT_OF_MEMORY___s:_d__n
call fcn.140141c40
mov ecx, 2
call fcn.140317644
mov rcx, rax
call fcn.140317a9c
lea rcx, str.FATAL_ERROR:_OUT_OF_MEMORY
call fcn.1401429f0
mov rax, qword [rdi + 0xab0]
lea rcx, [rax + 0x20]
cmp qword [rcx + 0x18], 0x10
jb 0x14017574b
mov rcx, qword [rcx]
lea rdx, [rdi + 0x18]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
call fcn.14016dd10
mov rcx, rax
mov qword [rdi + 0x4f0], rax
mov rax, qword [rdi + 0xab0]
cmp rcx, 0xffffffffffffffff
jne 0x140175796
lea edx, [rcx + 0x3d]
mov rcx, qword [rax + 0x48]
call fcn.140308f48
mov rax, qword [rdi + 0xab0]
mov qword [rax + 0x48], rbx
jmp 0x1401758a9
cmp qword [rax + 0x48], 0
jne 0x1401757f1
mov ecx, 2
call fcn.140317644
mov rcx, rax
mov dword [rsp + 0x20], 0x10e
lea r9, str.C:UsersAdmin_vcpkg_buildtreeszeromq_src_v4.3.5_37c87b6b8c.clean_src_socks_connecter.cpp
lea r8, str._proxy_addr__resolved.tcp_addr___NULL
lea rdx, str.Assertion_failed:__s___s:_d__n
call fcn.140141c40
mov ecx, 2
call fcn.140317644
mov rcx, rax
call fcn.140317a9c
lea rcx, str._proxy_addr__resolved.tcp_addr___NULL
call fcn.1401429f0
mov rcx, qword [rdi + 0x4f0]
call fcn.140153550
mov rax, qword [rdi + 0xab0]
mov rsi, qword [rax + 0x48]
mov rcx, rsi
call fcn.14015b570
test al, al
je 0x140175837
mov rcx, rsi
call fcn.14015bc60
mov ebx, eax
mov rcx, rsi
call fcn.14015bc50
mov rdx, rax
mov r8d, ebx
mov rcx, qword [rdi + 0x4f0]
call qword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x140175894
mov rcx, rsi
call fcn.14015b550
mov ebx, eax
mov rcx, rsi
call fcn.14015b540
mov rdx, rax
mov r8d, ebx
mov rcx, qword [rdi + 0x4f0]
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x140175870
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
lea ecx, [rax - 0x2733]
cmp ecx, 1
jbe 0x14017589e
call fcn.14030fe3c
mov rbx, rax
mov ecx, esi
call fcn.140142740
mov dword [rbx], eax
mov rcx, rdi
call fcn.140182150
jmp 0x1401758a9
call fcn.14030fe3c
mov dword [rax], reloc.WS2_32.dll_WSASetLastError
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret