LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: theuni[P]libbtcnet/src/connection.cpp
// Function: CConnection::CanConnectDirect() const
bool CConnection::CanConnectDirect() const
{
    if (!IsSet())
        return false;
    if (IsDNS())
        return false;
    if (IsOnion())
        return false;

    sockaddr_storage addr_stor;
    int socksize = sizeof(addr_stor);
    memset(&addr_stor, 0, socksize);
    sockaddr* sock = reinterpret_cast<sockaddr*>(&addr_stor);

    if (!GetSockAddr(sock, &socksize))
        return false;
    return CanConnectDirect(sock, opts.nFamily);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xb0, %rsp
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rdi
movq %rdi, -0xa8(%rbp)
callq 0xa100
testb $0x1, %al
jne 0xaadc
movb $0x0, -0x1(%rbp)
jmp 0xab7e
movq -0xa8(%rbp), %rdi
callq 0x9c70
testb $0x1, %al
jne 0xaaee
jmp 0xaaf7
movb $0x0, -0x1(%rbp)
jmp 0xab7e
movq -0xa8(%rbp), %rdi
callq 0x9c90
testb $0x1, %al
jne 0xab09
jmp 0xab0f
movb $0x0, -0x1(%rbp)
jmp 0xab7e
movl $0x80, -0x94(%rbp)
movslq -0x94(%rbp), %rdx
leaq -0x90(%rbp), %rdi
xorl %esi, %esi
callq 0x5220
movq -0xa8(%rbp), %rdi
leaq -0x90(%rbp), %rax
movq %rax, -0xa0(%rbp)
movq -0xa0(%rbp), %rsi
leaq -0x94(%rbp), %rdx
callq 0x9cb0
testb $0x1, %al
jne 0xab60
movb $0x0, -0x1(%rbp)
jmp 0xab7e
movq -0xa8(%rbp), %rax
movq -0xa0(%rbp), %rdi
movl 0x138(%rax), %esi
callq 0xaa00
andb $0x1, %al
movb %al, -0x1(%rbp)
movb -0x1(%rbp), %al
andb $0x1, %al
addq $0xb0, %rsp
popq %rbp
retq
nopl (%rax)
// File: theuni[P]libbtcnet/src/connection.cpp
// Function: CConnection::CanConnectProxy() const
bool CConnection::CanConnectProxy() const
{
    if (!IsSet())
        return false;
    if (!proxy.IsSet())
        return false;
    if (IsDNS())
        return opts.doResolve == CConnectionOptions::RESOLVE_CONNECT;
    if (IsOnion())
        return ((opts.nFamily & CConnectionOptions::ONION_PROXY) == CConnectionOptions::ONION_PROXY);

    sockaddr_storage addr_stor;
    int socksize = sizeof(addr_stor);
    memset(&addr_stor, 0, socksize);
    sockaddr* sock = reinterpret_cast<sockaddr*>(&addr_stor);

    if (!GetSockAddr(sock, &socksize))
        return false;
    return CanConnectDirect(sock, opts.nFamily);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xb0, %rsp
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rdi
movq %rdi, -0xa8(%rbp)
callq 0xa100
testb $0x1, %al
jne 0xabbc
movb $0x0, -0x1(%rbp)
jmp 0xaca4
movq -0xa8(%rbp), %rdi
addq $0x60, %rdi
callq 0xa100
testb $0x1, %al
jne 0xabd9
movb $0x0, -0x1(%rbp)
jmp 0xaca4
movq -0xa8(%rbp), %rdi
callq 0x9c70
testb $0x1, %al
jne 0xabeb
jmp 0xac06
movq -0xa8(%rbp), %rax
cmpl $0x4, 0x114(%rax)
sete %al
andb $0x1, %al
movb %al, -0x1(%rbp)
jmp 0xaca4
movq -0xa8(%rbp), %rdi
callq 0x9c90
testb $0x1, %al
jne 0xac18
jmp 0xac35
movq -0xa8(%rbp), %rax
movl 0x138(%rax), %eax
andl $0x10, %eax
cmpl $0x10, %eax
sete %al
andb $0x1, %al
movb %al, -0x1(%rbp)
jmp 0xaca4
movl $0x80, -0x94(%rbp)
movslq -0x94(%rbp), %rdx
leaq -0x90(%rbp), %rdi
xorl %esi, %esi
callq 0x5220
movq -0xa8(%rbp), %rdi
leaq -0x90(%rbp), %rax
movq %rax, -0xa0(%rbp)
movq -0xa0(%rbp), %rsi
leaq -0x94(%rbp), %rdx
callq 0x9cb0
testb $0x1, %al
jne 0xac86
movb $0x0, -0x1(%rbp)
jmp 0xaca4
movq -0xa8(%rbp), %rax
movq -0xa0(%rbp), %rdi
movl 0x138(%rax), %esi
callq 0xaa00
andb $0x1, %al
movb %al, -0x1(%rbp)
movb -0x1(%rbp), %al
andb $0x1, %al
addq $0xb0, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: theuni[P]libbtcnet/src/connection.cpp
// Function: CConnection::CanResolve() const
bool CConnection::CanResolve() const
{
    if (!IsSet())
        return false;
    if (!IsDNS())
        return false;
    if (opts.doResolve == CConnectionOptions::NO_RESOLVE)
        return false;
    return ((opts.nFamily & CConnectionOptions::IPV4) == CConnectionOptions::IPV4) ||
           ((opts.nFamily & CConnectionOptions::IPV6) == CConnectionOptions::IPV6);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rdi
movq %rdi, -0x18(%rbp)
callq 0xa100
testb $0x1, %al
jne 0xace3
movb $0x0, -0x1(%rbp)
jmp 0xad3e
movq -0x18(%rbp), %rdi
callq 0x9c70
testb $0x1, %al
jne 0xacf6
movb $0x0, -0x1(%rbp)
jmp 0xad3e
movq -0x18(%rbp), %rax
cmpl $0x1, 0x114(%rax)
jne 0xad09
movb $0x0, -0x1(%rbp)
jmp 0xad3e
movq -0x18(%rbp), %rax
movl 0x138(%rax), %ecx
andl $0x2, %ecx
movb $0x1, %al
cmpl $0x2, %ecx
movb %al, -0x19(%rbp)
je 0xad36
movq -0x18(%rbp), %rax
movl 0x138(%rax), %eax
andl $0x4, %eax
cmpl $0x4, %eax
sete %al
movb %al, -0x19(%rbp)
movb -0x19(%rbp), %al
andb $0x1, %al
movb %al, -0x1(%rbp)
movb -0x1(%rbp), %al
andb $0x1, %al
addq $0x20, %rsp
popq %rbp
retq
nopl (%rax)
// File: theuni[P]libbtcnet/src/handler.cpp
// Function: CConnectionHandlerInt::RequestOutgoingInt()
void CConnectionHandlerInt::RequestOutgoingInt()
{
    assert(IsEventThread());
    size_t need = static_cast<size_t>(std::min(g_max_simultaneous_connecting, m_outgoing_conn_limit - m_outgoing_conn_count - static_cast<int>(m_connecting.size())));
    if (need > 0) {
        std::list<CConnection> conns(m_interface.OnNeedOutgoingConnections(need));
        auto end = conns.begin();
        std::advance(end, std::min(conns.size(), static_cast<size_t>(need)));
        for (auto it = conns.begin(); it != end; ++it) {
            if (it->IsSet())
                StartConnection(std::move(*it));
        }
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x90, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x68(%rbp)
callq 0xe790
testb $0x1, %al
jne 0xdfe2
jmp 0xdfe4
jmp 0xe003
leaq 0x178b2(%rip), %rdi     # 0x2589d
leaq 0x1779d(%rip), %rsi     # 0x2578f
movl $0x192, %edx            # imm = 0x192
leaq 0x17eaf(%rip), %rcx     # 0x25ead
callq 0x52e0
movq -0x68(%rbp), %rdi
movl 0xe8(%rdi), %eax
subl 0xe0(%rdi), %eax
movl %eax, -0x6c(%rbp)
addq $0x30, %rdi
callq 0x11db0
movq %rax, %rcx
movl -0x6c(%rbp), %eax
subl %ecx, %eax
movl %eax, -0x14(%rbp)
leaq 0x182df(%rip), %rdi     # 0x26310
leaq -0x14(%rbp), %rsi
callq 0x11d70
movslq (%rax), %rax
movq %rax, -0x10(%rbp)
cmpq $0x0, -0x10(%rbp)
jbe 0xe13d
movq -0x68(%rbp), %rax
movq 0xc0(%rax), %rsi
movl -0x10(%rbp), %edx
movq (%rsi), %rax
movq 0x10(%rax), %rax
leaq -0x30(%rbp), %rdi
movq %rdi, -0x80(%rbp)
callq *%rax
movq -0x80(%rbp), %rdi
callq 0x6640
movq -0x80(%rbp), %rdi
movq %rax, -0x38(%rbp)
callq 0x11e20
movq %rax, -0x40(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x48(%rbp)
leaq -0x40(%rbp), %rdi
leaq -0x48(%rbp), %rsi
callq 0x91d0
movq %rax, -0x78(%rbp)
jmp 0xe0a0
movq -0x78(%rbp), %rax
movq (%rax), %rsi
leaq -0x38(%rbp), %rdi
callq 0x11dd0
jmp 0xe0b2
leaq -0x30(%rbp), %rdi
callq 0x6640
movq %rax, -0x60(%rbp)
leaq -0x60(%rbp), %rdi
leaq -0x38(%rbp), %rsi
callq 0x11e50
testb $0x1, %al
jne 0xe0d2
jmp 0xe134
leaq -0x60(%rbp), %rdi
callq 0x11e80
movq %rax, %rdi
callq 0xa100
movb %al, -0x81(%rbp)
jmp 0xe0eb
movb -0x81(%rbp), %al
testb $0x1, %al
jne 0xe0f7
jmp 0xe127
leaq -0x60(%rbp), %rdi
callq 0x11ea0
movq -0x68(%rbp), %rdi
movq %rax, %rsi
callq 0xfe40
jmp 0xe10e
jmp 0xe127
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x50(%rbp)
movl %eax, -0x54(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x64a0
jmp 0xe146
jmp 0xe129
leaq -0x60(%rbp), %rdi
callq 0x11ec0
jmp 0xe0bf
leaq -0x30(%rbp), %rdi
callq 0x64a0
addq $0x90, %rsp
popq %rbp
retq
movq -0x50(%rbp), %rdi
callq 0x5710
nop
// File: theuni[P]libbtcnet/src/handler.cpp
// Function: CConnectionHandlerInt::OnResolveFailure(long, CConnection const&, int, bool)
void CConnectionHandlerInt::OnResolveFailure(ConnID id, const CConnection& conn, int /*error*/, bool retry)
{
    assert(IsEventThread());
    retry = retry && !m_shutdown;
    bool ret = m_interface.OnDnsFailure(conn, retry);
    auto it = m_dns_resolves.find(id);
    assert(it != m_dns_resolves.end());
    if (retry && ret)
        it->second->Retry();
    else
        m_dns_resolves.erase(it);
    if (m_request_event)
        m_request_event.active();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movb %r8b, %al
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movl %ecx, -0x1c(%rbp)
andb $0x1, %al
movb %al, -0x1d(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x48(%rbp)
callq 0xe790
testb $0x1, %al
jne 0xe932
jmp 0xe934
jmp 0xe953
leaq 0x16f62(%rip), %rdi     # 0x2589d
leaq 0x16e4d(%rip), %rsi     # 0x2578f
movl $0xbe, %edx
leaq 0x170ad(%rip), %rcx     # 0x259fb
callq 0x52e0
xorl %eax, %eax
testb $0x1, -0x1d(%rbp)
movb %al, -0x49(%rbp)
je 0xe96d
movq -0x48(%rbp), %rax
movb 0xed(%rax), %al
xorb $-0x1, %al
movb %al, -0x49(%rbp)
movq -0x48(%rbp), %rax
movb -0x49(%rbp), %cl
andb $0x1, %cl
movb %cl, -0x1d(%rbp)
movq 0xc0(%rax), %rdi
movq -0x18(%rbp), %rsi
movb -0x1d(%rbp), %cl
movq (%rdi), %rax
andb $0x1, %cl
movzbl %cl, %edx
callq *0x28(%rax)
movq -0x48(%rbp), %rdi
andb $0x1, %al
movb %al, -0x1e(%rbp)
addq $0x90, %rdi
leaq -0x10(%rbp), %rsi
callq 0x116c0
movq -0x48(%rbp), %rdi
movq %rax, -0x28(%rbp)
addq $0x90, %rdi
callq 0x11720
movq %rax, -0x30(%rbp)
leaq -0x28(%rbp), %rdi
leaq -0x30(%rbp), %rsi
callq 0x116f0
testb $0x1, %al
jne 0xe9d8
jmp 0xe9da
jmp 0xe9f9
leaq 0x1706f(%rip), %rdi     # 0x25a50
leaq 0x16da7(%rip), %rsi     # 0x2578f
movl $0xc2, %edx
leaq 0x17007(%rip), %rcx     # 0x259fb
callq 0x52e0
testb $0x1, -0x1d(%rbp)
je 0xea24
testb $0x1, -0x1e(%rbp)
je 0xea24
leaq -0x28(%rbp), %rdi
callq 0x11750
movq %rax, %rdi
addq $0x8, %rdi
callq 0x11770
movq %rax, %rdi
callq 0x22b30
jmp 0xea44
movq -0x48(%rbp), %rdi
addq $0x90, %rdi
movq -0x28(%rbp), %rax
movq %rax, -0x38(%rbp)
movq -0x38(%rbp), %rsi
callq 0x11790
movq %rax, -0x40(%rbp)
movq -0x48(%rbp), %rdi
addq $0x1a0, %rdi            # imm = 0x1A0
callq 0x239f0
testb $0x1, %al
jne 0xea5a
jmp 0xea6a
movq -0x48(%rbp), %rdi
addq $0x1a0, %rdi            # imm = 0x1A0
callq 0x23ac0
addq $0x50, %rsp
popq %rbp
retq
// File: theuni[P]libbtcnet/src/handler.cpp
// Function: CConnectionHandlerInt::GetNextConnectionIndex()
ConnID CConnectionHandlerInt::GetNextConnectionIndex()
{
    assert(m_connection_index >= 0);
    if (m_connection_index != std::numeric_limits<decltype(m_connection_index)>::max())
        return m_connection_index++;
    m_connection_index = 0;
    return std::numeric_limits<decltype(m_connection_index)>::max();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x18(%rbp)
cmpq $0x0, 0xc8(%rax)
jl 0xee40
jmp 0xee5f
leaq 0x16f9d(%rip), %rdi     # 0x25de4
leaq 0x16941(%rip), %rsi     # 0x2578f
movl $0x16a, %edx            # imm = 0x16A
leaq 0x16fa2(%rip), %rcx     # 0x25dfc
callq 0x52e0
movq -0x18(%rbp), %rax
movq 0xc8(%rax), %rax
movq %rax, -0x20(%rbp)
callq 0x11c60
movq %rax, %rcx
movq -0x20(%rbp), %rax
cmpq %rcx, %rax
je 0xee9e
movq -0x18(%rbp), %rcx
movq 0xc8(%rcx), %rax
movq %rax, %rdx
addq $0x1, %rdx
movq %rdx, 0xc8(%rcx)
movq %rax, -0x8(%rbp)
jmp 0xeeb6
movq -0x18(%rbp), %rax
movq $0x0, 0xc8(%rax)
callq 0x11c60
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
addq $0x20, %rsp
popq %rbp
retq
// File: theuni[P]libbtcnet/src/handler.cpp
// Function: CConnectionHandlerInt::OnIncomingConnection(CConnection const&, int, sockaddr*, int)
void CConnectionHandlerInt::OnIncomingConnection(const CConnection& bind, evutil_socket_t sock, sockaddr* address, int socklen)
{
    assert(IsEventThread());

    ConnID id = GetNextConnectionIndex();
    std::unique_ptr<ConnectionBase> ptr(new CIncomingConn(*this, bind, id, sock, address, socklen));
    {
        auto it = m_connecting.emplace_hint(m_connecting.end(), id, std::move(ptr));
        it->second->Connect();
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x210, %rsp            # imm = 0x210
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movq %rcx, -0x20(%rbp)
movl %r8d, -0x24(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x1e0(%rbp)
callq 0xe790
testb $0x1, %al
jne 0xeef4
jmp 0xeef6
jmp 0xef15
leaq 0x169a0(%rip), %rdi     # 0x2589d
leaq 0x1688b(%rip), %rsi     # 0x2578f
movl $0xef, %edx
leaq 0x16beb(%rip), %rcx     # 0x25afb
callq 0x52e0
movq -0x1e0(%rbp), %rdi
callq 0xee20
movq %rax, -0x30(%rbp)
movl $0x4b8, %edi            # imm = 0x4B8
callq 0x5400
movq %rax, -0x1e8(%rbp)
movb $0x1, -0x1bd(%rbp)
movq -0x10(%rbp), %rsi
leaq -0x1b0(%rbp), %rdi
callq 0xc230
jmp 0xef4f
movq -0x1e0(%rbp), %rsi
movq -0x1e8(%rbp), %rdi
movq -0x30(%rbp), %rcx
movl -0x14(%rbp), %r8d
movq -0x20(%rbp), %r9
movl -0x24(%rbp), %edx
movq %rsp, %rax
movl %edx, (%rax)
leaq -0x1b0(%rbp), %rdx
callq 0x23540
jmp 0xef7f
movq -0x1e8(%rbp), %rsi
movb $0x0, -0x1bd(%rbp)
leaq -0x38(%rbp), %rdi
movq %rdi, -0x1f8(%rbp)
callq 0x11930
leaq -0x1b0(%rbp), %rdi
callq 0x68f0
movq -0x1e0(%rbp), %rdi
addq $0x30, %rdi
movq %rdi, -0x200(%rbp)
callq 0x113e0
movq %rax, -0x1d8(%rbp)
leaq -0x1d0(%rbp), %rdi
leaq -0x1d8(%rbp), %rsi
callq 0x118b0
movq -0x200(%rbp), %rdi
movq -0x1f8(%rbp), %rcx
movq -0x1d0(%rbp), %rsi
leaq -0x30(%rbp), %rdx
callq 0x11860
movq %rax, -0x1f0(%rbp)
jmp 0xf001
movq -0x1f0(%rbp), %rax
movq %rax, -0x1c8(%rbp)
leaq -0x1c8(%rbp), %rdi
callq 0x11410
movq %rax, %rdi
addq $0x8, %rdi
callq 0x11430
movq %rax, %rdi
movq (%rdi), %rax
movq 0x10(%rax), %rax
callq *%rax
jmp 0xf035
leaq -0x38(%rbp), %rdi
callq 0x118d0
addq $0x210, %rsp            # imm = 0x210
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1b8(%rbp)
movl %eax, -0x1bc(%rbp)
jmp 0xf079
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1b8(%rbp)
movl %eax, -0x1bc(%rbp)
leaq -0x1b0(%rbp), %rdi
callq 0x68f0
testb $0x1, -0x1bd(%rbp)
jne 0xf084
jmp 0xf090
movq -0x1e8(%rbp), %rdi
callq 0x53e0
jmp 0xf0ad
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1b8(%rbp)
movl %eax, -0x1bc(%rbp)
leaq -0x38(%rbp), %rdi
callq 0x118d0
movq -0x1b8(%rbp), %rdi
callq 0x5710
nopl (%rax)
// File: theuni[P]libbtcnet/src/handler.cpp
// Function: CConnectionHandlerInt::OnListenFailure(long, CConnection const&)
void CConnectionHandlerInt::OnListenFailure(ConnID id, const CConnection& bind)
{
    assert(IsEventThread());
    m_interface.OnBindFailure(bind);
    optional_lock(m_bind_mutex, m_enable_threading);
    m_binds.erase(id);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x40(%rbp)
callq 0xe790
testb $0x1, %al
jne 0xf0e7
jmp 0xf0e9
jmp 0xf108
leaq 0x167ad(%rip), %rdi     # 0x2589d
leaq 0x16698(%rip), %rsi     # 0x2578f
movl $0xfb, %edx
leaq 0x16a54(%rip), %rcx     # 0x25b57
callq 0x52e0
movq -0x40(%rbp), %rax
movq 0xc0(%rax), %rdi
movq -0x18(%rbp), %rsi
movq (%rdi), %rax
movq 0x18(%rax), %rax
callq *%rax
movq -0x40(%rbp), %rax
movq %rax, %rsi
addq $0x118, %rsi            # imm = 0x118
movzbl 0xec(%rax), %edx
andl $0x1, %edx
leaq -0x28(%rbp), %rdi
callq 0x11290
movq -0x40(%rbp), %rdi
addq $0x60, %rdi
leaq -0x10(%rbp), %rsi
callq 0x11960
jmp 0xf154
leaq -0x28(%rbp), %rdi
callq 0x11310
addq $0x40, %rsp
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
leaq -0x28(%rbp), %rdi
callq 0x11310
movq -0x30(%rbp), %rdi
callq 0x5710
nopw %cs:(%rax,%rax)
// File: theuni[P]libbtcnet/src/handler.cpp
// Function: CConnectionHandlerInt::PumpEvents(bool)
bool CConnectionHandlerInt::PumpEvents(bool block)
{
    assert(IsEventThread());
    if (!m_event_base)
        return false;
    if (m_shutdown)
        return false;
    event_base_loop(m_event_base, block ? EVLOOP_ONCE : EVLOOP_NONBLOCK);
    if (m_shutdown) {
        m_event_base.free();
        m_interface.OnShutdown();
        return false;
    }
    return true;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movb %sil, %al
movq %rdi, -0x10(%rbp)
andb $0x1, %al
movb %al, -0x11(%rbp)
movq -0x10(%rbp), %rdi
movq %rdi, -0x20(%rbp)
callq 0xe790
testb $0x1, %al
jne 0x10237
jmp 0x10239
jmp 0x10258
leaq 0x1565d(%rip), %rdi     # 0x2589d
leaq 0x15548(%rip), %rsi     # 0x2578f
movl $0x1a1, %edx            # imm = 0x1A1
leaq 0x15c8b(%rip), %rcx     # 0x25ede
callq 0x52e0
movq -0x20(%rbp), %rdi
addq $0x190, %rdi            # imm = 0x190
callq 0x10dc0
testb $0x1, %al
jne 0x1026e
jmp 0x10274
movb $0x0, -0x1(%rbp)
jmp 0x102ed
movq -0x20(%rbp), %rax
testb $0x1, 0xed(%rax)
je 0x10287
movb $0x0, -0x1(%rbp)
jmp 0x102ed
movq -0x20(%rbp), %rdi
addq $0x190, %rdi            # imm = 0x190
callq 0x10f40
movq %rax, %rdi
movb -0x11(%rbp), %cl
movl $0x2, %esi
movl $0x1, %eax
testb $0x1, %cl
cmovnel %eax, %esi
callq 0x5480
movq -0x20(%rbp), %rax
testb $0x1, 0xed(%rax)
je 0x102e9
movq -0x20(%rbp), %rdi
addq $0x190, %rdi            # imm = 0x190
callq 0x11ee0
movq -0x20(%rbp), %rax
movq 0xc0(%rax), %rdi
movq (%rdi), %rax
callq *0x98(%rax)
movb $0x0, -0x1(%rbp)
jmp 0x102ed
movb $0x1, -0x1(%rbp)
movb -0x1(%rbp), %al
andb $0x1, %al
addq $0x20, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: theuni[P]libbtcnet/src/handler.cpp
// Function: CConnectionHandlerInt::CloseConnection(long, bool)
void CConnectionHandlerInt::CloseConnection(ConnID id, bool immediately)
{
    if (id >= 0) {
        optional_lock(m_conn_mutex, m_enable_threading);
        auto it = m_connected.find(id);
        if (it != m_connected.end()) {
            if (immediately)
                it->second->Disconnect();
            else
                it->second->DisconnectWhenFinished();
        }
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movb %dl, %al
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
andb $0x1, %al
movb %al, -0x11(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x50(%rbp)
cmpq $0x0, -0x10(%rbp)
jl 0x103f0
movq -0x50(%rbp), %rax
movq %rax, %rsi
addq $0xf0, %rsi
movzbl 0xec(%rax), %edx
andl $0x1, %edx
leaq -0x28(%rbp), %rdi
callq 0x11290
movq -0x50(%rbp), %rdi
leaq -0x10(%rbp), %rsi
callq 0x11800
movq %rax, -0x58(%rbp)
jmp 0x1035e
movq -0x50(%rbp), %rdi
movq -0x58(%rbp), %rax
movq %rax, -0x30(%rbp)
callq 0x113e0
movq %rax, -0x48(%rbp)
leaq -0x30(%rbp), %rdi
leaq -0x48(%rbp), %rsi
callq 0x113b0
testb $0x1, %al
jne 0x10386
jmp 0x103e7
testb $0x1, -0x11(%rbp)
je 0x103c4
leaq -0x30(%rbp), %rdi
callq 0x11410
movq %rax, %rdi
addq $0x8, %rdi
callq 0x11430
movq %rax, %rdi
callq 0x1ad70
jmp 0x103ab
jmp 0x103e5
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x28(%rbp), %rdi
callq 0x11310
jmp 0x103f6
leaq -0x30(%rbp), %rdi
callq 0x11410
movq %rax, %rdi
addq $0x8, %rdi
callq 0x11430
movq %rax, %rdi
callq 0x1ada0
jmp 0x103e3
jmp 0x103e5
jmp 0x103e7
leaq -0x28(%rbp), %rdi
callq 0x11310
addq $0x60, %rsp
popq %rbp
retq
movq -0x38(%rbp), %rdi
callq 0x5710
nop
// File: theuni[P]libbtcnet/src/handler.cpp
// Function: CConnectionHandlerInt::PauseRecv(long)
void CConnectionHandlerInt::PauseRecv(ConnID id)
{
    if (id >= 0) {
        optional_lock(m_conn_mutex, m_enable_threading);
        auto it = m_connected.find(id);
        if (it != m_connected.end())
            it->second->PauseRecv();
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x48(%rbp)
cmpq $0x0, -0x10(%rbp)
jl 0x104c0
movq -0x48(%rbp), %rax
movq %rax, %rsi
addq $0xf0, %rsi
movzbl 0xec(%rax), %edx
andl $0x1, %edx
leaq -0x20(%rbp), %rdi
callq 0x11290
movq -0x48(%rbp), %rdi
leaq -0x10(%rbp), %rsi
callq 0x11800
movq %rax, -0x50(%rbp)
jmp 0x10457
movq -0x48(%rbp), %rdi
movq -0x50(%rbp), %rax
movq %rax, -0x28(%rbp)
callq 0x113e0
movq %rax, -0x40(%rbp)
leaq -0x28(%rbp), %rdi
leaq -0x40(%rbp), %rsi
callq 0x113b0
testb $0x1, %al
jne 0x1047f
jmp 0x104b7
leaq -0x28(%rbp), %rdi
callq 0x11410
movq %rax, %rdi
addq $0x8, %rdi
callq 0x11430
movq %rax, %rdi
callq 0x1ae30
jmp 0x1049e
jmp 0x104b7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
leaq -0x20(%rbp), %rdi
callq 0x11310
jmp 0x104c6
leaq -0x20(%rbp), %rdi
callq 0x11310
addq $0x50, %rsp
popq %rbp
retq
movq -0x30(%rbp), %rdi
callq 0x5710
nop
// File: theuni[P]libbtcnet/src/handler.cpp
// Function: CConnectionHandlerInt::UnpauseRecv(long)
void CConnectionHandlerInt::UnpauseRecv(ConnID id)
{
    if (id >= 0) {
        optional_lock(m_conn_mutex, m_enable_threading);
        auto it = m_connected.find(id);
        if (it != m_connected.end())
            it->second->UnpauseRecv();
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x48(%rbp)
cmpq $0x0, -0x10(%rbp)
jl 0x10590
movq -0x48(%rbp), %rax
movq %rax, %rsi
addq $0xf0, %rsi
movzbl 0xec(%rax), %edx
andl $0x1, %edx
leaq -0x20(%rbp), %rdi
callq 0x11290
movq -0x48(%rbp), %rdi
leaq -0x10(%rbp), %rsi
callq 0x11800
movq %rax, -0x50(%rbp)
jmp 0x10527
movq -0x48(%rbp), %rdi
movq -0x50(%rbp), %rax
movq %rax, -0x28(%rbp)
callq 0x113e0
movq %rax, -0x40(%rbp)
leaq -0x28(%rbp), %rdi
leaq -0x40(%rbp), %rsi
callq 0x113b0
testb $0x1, %al
jne 0x1054f
jmp 0x10587
leaq -0x28(%rbp), %rdi
callq 0x11410
movq %rax, %rdi
addq $0x8, %rdi
callq 0x11430
movq %rax, %rdi
callq 0x1aef0
jmp 0x1056e
jmp 0x10587
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
leaq -0x20(%rbp), %rdi
callq 0x11310
jmp 0x10596
leaq -0x20(%rbp), %rdi
callq 0x11310
addq $0x50, %rsp
popq %rbp
retq
movq -0x30(%rbp), %rdi
callq 0x5710
nop
// File: theuni[P]libbtcnet/src/handler.cpp
// Function: CConnectionHandlerInt::Send(long, unsigned char const*, unsigned long)
bool CConnectionHandlerInt::Send(ConnID id, const unsigned char* data, size_t size)
{
    bool ret = false;
    if (id >= 0) {
        optional_lock(m_conn_mutex, m_enable_threading);
        auto it = m_connected.find(id);
        if (it == m_connected.end())
            ret = false;
        else
            ret = it->second->Write(data, size);
    }
    return ret;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x60(%rbp)
movb $0x0, -0x21(%rbp)
cmpq $0x0, -0x10(%rbp)
jl 0x10683
movq -0x60(%rbp), %rax
movq %rax, %rsi
addq $0xf0, %rsi
movzbl 0xec(%rax), %edx
andl $0x1, %edx
leaq -0x38(%rbp), %rdi
callq 0x11290
movq -0x60(%rbp), %rdi
leaq -0x10(%rbp), %rsi
callq 0x11800
movq %rax, -0x68(%rbp)
jmp 0x10603
movq -0x60(%rbp), %rdi
movq -0x68(%rbp), %rax
movq %rax, -0x40(%rbp)
callq 0x113e0
movq %rax, -0x58(%rbp)
leaq -0x40(%rbp), %rdi
leaq -0x58(%rbp), %rsi
callq 0x11f20
testb $0x1, %al
jne 0x1062b
jmp 0x10648
movb $0x0, -0x21(%rbp)
jmp 0x1067a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq -0x38(%rbp), %rdi
callq 0x11310
jmp 0x1068e
leaq -0x40(%rbp), %rdi
callq 0x11410
movq %rax, %rdi
addq $0x8, %rdi
callq 0x11430
movq %rax, %rdi
movq -0x18(%rbp), %rsi
movq -0x20(%rbp), %rdx
callq 0x1c460
movb %al, -0x69(%rbp)
jmp 0x10672
movb -0x69(%rbp), %al
andb $0x1, %al
movb %al, -0x21(%rbp)
leaq -0x38(%rbp), %rdi
callq 0x11310
movb -0x21(%rbp), %al
andb $0x1, %al
addq $0x70, %rsp
popq %rbp
retq
movq -0x48(%rbp), %rdi
callq 0x5710
nopw (%rax,%rax)
// File: theuni[P]libbtcnet/src/handler.cpp
// Function: CConnectionHandlerInt::SetRateLimit(long, CRateLimit const&)
void CConnectionHandlerInt::SetRateLimit(ConnID id, const CRateLimit& limit)
{
    if (id >= 0) {
        optional_lock(m_conn_mutex, m_enable_threading);
        auto it = m_connected.find(id);
        if (it != m_connected.end())
            it->second->SetRateLimit(limit);
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x50(%rbp)
cmpq $0x0, -0x10(%rbp)
jl 0x10768
movq -0x50(%rbp), %rax
movq %rax, %rsi
addq $0xf0, %rsi
movzbl 0xec(%rax), %edx
andl $0x1, %edx
leaq -0x28(%rbp), %rdi
callq 0x11290
movq -0x50(%rbp), %rdi
leaq -0x10(%rbp), %rsi
callq 0x11800
movq %rax, -0x58(%rbp)
jmp 0x106fb
movq -0x50(%rbp), %rdi
movq -0x58(%rbp), %rax
movq %rax, -0x30(%rbp)
callq 0x113e0
movq %rax, -0x48(%rbp)
leaq -0x30(%rbp), %rdi
leaq -0x48(%rbp), %rsi
callq 0x113b0
testb $0x1, %al
jne 0x10723
jmp 0x1075f
leaq -0x30(%rbp), %rdi
callq 0x11410
movq %rax, %rdi
addq $0x8, %rdi
callq 0x11430
movq %rax, %rdi
movq -0x18(%rbp), %rsi
callq 0x1b0c0
jmp 0x10746
jmp 0x1075f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x28(%rbp), %rdi
callq 0x11310
jmp 0x1076e
leaq -0x28(%rbp), %rdi
callq 0x11310
addq $0x60, %rsp
popq %rbp
retq
movq -0x38(%rbp), %rdi
callq 0x5710
nopw (%rax,%rax)
// File: theuni[P]libbtcnet/src/handler.cpp
// Function: CConnectionHandlerInt::SetIncomingRateLimit(CRateLimit const&)
void CConnectionHandlerInt::SetIncomingRateLimit(const CRateLimit& limit)
{
    event_type<ev_token_bucket_cfg> temp_cfg(ev_token_bucket_cfg_new(limit.nMaxReadRate, limit.nMaxBurstRead, limit.nMaxWriteRate, limit.nMaxBurstWrite, nullptr));
    {
        optional_lock(m_group_rate_mutex, m_enable_threading);
        bufferevent_rate_limit_group_set_cfg(m_incoming_rate_limit, temp_cfg);
        m_incoming_rate_cfg.swap(temp_cfg);
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdi
movq 0x18(%rax), %rdx
movq 0x10(%rax), %rcx
xorl %eax, %eax
movl %eax, %r8d
callq 0x5640
movq %rax, %rsi
leaq -0x18(%rbp), %rdi
callq 0x11f50
movq -0x40(%rbp), %rax
movq %rax, %rsi
addq $0x140, %rsi            # imm = 0x140
movzbl 0xec(%rax), %edx
andl $0x1, %edx
leaq -0x28(%rbp), %rdi
callq 0x11290
jmp 0x107e4
movq -0x40(%rbp), %rdi
addq $0x180, %rdi            # imm = 0x180
callq 0x11fa0
movq %rax, -0x48(%rbp)
jmp 0x107fa
leaq -0x18(%rbp), %rdi
callq 0x111a0
movq %rax, -0x50(%rbp)
jmp 0x10809
movq -0x50(%rbp), %rsi
movq -0x48(%rbp), %rdi
callq 0x53d0
jmp 0x10818
movq -0x40(%rbp), %rdi
addq $0x170, %rdi            # imm = 0x170
leaq -0x18(%rbp), %rsi
callq 0x11ff0
jmp 0x1082e
leaq -0x28(%rbp), %rdi
callq 0x11310
leaq -0x18(%rbp), %rdi
callq 0x10d00
addq $0x50, %rsp
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x10869
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
leaq -0x28(%rbp), %rdi
callq 0x11310
leaq -0x18(%rbp), %rdi
callq 0x10d00
movq -0x30(%rbp), %rdi
callq 0x5710
nopl (%rax,%rax)
// File: theuni[P]libbtcnet/src/handler.cpp
// Function: CConnectionHandlerInt::SetOutgoingRateLimit(CRateLimit const&)
void CConnectionHandlerInt::SetOutgoingRateLimit(const CRateLimit& limit)
{
    event_type<ev_token_bucket_cfg> temp_cfg(ev_token_bucket_cfg_new(limit.nMaxReadRate, limit.nMaxBurstRead, limit.nMaxWriteRate, limit.nMaxBurstWrite, nullptr));
    {
        optional_lock(m_group_rate_mutex, m_enable_threading);
        bufferevent_rate_limit_group_set_cfg(m_outgoing_rate_limit, temp_cfg);
        m_outgoing_rate_cfg.swap(temp_cfg);
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdi
movq 0x18(%rax), %rdx
movq 0x10(%rax), %rcx
xorl %eax, %eax
movl %eax, %r8d
callq 0x5640
movq %rax, %rsi
leaq -0x18(%rbp), %rdi
callq 0x11f50
movq -0x40(%rbp), %rax
movq %rax, %rsi
addq $0x140, %rsi            # imm = 0x140
movzbl 0xec(%rax), %edx
andl $0x1, %edx
leaq -0x28(%rbp), %rdi
callq 0x11290
jmp 0x108e4
movq -0x40(%rbp), %rdi
addq $0x188, %rdi            # imm = 0x188
callq 0x11fa0
movq %rax, -0x48(%rbp)
jmp 0x108fa
leaq -0x18(%rbp), %rdi
callq 0x111a0
movq %rax, -0x50(%rbp)
jmp 0x10909
movq -0x50(%rbp), %rsi
movq -0x48(%rbp), %rdi
callq 0x53d0
jmp 0x10918
movq -0x40(%rbp), %rdi
addq $0x178, %rdi            # imm = 0x178
leaq -0x18(%rbp), %rsi
callq 0x11ff0
jmp 0x1092e
leaq -0x28(%rbp), %rdi
callq 0x11310
leaq -0x18(%rbp), %rdi
callq 0x10d00
addq $0x50, %rsp
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x10969
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
leaq -0x28(%rbp), %rdi
callq 0x11310
leaq -0x18(%rbp), %rdi
callq 0x10d00
movq -0x30(%rbp), %rdi
callq 0x5710
nopl (%rax,%rax)
// File: theuni[P]libbtcnet/src/handler.cpp
// Function: CConnectionHandlerInt::ResetPingTimeout(long, int)
void CConnectionHandlerInt::ResetPingTimeout(ConnID id, int seconds)
{
    if (id >= 0) {
        optional_lock(m_conn_mutex, m_enable_threading);
        auto it = m_connected.find(id);
        if (it != m_connected.end())
            it->second->ResetPingTimeout(seconds);
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x50(%rbp)
cmpq $0x0, -0x10(%rbp)
jl 0x10aa6
movq -0x50(%rbp), %rax
movq %rax, %rsi
addq $0xf0, %rsi
movzbl 0xec(%rax), %edx
andl $0x1, %edx
leaq -0x28(%rbp), %rdi
callq 0x11290
movq -0x50(%rbp), %rdi
leaq -0x10(%rbp), %rsi
callq 0x11800
movq %rax, -0x58(%rbp)
jmp 0x10a3a
movq -0x50(%rbp), %rdi
movq -0x58(%rbp), %rax
movq %rax, -0x30(%rbp)
callq 0x113e0
movq %rax, -0x48(%rbp)
leaq -0x30(%rbp), %rdi
leaq -0x48(%rbp), %rsi
callq 0x113b0
testb $0x1, %al
jne 0x10a62
jmp 0x10a9d
leaq -0x30(%rbp), %rdi
callq 0x11410
movq %rax, %rdi
addq $0x8, %rdi
callq 0x11430
movq %rax, %rdi
movl -0x14(%rbp), %esi
callq 0x1add0
jmp 0x10a84
jmp 0x10a9d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x28(%rbp), %rdi
callq 0x11310
jmp 0x10aac
leaq -0x28(%rbp), %rdi
callq 0x11310
addq $0x60, %rsp
popq %rbp
retq
movq -0x38(%rbp), %rdi
callq 0x5710
nopw %cs:(%rax,%rax)
// File: theuni[P]libbtcnet/src/eventtypes.h
// Function: event_type<event_base>::operator=(event_base*)
inline event_type& operator=(T* rhs)
    {
        assert(rhs);
        free();
        m_obj = rhs;
        return *this;
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x18(%rbp)
cmpq $0x0, -0x10(%rbp)
je 0x10ec1
jmp 0x10ee0
leaq 0x15163(%rip), %rdi     # 0x2602b
leaq 0x15074(%rip), %rsi     # 0x25f43
movl $0x67, %edx
leaq 0x15154(%rip), %rcx     # 0x2602f
callq 0x52e0
movq -0x18(%rbp), %rdi
callq 0x11ee0
movq -0x18(%rbp), %rax
movq -0x10(%rbp), %rcx
movq %rcx, (%rax)
addq $0x20, %rsp
popq %rbp
retq
nopw (%rax,%rax)
// File: theuni[P]libbtcnet/src/resolve.cpp
// Function: CDNSResponse::iterator::operator++(int)
CDNSResponse::iterator CDNSResponse::iterator::operator++(int)
{
    assert(m_ai != nullptr);
    iterator ret = iterator(m_ai);
    m_ai = m_ai->ai_next;
    return ret;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x20(%rbp)
cmpq $0x0, (%rax)
je 0x17edf
jmp 0x17efe
leaq 0xe4ce(%rip), %rdi      # 0x263b4
leaq 0xe4d7(%rip), %rsi      # 0x263c4
movl $0x23, %edx
leaq 0xe518(%rip), %rcx      # 0x26411
callq 0x52e0
movq -0x20(%rbp), %rax
movq (%rax), %rsi
leaq -0x8(%rbp), %rdi
callq 0x17e50
movq -0x20(%rbp), %rax
movq (%rax), %rcx
movq 0x28(%rcx), %rcx
movq %rcx, (%rax)
movq -0x8(%rbp), %rax
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: theuni[P]libbtcnet/src/resolve.cpp
// Function: CDNSResponse::operator=(CDNSResponse&&)
CDNSResponse& CDNSResponse::operator=(CDNSResponse&& rhs) noexcept
{
    clear();
    m_ai = rhs.m_ai;
    rhs.m_ai = nullptr;
    return *this;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x18(%rbp)
callq 0x18050
jmp 0x1817f
movq -0x18(%rbp), %rax
movq -0x10(%rbp), %rcx
movq (%rcx), %rcx
movq %rcx, (%rax)
movq -0x10(%rbp), %rcx
movq $0x0, (%rcx)
addq $0x20, %rsp
popq %rbp
retq
movq %rax, %rdi
callq 0x6670
nopw %cs:(%rax,%rax)
// File: theuni[P]libbtcnet/src/resolve.cpp
// Function: CDNSResolve::SetResolveFamily(int, addrinfo*)
bool CDNSResolve::SetResolveFamily(int family, evutil_addrinfo* hint)
{
    if ((family & CConnectionOptions::IP) == CConnectionOptions::IP)
        hint->ai_family = AF_UNSPEC;
    else if ((family & CConnectionOptions::IPV4) == CConnectionOptions::IPV4)
        hint->ai_family = AF_INET;
    else if ((family & CConnectionOptions::IPV6) == CConnectionOptions::IPV6)
        hint->ai_family = AF_INET6;
    else
        return false;
    return true;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movl %edi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl -0x8(%rbp), %eax
andl $0x6, %eax
cmpl $0x6, %eax
jne 0x181d3
movq -0x10(%rbp), %rax
movl $0x0, 0x4(%rax)
jmp 0x1820d
movl -0x8(%rbp), %eax
andl $0x2, %eax
cmpl $0x2, %eax
jne 0x181eb
movq -0x10(%rbp), %rax
movl $0x2, 0x4(%rax)
jmp 0x1820b
movl -0x8(%rbp), %eax
andl $0x4, %eax
cmpl $0x4, %eax
jne 0x18203
movq -0x10(%rbp), %rax
movl $0xa, 0x4(%rax)
jmp 0x18209
movb $0x0, -0x1(%rbp)
jmp 0x18211
jmp 0x1820b
jmp 0x1820d
movb $0x1, -0x1(%rbp)
movb -0x1(%rbp), %al
andb $0x1, %al
popq %rbp
retq
nopl (%rax,%rax)
// File: theuni[P]libbtcnet/src/resolve.cpp
// Function: CDNSResolve::Resolve(event_type<evdns_base> const&, char const*, char const*, addrinfo const*)
event_type<evdns_getaddrinfo_request> CDNSResolve::Resolve(const event_type<evdns_base>& dns_base, const char* host, const char* port, const evutil_addrinfo* hints)
{
    assert(host != nullptr);
    assert(port != nullptr);
    // evdns_getaddrinfo may return NULL on success.
    event_type<evdns_getaddrinfo_request> result;
    result.reset(evdns_getaddrinfo(dns_base, host, port, hints, dns_callback, this));
    return result;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x60(%rbp)
movq %rdi, %rax
movq %rax, -0x58(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq %r9, -0x30(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x50(%rbp)
cmpq $0x0, -0x20(%rbp)
je 0x1825c
jmp 0x1827b
leaq 0xe222(%rip), %rdi      # 0x26485
leaq 0xe15a(%rip), %rsi      # 0x263c4
movl $0x7c, %edx
leaq 0xe21f(%rip), %rcx      # 0x26495
callq 0x52e0
cmpq $0x0, -0x28(%rbp)
je 0x18284
jmp 0x182a3
leaq 0xe293(%rip), %rdi      # 0x2651e
leaq 0xe132(%rip), %rsi      # 0x263c4
movl $0x7d, %edx
leaq 0xe1f7(%rip), %rcx      # 0x26495
callq 0x52e0
movq -0x60(%rbp), %rdi
movb $0x0, -0x31(%rbp)
callq 0x18440
movq -0x18(%rbp), %rdi
callq 0x10ff0
movq %rax, -0x68(%rbp)
jmp 0x182bf
movq -0x50(%rbp), %r9
movq -0x68(%rbp), %rdi
movq -0x20(%rbp), %rsi
movq -0x28(%rbp), %rdx
movq -0x30(%rbp), %rcx
leaq 0x66(%rip), %r8         # 0x18340
callq 0x5500
movq %rax, -0x70(%rbp)
jmp 0x182e5
movq -0x70(%rbp), %rsi
movq -0x60(%rbp), %rdi
callq 0x18460
jmp 0x182f4
movb $0x1, -0x31(%rbp)
testb $0x1, -0x31(%rbp)
jne 0x18320
jmp 0x18317
movq -0x60(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
callq 0x17270
jmp 0x1832a
movq -0x60(%rbp), %rdi
callq 0x17270
movq -0x58(%rbp), %rax
addq $0x70, %rsp
popq %rbp
retq
movq -0x40(%rbp), %rdi
callq 0x5710
nopw %cs:(%rax,%rax)
// File: theuni[P]libbtcnet/src/resolve.cpp
// Function: CDNSResolve::dns_callback(int, addrinfo*, void*)
void CDNSResolve::dns_callback(int result, evutil_addrinfo* ai, void* ctx)
{
    if (result == EVUTIL_EAI_CANCEL) {
        // Do nothing. Class may no longer exist.
    } else if (result == DNS_ERR_NONE) {
        assert(ctx != nullptr);
        CDNSResolve* resolver = static_cast<CDNSResolve*>(ctx);
        resolver->OnResolveSuccess(CDNSResponse(ai));
    } else {
        assert(ctx != nullptr);
        CDNSResolve* resolver = static_cast<CDNSResolve*>(ctx);
        resolver->OnResolveFailure(result);
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movl %edi, -0x4(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
cmpl $0xfffea06f, -0x4(%rbp) # imm = 0xFFFEA06F
jne 0x18361
jmp 0x18424
cmpl $0x0, -0x4(%rbp)
jne 0x183e5
cmpq $0x0, -0x18(%rbp)
je 0x18370
jmp 0x1838f
leaq 0xe1b7(%rip), %rdi      # 0x2652e
leaq 0xe046(%rip), %rsi      # 0x263c4
movl $0x89, %edx
leaq 0xe1b3(%rip), %rcx      # 0x2653d
callq 0x52e0
movq -0x18(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x10(%rbp), %rsi
leaq -0x28(%rbp), %rdi
movq %rdi, -0x48(%rbp)
callq 0x18000
movq -0x50(%rbp), %rdi
movq -0x48(%rbp), %rsi
movq (%rdi), %rax
movq 0x10(%rax), %rax
callq *%rax
jmp 0x183c3
leaq -0x28(%rbp), %rdi
callq 0x18020
jmp 0x18422
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
leaq -0x28(%rbp), %rdi
callq 0x18020
jmp 0x1842a
cmpq $0x0, -0x18(%rbp)
je 0x183ee
jmp 0x1840d
leaq 0xe139(%rip), %rdi      # 0x2652e
leaq 0xdfc8(%rip), %rsi      # 0x263c4
movl $0x8d, %edx
leaq 0xe135(%rip), %rcx      # 0x2653d
callq 0x52e0
movq -0x18(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x40(%rbp), %rdi
movl -0x4(%rbp), %esi
movq (%rdi), %rax
callq *0x18(%rax)
jmp 0x18424
addq $0x50, %rsp
popq %rbp
retq
movq -0x30(%rbp), %rdi
callq 0x5710
nopw %cs:(%rax,%rax)
nopl (%rax)
// File: theuni[P]libbtcnet/src/directconn.cpp
// Function: CDirectConnection::Connect()
void CDirectConnection::Connect()
{
    assert(m_connection.IsSet());

    const CConnectionOptions& opts = m_connection.GetOptions();

    timeval connTimeout;
    connTimeout.tv_sec = opts.nConnTimeout;
    connTimeout.tv_usec = 0;

    sockaddr_storage addr_storage;
    memset(&addr_storage, 0, sizeof(addr_storage));
    int addrlen = sizeof(addr_storage);
    sockaddr* addr = reinterpret_cast<sockaddr*>(&addr_storage);
    m_connection.GetSockAddr(addr, &addrlen);

    if (m_connection.CanConnectDirect())
        BareConnect(m_event_base, m_handler.GetBevOpts(), BAD_SOCKET, addr, addrlen, connTimeout);
    else
        OnConnectionFailure(ConnectionFailureType::CONNECT, 0, m_connection, false);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x260, %rsp            # imm = 0x260
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x240(%rbp)
addq $0x18, %rdi
callq 0xa100
testb $0x1, %al
jne 0x18659
jmp 0x1865b
jmp 0x1867a
leaq 0xdf28(%rip), %rdi      # 0x2658a
leaq 0xdf36(%rip), %rsi      # 0x2659f
movl $0x1e, %edx
leaq 0xdf3d(%rip), %rcx      # 0x265b2
callq 0x52e0
movq -0x240(%rbp), %rdi
addq $0x18, %rdi
callq 0xa9c0
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
movslq 0xc(%rax), %rax
movq %rax, -0x20(%rbp)
movq $0x0, -0x18(%rbp)
leaq -0xa0(%rbp), %rdi
xorl %esi, %esi
movl $0x80, %edx
callq 0x5220
movq -0x240(%rbp), %rdi
movl $0x80, -0xa4(%rbp)
leaq -0xa0(%rbp), %rax
movq %rax, -0xb0(%rbp)
addq $0x18, %rdi
movq -0xb0(%rbp), %rsi
leaq -0xa4(%rbp), %rdx
callq 0x9cb0
movq -0x240(%rbp), %rdi
addq $0x18, %rdi
callq 0xaab0
testb $0x1, %al
jne 0x18701
jmp 0x1875f
movq -0x240(%rbp), %rax
movq %rax, %rcx
addq $0x2b0, %rcx            # imm = 0x2B0
movq %rcx, -0x250(%rbp)
movq 0x10(%rax), %rcx
movq %rcx, -0x248(%rbp)
movq 0x8(%rax), %rdi
callq 0x101b0
movq -0x250(%rbp), %rdi
movq -0x248(%rbp), %rsi
movl %eax, %edx
movq -0xb0(%rbp), %r8
movl -0xa4(%rbp), %r9d
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
leaq -0x20(%rbp), %rax
movq %rax, (%rsp)
callq 0x19eb0
jmp 0x187cb
movq -0x240(%rbp), %rsi
addq $0x18, %rsi
leaq -0x228(%rbp), %rdi
movq %rdi, -0x258(%rbp)
callq 0xc230
movq -0x240(%rbp), %rdi
movq -0x258(%rbp), %rcx
movl $0x1, %esi
xorl %r8d, %r8d
movl %r8d, %edx
callq 0x1b200
jmp 0x1879d
leaq -0x228(%rbp), %rdi
callq 0x68f0
jmp 0x187cb
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x230(%rbp)
movl %eax, -0x234(%rbp)
leaq -0x228(%rbp), %rdi
callq 0x68f0
jmp 0x187d4
addq $0x260, %rsp            # imm = 0x260
popq %rbp
retq
movq -0x230(%rbp), %rdi
callq 0x5710
// File: theuni[P]libbtcnet/src/dnsconn.cpp
// Function: CDNSConnection::Connect()
void CDNSConnection::Connect()
{
    assert(!m_request);

    if (m_iter == m_resolved.end())
        DoResolve();
    else
        ConnectResolved();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x18(%rbp)
addq $0x2e0, %rdi            # imm = 0x2E0
callq 0x19d10
testb $0x1, %al
jne 0x18db6
jmp 0x18db8
jmp 0x18dd7
leaq 0xd831(%rip), %rdi      # 0x265f0
leaq 0xd835(%rip), %rsi      # 0x265fb
movl $0x21, %edx
leaq 0xd839(%rip), %rcx      # 0x2660b
callq 0x52e0
movq -0x18(%rbp), %rdi
movq %rdi, %rax
addq $0x2d8, %rax            # imm = 0x2D8
movq %rax, -0x20(%rbp)
addq $0x2d0, %rdi            # imm = 0x2D0
callq 0x180c0
movq -0x20(%rbp), %rdi
movq %rax, -0x10(%rbp)
leaq -0x10(%rbp), %rsi
callq 0x17f80
testb $0x1, %al
jne 0x18e0b
jmp 0x18e16
movq -0x18(%rbp), %rdi
callq 0x18e30
jmp 0x18e1f
movq -0x18(%rbp), %rdi
callq 0x190f0
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: theuni[P]libbtcnet/src/dnsconn.cpp
// Function: CDNSConnection::ConnectResolved()
void CDNSConnection::ConnectResolved()
{
    assert(m_iter != m_resolved.end());
    assert(!m_resolved.empty());

    const CConnectionOptions& opts = m_connection.GetOptions();
    timeval connTimeout;
    connTimeout.tv_sec = opts.nConnTimeout;
    connTimeout.tv_usec = 0;
    if (CConnection::CanConnectDirect(m_iter->ai_addr, opts.nFamily))
        BareConnect(m_event_base, m_handler.GetBevOpts(), BAD_SOCKET, m_iter->ai_addr, m_iter->ai_addrlen, connTimeout);
    else
        OnConnectFailure(0, 0);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x38(%rbp)
movq %rdi, %rax
addq $0x2d8, %rax            # imm = 0x2D8
movq %rax, -0x30(%rbp)
addq $0x2d0, %rdi            # imm = 0x2D0
callq 0x180c0
movq -0x30(%rbp), %rdi
movq %rax, -0x10(%rbp)
leaq -0x10(%rbp), %rsi
callq 0x17fb0
testb $0x1, %al
jne 0x19134
jmp 0x19136
jmp 0x19155
leaq 0xd601(%rip), %rdi      # 0x2673e
leaq 0xd4b7(%rip), %rsi      # 0x265fb
movl $0x6c, %edx
leaq 0xd643(%rip), %rcx      # 0x26793
callq 0x52e0
movq -0x38(%rbp), %rdi
addq $0x2d0, %rdi            # imm = 0x2D0
callq 0x180f0
xorb $-0x1, %al
testb $0x1, %al
jne 0x1916d
jmp 0x1916f
jmp 0x1918e
leaq 0xd5b4(%rip), %rdi      # 0x2672a
leaq 0xd47e(%rip), %rsi      # 0x265fb
movl $0x6d, %edx
leaq 0xd60a(%rip), %rcx      # 0x26793
callq 0x52e0
movq -0x38(%rbp), %rdi
addq $0x18, %rdi
callq 0xa9c0
movq -0x38(%rbp), %rdi
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rax
movslq 0xc(%rax), %rax
movq %rax, -0x28(%rbp)
movq $0x0, -0x20(%rbp)
addq $0x2d8, %rdi            # imm = 0x2D8
callq 0x17f30
movq 0x18(%rax), %rdi
movq -0x18(%rbp), %rax
movl 0x28(%rax), %esi
callq 0xaa00
testb $0x1, %al
jne 0x191d9
jmp 0x1924e
movq -0x38(%rbp), %rax
movq %rax, %rcx
addq $0x2b0, %rcx            # imm = 0x2B0
movq %rcx, -0x58(%rbp)
movq 0x10(%rax), %rcx
movq %rcx, -0x50(%rbp)
movq 0x8(%rax), %rdi
callq 0x101b0
movq -0x38(%rbp), %rdi
movl %eax, -0x44(%rbp)
addq $0x2d8, %rdi            # imm = 0x2D8
callq 0x17f30
movq -0x38(%rbp), %rdi
movq 0x18(%rax), %rax
movq %rax, -0x40(%rbp)
addq $0x2d8, %rdi            # imm = 0x2D8
callq 0x17f30
movq -0x58(%rbp), %rdi
movq -0x50(%rbp), %rsi
movl -0x44(%rbp), %edx
movq -0x40(%rbp), %r8
movl 0x10(%rax), %r9d
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
leaq -0x28(%rbp), %rax
movq %rax, (%rsp)
callq 0x19eb0
jmp 0x1925b
movq -0x38(%rbp), %rdi
xorl %edx, %edx
movl %edx, %esi
callq 0x198f0
addq $0x60, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: theuni[P]libbtcnet/src/dnsconn.cpp
// Function: CDNSConnection::OnResolveFailure(int)
void CDNSConnection::OnResolveFailure(int error)
{
    assert(m_resolved.empty());
    assert(m_iter == m_resolved.end());

    m_request.reset(nullptr);
    OnConnectionFailure(ConnectionFailureType::RESOLVE, error, m_connection, m_retries > 0 ? m_retries-- != 0 : m_retries != 0);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x1c0, %rsp            # imm = 0x1C0
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x1a8(%rbp)
addq $0x2d0, %rdi            # imm = 0x2D0
callq 0x180f0
testb $0x1, %al
jne 0x1929f
jmp 0x192a1
jmp 0x192c0
leaq 0xd483(%rip), %rdi      # 0x2672b
leaq 0xd34c(%rip), %rsi      # 0x265fb
movl $0x3f, %edx
leaq 0xd3b3(%rip), %rcx      # 0x2666e
callq 0x52e0
movq -0x1a8(%rbp), %rdi
movq %rdi, %rax
addq $0x2d8, %rax            # imm = 0x2D8
movq %rax, -0x1b0(%rbp)
addq $0x2d0, %rdi            # imm = 0x2D0
callq 0x180c0
movq -0x1b0(%rbp), %rdi
movq %rax, -0x18(%rbp)
leaq -0x18(%rbp), %rsi
callq 0x17f80
testb $0x1, %al
jne 0x192fd
jmp 0x192ff
jmp 0x1931e
leaq 0xd34d(%rip), %rdi      # 0x26653
leaq 0xd2ee(%rip), %rsi      # 0x265fb
movl $0x40, %edx
leaq 0xd355(%rip), %rcx      # 0x2666e
callq 0x52e0
movq -0x1a8(%rbp), %rdi
addq $0x2e0, %rdi            # imm = 0x2E0
xorl %eax, %eax
movl %eax, %esi
callq 0x18460
movq -0x1a8(%rbp), %rsi
movl -0xc(%rbp), %eax
movl %eax, -0x1b4(%rbp)
addq $0x18, %rsi
leaq -0x190(%rbp), %rdi
callq 0xc230
movq -0x1a8(%rbp), %rax
cmpl $0x0, 0x2c8(%rax)
jle 0x1938b
movq -0x1a8(%rbp), %rcx
movl 0x2c8(%rcx), %eax
movl %eax, %edx
addl $-0x1, %edx
movl %edx, 0x2c8(%rcx)
cmpl $0x0, %eax
setne %al
movb %al, -0x1b5(%rbp)
jmp 0x193a2
movq -0x1a8(%rbp), %rax
cmpl $0x0, 0x2c8(%rax)
setne %al
movb %al, -0x1b5(%rbp)
movl -0x1b4(%rbp), %edx
movq -0x1a8(%rbp), %rdi
movb -0x1b5(%rbp), %al
movzbl %al, %r8d
andl $0x1, %r8d
movl $0x2, %esi
leaq -0x190(%rbp), %rcx
callq 0x1b200
jmp 0x193d0
leaq -0x190(%rbp), %rdi
callq 0x68f0
addq $0x1c0, %rsp            # imm = 0x1C0
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x198(%rbp)
movl %eax, -0x19c(%rbp)
leaq -0x190(%rbp), %rdi
callq 0x68f0
movq -0x198(%rbp), %rdi
callq 0x5710
nop
// File: theuni[P]libbtcnet/src/dnsconn.cpp
// Function: CDNSConnection::OnResolveSuccess(CDNSResponse&&)
void CDNSConnection::OnResolveSuccess(CDNSResponse&& response)
{
    assert(m_resolved.empty());
    assert(m_iter == m_resolved.end());

    m_request.reset(nullptr);
    m_resolved = std::move(response);
    m_iter = m_resolved.begin();
    ConnectResolved();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x28(%rbp)
addq $0x2d0, %rdi            # imm = 0x2D0
callq 0x180f0
testb $0x1, %al
jne 0x1945a
jmp 0x1945c
jmp 0x1947b
leaq 0xd2c8(%rip), %rdi      # 0x2672b
leaq 0xd191(%rip), %rsi      # 0x265fb
movl $0x48, %edx
leaq 0xd22b(%rip), %rcx      # 0x266a1
callq 0x52e0
movq -0x28(%rbp), %rdi
movq %rdi, %rax
addq $0x2d8, %rax            # imm = 0x2D8
movq %rax, -0x30(%rbp)
addq $0x2d0, %rdi            # imm = 0x2D0
callq 0x180c0
movq -0x30(%rbp), %rdi
movq %rax, -0x18(%rbp)
leaq -0x18(%rbp), %rsi
callq 0x17f80
testb $0x1, %al
jne 0x194af
jmp 0x194b1
jmp 0x194d0
leaq 0xd19b(%rip), %rdi      # 0x26653
leaq 0xd13c(%rip), %rsi      # 0x265fb
movl $0x49, %edx
leaq 0xd1d6(%rip), %rcx      # 0x266a1
callq 0x52e0
movq -0x28(%rbp), %rdi
addq $0x2e0, %rdi            # imm = 0x2E0
xorl %eax, %eax
movl %eax, %esi
callq 0x18460
movq -0x28(%rbp), %rdi
movq -0x10(%rbp), %rsi
addq $0x2d0, %rdi            # imm = 0x2D0
callq 0x18160
movq -0x28(%rbp), %rdi
addq $0x2d0, %rdi            # imm = 0x2D0
callq 0x18090
movq -0x28(%rbp), %rdi
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
movq %rax, 0x2d8(%rdi)
callq 0x190f0
addq $0x30, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: theuni[P]libbtcnet/src/eventtypes.h
// Function: event_type<evdns_getaddrinfo_request>::operator=(event_type<evdns_getaddrinfo_request>&&)
inline event_type& operator=(event_type&& rhs) noexcept
    {
        free();
        m_obj = rhs.m_obj;
        rhs.reset(nullptr);
        return *this;
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x18(%rbp)
callq 0x172a0
jmp 0x19d4f
movq -0x18(%rbp), %rax
movq -0x10(%rbp), %rcx
movq (%rcx), %rcx
movq %rcx, (%rax)
movq -0x10(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0x18460
jmp 0x19d6c
movq -0x18(%rbp), %rax
addq $0x20, %rsp
popq %rbp
retq
movq %rax, %rdi
callq 0x6670
nop