Function at 0x14001cbb0
Capabilities:
Resolve dns

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov qword [rbp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x1f0], rbx
mov rax, qword [0x1400f4d50]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov qword [rsp + 0x30], rdx
mov rdi, rcx
xor esi, esi
mov r13d, esi
mov dword [rsp + 0x28], esi
mov rcx, rdx
call fcn.14001c260
cmp qword [rdi + 0x18], 8
jb 0x14001cc0f
mov rdi, qword [rdi]
lea rcx, str._V_a_
mov rax, qword [str._V_a_]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x20], rbx
test rdi, rdi
je 0x14001cc5a
test rdi, 0xffffffffffff0000
jne 0x14001cc5a
movzx edi, di
xor edx, edx
mov ecx, edi
call fcn.14001b7a0
test rax, rax
je 0x14001cc6c
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.14001bea0
jmp 0x14001cc67
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.14001bfe0
mov rbx, qword [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov r14, rax
test rax, rax
jne 0x14001cca8
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
lea rdx, [rbx - 0x18]
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x14001cca1
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.WS2_32.dll_htonl + 8]
mov eax, edi
jmp 0x14001cf42
mov rax, qword [rax + 0x18]
mov r15, rsi
cmp qword [rax], rsi
je 0x14001cf25
mov rcx, rsi
lea rdi, vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
lea r12, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
nop dword [rax]
movsx r8, word [r14 + 0x12]
mov rdx, qword [rcx + rax]
lea rcx, [rbp + 0x54]
call fcn.140095540
lea rax, [0x1400be190]
mov qword [rsp + 0x40], rax
lea rax, [0x1400c09a8]
mov qword [rsp + 0x50], rax
or r13d, 1
mov dword [rsp + 0x28], r13d
mov qword [rbp - 0x28], rdi
mov qword [rsp + 0x48], rsi
lea rcx, [rbp - 0x28]
call fcn.1400053d0
lea r11, [rsp + 0x58]
mov qword [rbp + 0x20], r11
mov qword [rbp + 0x28], rsi
mov dl, 0x20
lea rcx, [rbp - 0x28]
call fcn.140007710
mov word [rbp + 0x30], ax
cmp qword [rbp + 0x20], 0
jne 0x14001cd4b
mov edx, dword [rbp - 0x18]
or edx, 4
xor r8d, r8d
lea rcx, [rbp - 0x28]
call fcn.140005240
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + rcx + 0x50], rax
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + rcx + 0x40], rax
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x40], r12
lea rcx, [rsp + 0x58]
call fcn.140005d90
nop
lea rax, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + 0x58], rax
mov qword [rbp - 0x38], rsi
mov dword [rbp - 0x30], esi
movzx r12d, byte [rbp + 0x57]
movzx esi, byte [rbp + 0x56]
movzx edi, byte [rbp + 0x55]
movzx edx, byte [rbp + 0x54]
lea rcx, [rsp + 0x50]
call fcn.1400128e0
mov rcx, rax
lea rdx, [0x1400beac8]
call fcn.140012430
mov rcx, rax
mov edx, edi
call fcn.1400128e0
mov rcx, rax
lea rdx, [0x1400beac8]
call fcn.140012430
mov rcx, rax
mov edx, esi
call fcn.1400128e0
mov rcx, rax
lea rdx, [0x1400beac8]
call fcn.140012430
mov rcx, rax
mov edx, r12d
call fcn.1400128e0
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.140014cb0
nop
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsi]
lea r9, [rbp + 0x60]
mov r8, qword [rdi + 8]
mov rdx, rdi
mov rcx, rsi
call fcn.14001c2e0
mov rdx, qword [rsi + 8]
movabs rcx, 0x666666666666665
sub rcx, rdx
cmp rcx, 1
jb 0x14001cf18
lea rcx, [rdx + 1]
mov qword [rsi + 8], rcx
mov qword [rdi + 8], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rax
cmp qword [rbp + 0x78], 8
jb 0x14001ce70
mov rcx, qword [rbp + 0x60]
call fcn.140095520
mov qword [rbp + 0x78], 7
xor esi, esi
mov qword [rbp + 0x70], rsi
mov word [rbp + 0x60], si
lea rax, [rbp - 0x28]
mov qword [rbp + 0x48], rax
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea r12, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + rcx + 0x40], r12
lea rcx, [rsp + 0x58]
call fcn.1400057c0
nop
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + rcx + 0x40], rax
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + rcx + 0x50], rax
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + rcx + 0x40], rdi
lea rax, vtable.std::ios_base.0
mov qword [rbp - 0x28], rax
lea rcx, [rbp - 0x28]
call fcn.14007610c
inc r15
lea rcx, [r15*8]
mov rax, qword [r14 + 0x18]
cmp qword [rcx + rax], rsi
jne 0x14001ccd0
jmp 0x14001cf25
lea rcx, str.list_T__too_long
call fcn.140075718
nop
lea rdx, [rbx - 0x18]
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x14001cf40
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
xor eax, eax
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.1400959a0
mov rbx, qword [rsp + 0x1f0]
add rsp, 0x1a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret