// File: /workspace/github_cpp_makefile_star2_O1/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, 0xe4cb(%rip)      # 0x1c480
je 0xe057
leaq 0x5d4f(%rip), %rsi      # 0x13d11
leaq 0x98(%rsp), %rbx
movq %rbx, %rdi
movl $0x3948, %edx           # imm = 0x3948
xorl %ecx, %ecx
callq 0x9f34
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 0xae26
leaq 0xe486(%rip), %r14      # 0x1c488
movq %r14, %rdi
movq %rbx, %rsi
movl $0x1, %edx
callq 0xf0c8
leaq 0x5d05(%rip), %rsi      # 0x13d1e
leaq 0x80(%rsp), %rbx
movq %rbx, %rdi
movl $0x3948, %edx           # imm = 0x3948
xorl %ecx, %ecx
callq 0x9f34
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 0xae26
movq %r14, %rdi
jmp 0xe09e
leaq 0x5c9b(%rip), %rsi      # 0x13cf9
leaq 0xb0(%rsp), %rbx
movq %rbx, %rdi
movl $0xae78, %edx           # imm = 0xAE78
xorl %ecx, %ecx
callq 0x9f34
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 0xae26
leaq 0xe3ea(%rip), %rdi      # 0x1c488
movq %rbx, %rsi
movl $0x1, %edx
callq 0xf0c8
leaq 0x56a3(%rip), %rbx      # 0x13755
leaq 0x58(%rsp), %r14
leaq 0x40(%rsp), %r12
leaq 0xe3c5(%rip), %r13      # 0x1c488
movq 0xe2ee(%rip), %rdi      # 0x1c3b8
movq %rbx, %rsi
callq 0x30e0
testl %eax, %eax
je 0xe1a1
xorl %r15d, %r15d
xorps %xmm0, %xmm0
movaps %xmm0, 0x20(%rsp)
movq $0x0, 0x30(%rsp)
movq 0xe2c3(%rip), %rax      # 0x1c3b8
movq %r15, %rcx
shlq $0x5, %rcx
movq (%rax,%rcx), %rdi
leaq 0x20(%rsp), %rsi
xorl %edx, %edx
movl $0x1, %ecx
callq 0x750e
movq 0x20(%rsp), %rbp
cmpq 0x28(%rsp), %rbp
je 0xe171
cmpb $0x0, 0xe35c(%rip)      # 0x1c480
movl $0x3948, %edx           # imm = 0x3948
jne 0xe130
movl $0xae78, %edx           # imm = 0xAE78
movq %r12, %rdi
movq %rbp, %rsi
callq 0x9df6
movzwl 0x50(%rsp), %eax
movw %ax, 0x10(%rsp)
movups 0x40(%rsp), %xmm0
movups %xmm0, (%rsp)
movl $0x1, %esi
movq %r14, %rdi
callq 0xae26
movq %r13, %rdi
movq %r14, %rsi
movl $0x1, %edx
callq 0xf0c8
addq $0x10, %rbp
jmp 0xe116
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0xe180
callq 0x33d0
incq %r15
movq %r15, %rdi
shlq $0x5, %rdi
addq 0xe227(%rip), %rdi      # 0x1c3b8
movq %rbx, %rsi
callq 0x30e0
testl %eax, %eax
jne 0xe0dd
movq $0x708, 0x58(%rsp)      # imm = 0x708
movq $0x0, 0x60(%rsp)
movq %r14, %rdi
xorl %esi, %esi
callq 0x3100
jmp 0xe0c3
jmp 0xe1c4
movq %rax, %rbx
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0xe1d6
callq 0x33d0
movq %rbx, %rdi
callq 0x3650