Function at 0x14016e3b0
Capabilities:
Resolve dns

Disassembly:
push rbp
push rsi
push r13
push r14
push r15
lea rbp, [rsp - 0x7d0]
sub rsp, 0x8d0
mov rax, qword [0x140464178]
xor rax, rsp
mov qword [rbp + 0x7b0], rax
mov rsi, rdx
mov r13, rcx
call fcn.140186a80
cmp eax, 2
je 0x14016e416
mov rcx, r13
call fcn.140186a80
cmp eax, 0x17
je 0x14016e416
xor r15d, r15d
mov qword [rsi + 0x10], r15
cmp qword [rsi + 0x18], 0x10
jb 0x14016e407
mov rsi, qword [rsi]
mov byte [rsi], r15b
mov rax, 0xffffffffffffffff
jmp 0x14016e62c
mov rcx, r13
mov qword [rsp + 0x910], rbx
call fcn.1401879b0
mov rcx, r13
mov ebx, eax
call fcn.140186a10
xor r15d, r15d
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], r15d
lea r8, [rbp + 0x3a0]
mov r9d, 0x401
mov qword [rsp + 0x20], r15
mov edx, ebx
mov rcx, rax
call qword [sym.imp.WS2_32.dll_getnameinfo]
test eax, eax
je 0x14016e477
mov qword [rsi + 0x10], r15
cmp qword [rsi + 0x18], 0x10
jb 0x14016e46f
mov rsi, qword [rsi]
mov byte [rsi], r15b
jmp 0x14016e624
mov eax, dword [str.tcp:__]
movabs rbx, 0x5b2f2f3a706374
mov dword [rsp + 0x44], eax
mov rcx, r13
movzx eax, word [0x140369320]
mov word [rsp + 0x40], ax
movzx eax, byte [0x140369322]
mov byte [rsp + 0x4e], al
mov qword [rsp + 0x8c8], rdi
movzx edi, word [0x140369324]
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x8c0], r12
call fcn.140186a80
lea rcx, [rbp + 0x3a0]
mov r14, 0xffffffffffffffff
inc r14
cmp byte [rcx + r14], r15b
jne 0x14016e4d4
movzx r12d, word [r13 + 2]
mov r8, r14
lea rdx, [rbp + 0x3a0]
cmp eax, 0x17
jne 0x14016e64b
movzx eax, word [rsp + 0x4c]
lea rcx, [rbp - 0x79]
mov word [rbp - 0x7c], ax
movzx eax, byte [rsp + 0x4e]
mov byte [rbp - 0x7a], al
mov dword [rbp - 0x80], ebx
call fcn.1403284a0
lea rbx, [rbp - 0x79]
movzx ecx, r12w
add rbx, r14
mov word [rbx], di
add rbx, 2
call qword [sym.imp.WS2_32.dll_ntohs]
movzx r9d, ax
lea r8, [0x1403693e8]
mov edx, 6
mov rcx, rbx
call fcn.1401501c0
movsxd rdi, eax
lea ecx, [rdi - 1]
cmp ecx, 4
jbe 0x14016e59a
mov ecx, 2
call fcn.140337dc0
mov rcx, rax
mov dword [rsp + 0x20], WSASetLastError
lea r9, str.C:UsersAdmin_vcpkg_buildtreeszeromq_src_v4.3.5_37c87b6b8c.clean_src_tcp_address.cpp
lea r8, str.res___0__res____int___max_port_str_length__1_
lea rdx, str.Assertion_failed:__s___s:_d__n
call fcn.140150370
mov ecx, 2
call fcn.140337dc0
mov rcx, rax
call fcn.140338218
lea rcx, str.res___0__res____int___max_port_str_length__1_
call fcn.140151120
lea rax, [rbp - 0x80]
mov qword [rsp + 0x58], r15
mov r8, rdi
mov qword [rsp + 0x68], r15
sub r8, rax
mov qword [rsp + 0x70], reloc.WS2_32.dll_ntohs
add r8, rbx
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x58]
call fcn.14014c190
lea rdx, [rsp + 0x58]
mov rcx, rsi
call fcn.140143450
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x14016e612
mov rcx, qword [rsp + 0x58]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14016e60d
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14016e766
call fcn.1403271fc
mov rdi, qword [rsp + 0x8c8]
xor eax, eax
mov r12, qword [rsp + 0x8c0]
mov rbx, qword [rsp + 0x910]
mov rcx, qword [rbp + 0x7b0]
xor rcx, rsp
call fcn.140327a40
add rsp, 0x8d0
pop r15
pop r14
pop r13
pop rsi
pop rbp
ret
mov eax, dword [rsp + 0x44]
lea rcx, [rbp - 0x7a]
mov dword [rbp - 0x80], eax
movzx eax, word [rsp + 0x40]
mov word [rbp - 0x7c], ax
call fcn.1403284a0
lea rbx, [rbp - 0x7a]
movzx ecx, r12w
add rbx, r14
mov byte [rbx], 0x3a
inc rbx
call qword [sym.imp.WS2_32.dll_ntohs]
movzx r9d, ax
lea r8, [0x1403693e8]
mov edx, 6
mov rcx, rbx
call fcn.1401501c0
movsxd rdi, eax
lea ecx, [rdi - 1]
cmp ecx, 4
jbe 0x14016e6eb
mov ecx, 2
call fcn.140337dc0
mov rcx, rax
mov dword [rsp + 0x20], WSASetLastError
lea r9, str.C:UsersAdmin_vcpkg_buildtreeszeromq_src_v4.3.5_37c87b6b8c.clean_src_tcp_address.cpp
lea r8, str.res___0__res____int___max_port_str_length__1_
lea rdx, str.Assertion_failed:__s___s:_d__n
call fcn.140150370
mov ecx, 2
call fcn.140337dc0
mov rcx, rax
call fcn.140338218
lea rcx, str.res___0__res____int___max_port_str_length__1_
call fcn.140151120
lea rax, [rbp - 0x80]
mov qword [rsp + 0x58], r15
mov r8, rdi
mov qword [rsp + 0x68], r15
sub r8, rax
mov qword [rsp + 0x70], reloc.WS2_32.dll_ntohs
add r8, rbx
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x58]
call fcn.14014c190
lea rdx, [rsp + 0x58]
mov rcx, rsi
call fcn.140143450
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x14016e612
mov rcx, qword [rsp + 0x58]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14016e60d
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14016e60d
call fcn.14032dff0
int3