Function at 0x1400fb7a0
Capabilities:
Connect socket
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
sub rsp, 0x30
mov rdi, rcx
mov r12d, 2
lea r13, str.C:UsersUserDocumentsGitHubp2poolexternal_srclibzmq_src_tcp_connecter.cpp
cmp qword [rcx + 0x4f0], 0xffffffffffffffff
je 0x1400fb817
mov ecx, r12d
call fcn.14014b850
mov rcx, rax
mov dword [rsp + 0x20], __WSAFDIsSet
mov r9, r13
lea r8, str._s__retired_fd
lea rdx, str.Assertion_failed:__s___s:_d__n
call fcn.140024ee0
mov ecx, r12d
call fcn.14014b850
mov rcx, rax
call fcn.14014bc20
lea rcx, str._s__retired_fd
call fcn.1400cec20
mov rax, qword [rdi + 0x4e8]
mov rcx, qword [rax + 0x48]
mov ebx, 0x3c
test rcx, rcx
je 0x1400fb83f
mov edx, ebx
call fcn.140140cc0
mov rax, qword [rdi + 0x4e8]
and qword [rax + 0x48], 0
lea rdx, [0x14018dbd1]
mov rcx, rbx
call fcn.140141740
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1400fb865
mov rcx, rax
call fcn.1400e5900
mov rcx, rax
jmp 0x1400fb867
xor ecx, ecx
mov rax, qword [rdi + 0x4e8]
mov qword [rax + 0x48], rcx
mov rax, qword [rdi + 0x4e8]
cmp qword [rax + 0x48], 0
jne 0x1400fb8c3
mov ecx, r12d
call fcn.14014b850
mov rcx, rax
mov r9d, 0x9d
mov r8, r13
lea rdx, str.FATAL_ERROR:_OUT_OF_MEMORY___s:_d__n
call fcn.140024ee0
mov ecx, r12d
call fcn.14014b850
mov rcx, rax
call fcn.14014bc20
lea rcx, str.FATAL_ERROR:_OUT_OF_MEMORY
call fcn.1400cec20
mov rax, qword [rdi + 0x4e8]
lea rcx, [rax + 0x20]
cmp qword [rcx + 0x18], 0x10
jb 0x1400fb8d1
mov rcx, qword [rcx]
lea rdx, [rdi + 0x18]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0x20], rax
mov r9b, 1
xor r8d, r8d
call fcn.1400f57a0
mov qword [rdi + 0x4f0], rax
mov rcx, qword [rdi + 0x4e8]
cmp rax, 0xffffffffffffffff
jne 0x1400fb91a
mov rdx, rbx
mov rcx, qword [rcx + 0x48]
call fcn.140140cc0
mov rcx, qword [rdi + 0x4e8]
and qword [rcx + 0x48], 0
jmp 0x1400fba9a
cmp qword [rcx + 0x48], 0
jne 0x1400fb96d
mov ecx, r12d
call fcn.14014b850
mov rcx, rax
mov dword [rsp + 0x20], 0xa6
mov r9, r13
lea r8, str._addr__resolved.tcp_addr___NULL
lea rdx, str.Assertion_failed:__s___s:_d__n
call fcn.140024ee0
mov ecx, r12d
call fcn.14014b850
mov rcx, rax
call fcn.14014bc20
lea rcx, str._addr__resolved.tcp_addr___NULL
call fcn.1400cec20
mov rax, qword [rdi + 0x4f0]
mov rcx, rax
call fcn.1400dd2e0
mov rax, qword [rdi + 0x4e8]
mov rsi, qword [rax + 0x48]
mov rcx, rsi
call fcn.1400e59a0
test al, al
je 0x1400fba40
mov dword [rsp + 0x50], 1
mov r8d, 4
mov dword [rsp + 0x20], r8d
lea r9, [rsp + 0x50]
mov edx, 0xffff
mov rcx, qword [rdi + 0x4f0]
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x1400fba16
call fcn.1400ce5d0
mov rbp, rax
test rax, rax
je 0x1400fba16
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
mov ecx, r12d
call fcn.14014b850
mov rcx, rax
mov dword [rsp + 0x28], 0xb7
mov qword [rsp + 0x20], r13
mov r9d, ebx
mov r8, rbp
lea rdx, str.Assertion_failed:__s___i____s:_d__n
call fcn.140024ee0
mov ecx, r12d
call fcn.14014b850
mov rcx, rax
call fcn.14014bc20
mov rcx, rbp
call fcn.1400cec20
mov rcx, rsi
call fcn.1400e60b0
mov ebx, eax
mov rcx, rsi
call fcn.1400e60a0
mov rdx, rax
mov r8d, ebx
mov rcx, qword [rdi + 0x4f0]
call qword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x1400fba9a
mov rcx, rsi
call fcn.1400e5980
mov ebx, eax
mov rcx, rsi
call fcn.1400e5970
mov rdx, rax
mov r8d, ebx
mov rcx, qword [rdi + 0x4f0]
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x1400fba9d
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
lea ecx, [rax - 0x2733]
cmp ecx, 1
jbe 0x1400fba8f
call fcn.140150770
mov rbx, rax
mov ecx, edi
call fcn.1400ce920
mov dword [rbx], eax
jmp 0x1400fba9a
call fcn.140150770
mov dword [rax], reloc.WS2_32.dll_WSASetLastError
or eax, 0xffffffff
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r13
pop r12
pop rdi
ret