// File: /workspace/github_cpp_makefile_star2_O2/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, 0x10765(%rip)     # 0x1d4b0
je 0xcdf2
leaq 0x5fc9(%rip), %rsi      # 0x12d21
leaq 0x98(%rsp), %rbx
movq %rbx, %rdi
movl $0x3948, %edx           # imm = 0x3948
xorl %ecx, %ecx
callq 0x8c92
movzwl 0x10(%rbx), %eax
movw %ax, 0x10(%rsp)
movups (%rbx), %xmm0
movups %xmm0, (%rsp)
leaq 0x58(%rsp), %rbx
pushq $0x1
popq %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x9ac4
leaq 0x1071e(%rip), %r15     # 0x1d4b8
pushq $0x1
popq %rbp
movq %r15, %rdi
movq %rbx, %rsi
movl %ebp, %edx
callq 0xdd24
leaq 0x5f7d(%rip), %rsi      # 0x12d2e
leaq 0x80(%rsp), %rbx
movq %rbx, %rdi
movl $0x3948, %edx           # imm = 0x3948
xorl %ecx, %ecx
callq 0x8c92
movzwl 0x10(%rbx), %eax
movw %ax, 0x10(%rsp)
movups (%rbx), %xmm0
movups %xmm0, (%rsp)
leaq 0x58(%rsp), %rbx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x9ac4
movq %r15, %rdi
movq %rbx, %rsi
movl %ebp, %edx
jmp 0xce3d
leaq 0x5f10(%rip), %rsi      # 0x12d09
leaq 0xb0(%rsp), %rbx
movq %rbx, %rdi
movl $0xae78, %edx           # imm = 0xAE78
xorl %ecx, %ecx
callq 0x8c92
movzwl 0x10(%rbx), %eax
movw %ax, 0x10(%rsp)
movups (%rbx), %xmm0
movups %xmm0, (%rsp)
leaq 0x58(%rsp), %rbx
pushq $0x1
popq %rsi
movq %rbx, %rdi
callq 0x9ac4
leaq 0x10681(%rip), %rdi     # 0x1d4b8
pushq $0x1
popq %rdx
movq %rbx, %rsi
callq 0xdd24
xorl %r14d, %r14d
pushq $0x1
popq %rbp
leaq 0x40(%rsp), %r15
leaq 0x58(%rsp), %r12
pushq $0x1
popq %r13
leaq 0x1065b(%rip), %rbx     # 0x1d4b8
movq %r14, 0x38(%rsp)
shlq $0x5, %r14
movq 0x1057b(%rip), %rdi     # 0x1d3e8
addq %r14, %rdi
leaq 0x58ae(%rip), %rsi      # 0x12725
callq 0xdd61
testb %al, %al
je 0xcf06
andq $0x0, 0x30(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x20(%rsp)
movq 0x1054f(%rip), %rax     # 0x1d3e8
movq (%rax,%r14), %rdi
leaq 0x20(%rsp), %rsi
xorl %edx, %edx
movl %ebp, %ecx
callq 0x6b90
movq 0x20(%rsp), %r14
cmpq 0x28(%rsp), %r14
je 0xcf18
cmpb $0x0, 0x105f2(%rip)     # 0x1d4b0
movl $0x3948, %edx           # imm = 0x3948
jne 0xceca
movl $0xae78, %edx           # imm = 0xAE78
movq %r15, %rdi
movq %r14, %rsi
callq 0x8b4c
movzwl 0x50(%rsp), %eax
movw %ax, 0x10(%rsp)
movups 0x40(%rsp), %xmm0
movups %xmm0, (%rsp)
movq %r12, %rdi
movq %r13, %rsi
callq 0x9ac4
movq %rbx, %rdi
movq %r12, %rsi
movl %ebp, %edx
callq 0xdd24
addq $0x10, %r14
jmp 0xceb0
movl $0x1b7740, %edi         # imm = 0x1B7740
callq 0xc6c7
xorl %r14d, %r14d
jmp 0xce5d
leaq 0x20(%rsp), %rdi
callq 0x9586
movq 0x38(%rsp), %r14
incq %r14
jmp 0xce5d
jmp 0xcf31
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x9586
movq %rbx, %rdi
callq 0x3690