// File: /workspace/github_cpp_makefile_star2_O3/mooncoincore[P]mooncoin-seeder/main.cpp
// Function: ThreadSeeder
void* ThreadSeeder(void*) {
  if (!fTestNet){
    db.Add(CService("45.32.217.146.vultr.com", 44664), true);
  }else{
    db.Add(CService("45.32.90.235", 14664), true);
    db.Add(CService("217.163.29.38", 14664), true);
  }
  do {
    for (int i=0; seeds[i] != ""; i++) {
      vector<CNetAddr> ips;
      LookupHost(seeds[i].c_str(), ips);
      for (vector<CNetAddr>::iterator it = ips.begin(); it != ips.end(); it++) {
        db.Add(CService(*it, GetDefaultPort()), true);
      }
    }
    Sleep(1800000);
  } while(1);
  return nullptr;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
cmpb $0x0, 0xe6cd(%rip)      # 0x1c480
je 0xde55
leaq 0x5f61(%rip), %rsi      # 0x13d21
leaq 0x98(%rsp), %rbx
movq %rbx, %rdi
movl $0x3948, %edx           # imm = 0x3948
xorl %ecx, %ecx
callq 0x9db6
movzwl 0x10(%rbx), %eax
movw %ax, 0x10(%rsp)
movups (%rbx), %xmm0
movups %xmm0, (%rsp)
leaq 0x58(%rsp), %rbx
movl $0x1, %esi
movq %rbx, %rdi
callq 0xac86
leaq 0xe688(%rip), %r14      # 0x1c488
movq %r14, %rdi
movq %rbx, %rsi
movl $0x1, %edx
callq 0xeeb4
leaq 0x5f17(%rip), %rsi      # 0x13d2e
leaq 0x80(%rsp), %rbx
movq %rbx, %rdi
movl $0x3948, %edx           # imm = 0x3948
xorl %ecx, %ecx
callq 0x9db6
movzwl 0x10(%rbx), %eax
movw %ax, 0x10(%rsp)
movups (%rbx), %xmm0
movups %xmm0, (%rsp)
leaq 0x58(%rsp), %rbx
movl $0x1, %esi
movq %rbx, %rdi
callq 0xac86
movq %r14, %rdi
jmp 0xde9c
leaq 0x5ead(%rip), %rsi      # 0x13d09
leaq 0xb0(%rsp), %rbx
movq %rbx, %rdi
movl $0xae78, %edx           # imm = 0xAE78
xorl %ecx, %ecx
callq 0x9db6
movzwl 0x10(%rbx), %eax
movw %ax, 0x10(%rsp)
movups (%rbx), %xmm0
movups %xmm0, (%rsp)
leaq 0x58(%rsp), %rbx
movl $0x1, %esi
movq %rbx, %rdi
callq 0xac86
leaq 0xe5ec(%rip), %rdi      # 0x1c488
movq %rbx, %rsi
movl $0x1, %edx
callq 0xeeb4
leaq 0x58a5(%rip), %rbx      # 0x13755
leaq 0x58(%rsp), %r14
leaq 0x40(%rsp), %r12
leaq 0xe5c7(%rip), %r13      # 0x1c488
movq 0xe4f0(%rip), %rdi      # 0x1c3b8
movq %rbx, %rsi
callq 0x30e0
testl %eax, %eax
je 0xdfa7
xorl %r15d, %r15d
xorps %xmm0, %xmm0
movaps %xmm0, 0x20(%rsp)
movq $0x0, 0x30(%rsp)
movq 0xe4c5(%rip), %rax      # 0x1c3b8
movq %r15, %rcx
shlq $0x5, %rcx
movq (%rax,%rcx), %rdi
leaq 0x20(%rsp), %rsi
xorl %edx, %edx
movl $0x1, %ecx
callq 0x7452
movq 0x20(%rsp), %rbp
cmpq 0x28(%rsp), %rbp
je 0xdf79
cmpb $0x0, 0xe55e(%rip)      # 0x1c480
movl $0x3948, %edx           # imm = 0x3948
jne 0xdf2e
movl $0xae78, %edx           # imm = 0xAE78
movq %r12, %rdi
movq %rbp, %rsi
callq 0x9c78
movzwl 0x50(%rsp), %eax
movw %ax, 0x10(%rsp)
movups 0x40(%rsp), %xmm0
movups %xmm0, (%rsp)
movl $0x1, %esi
movq %r14, %rdi
callq 0xac86
movq %r13, %rdi
movq %r14, %rsi
movl $0x1, %edx
callq 0xeeb4
addq $0x10, %rbp
cmpq 0x28(%rsp), %rbp
jne 0xdf1b
movq 0x20(%rsp), %rbp
testq %rbp, %rbp
je 0xdf86
movq %rbp, %rdi
callq 0x33d0
incq %r15
movq %r15, %rdi
shlq $0x5, %rdi
addq 0xe421(%rip), %rdi      # 0x1c3b8
movq %rbx, %rsi
callq 0x30e0
testl %eax, %eax
jne 0xdedb
movq $0x708, 0x58(%rsp)      # imm = 0x708
movq $0x0, 0x60(%rsp)
movq %r14, %rdi
xorl %esi, %esi
callq 0x3100
jmp 0xdec1
jmp 0xdfca
movq %rax, %rbx
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0xdfdc
callq 0x33d0
movq %rbx, %rdi
callq 0x3650