Function at 0x14015bc70
Capabilities:
Resolve dns

Disassembly:
push rbp
push rsi
push r13
push r14
push r15
lea rbp, [rsp - 0x7d0]
sub rsp, 0x8d0
mov rax, qword [0x140428078]
xor rax, rsp
mov qword [rbp + 0x7b0], rax
mov rsi, rdx
mov r13, rcx
call fcn.140170e70
cmp eax, 2
je 0x14015bcd6
mov rcx, r13
call fcn.140170e70
cmp eax, 0x17
je 0x14015bcd6
xor r15d, r15d
mov qword [rsi + 0x10], r15
cmp qword [rsi + 0x18], 0x10
jb 0x14015bcc7
mov rsi, qword [rsi]
mov byte [rsi], r15b
mov rax, 0xffffffffffffffff
jmp 0x14015beec
mov rcx, r13
mov qword [rsp + 0x910], rbx
call fcn.140171da0
mov rcx, r13
mov ebx, eax
call fcn.1401468d0
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 0x14015bd37
mov qword [rsi + 0x10], r15
cmp qword [rsi + 0x18], 0x10
jb 0x14015bd2f
mov rsi, qword [rsi]
mov byte [rsi], r15b
jmp 0x14015bee4
mov eax, dword [str.tcp:__]
movabs rbx, 0x5b2f2f3a706374
mov dword [rsp + 0x44], eax
mov rcx, r13
movzx eax, word [0x1403442d0]
mov word [rsp + 0x40], ax
movzx eax, byte [0x1403442d2]
mov byte [rsp + 0x4e], al
mov qword [rsp + 0x8c8], rdi
movzx edi, word [0x1403442d4]
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x8c0], r12
call fcn.140170e70
lea rcx, [rbp + 0x3a0]
mov r14, 0xffffffffffffffff
inc r14
cmp byte [rcx + r14], r15b
jne 0x14015bd94
movzx r12d, word [r13 + 2]
mov r8, r14
lea rdx, [rbp + 0x3a0]
cmp eax, 0x17
jne 0x14015bf0b
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.14030a190
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, [0x140344398]
mov edx, 6
mov rcx, rbx
call fcn.140140174
movsxd rdi, eax
lea ecx, [rdi - 1]
cmp ecx, 4
jbe 0x14015be5a
mov ecx, 2
call fcn.140317644
mov rcx, rax
mov dword [rsp + 0x20], WSAGetLastError
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.140141c40
mov ecx, 2
call fcn.140317644
mov rcx, rax
call fcn.140317a9c
lea rcx, str.res___0__res____int___max_port_str_length__1_
call fcn.1401429f0
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.14013b61c
lea rdx, [rsp + 0x58]
mov rcx, rsi
call fcn.140137118
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x14015bed2
mov rcx, qword [rsp + 0x58]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14015becd
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14015c026
call fcn.140308f48
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.140309780
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.14030a190
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, [0x140344398]
mov edx, 6
mov rcx, rbx
call fcn.140140174
movsxd rdi, eax
lea ecx, [rdi - 1]
cmp ecx, 4
jbe 0x14015bfab
mov ecx, 2
call fcn.140317644
mov rcx, rax
mov dword [rsp + 0x20], WSAGetLastError
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.140141c40
mov ecx, 2
call fcn.140317644
mov rcx, rax
call fcn.140317a9c
lea rcx, str.res___0__res____int___max_port_str_length__1_
call fcn.1401429f0
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.14013b61c
lea rdx, [rsp + 0x58]
mov rcx, rsi
call fcn.140137118
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x14015bed2
mov rcx, qword [rsp + 0x58]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14015becd
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14015becd
call fcn.14030fcf0
int3