Function at 0x140029170
Capabilities:
Resolve dns

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x7c0]
sub rsp, 0x8c0
mov rax, qword [0x1400711c0]
xor rax, rsp
mov qword [rbp + 0x7a0], rax
mov rsi, rdx
mov r15, rcx
xor edi, edi
call fcn.14003e760
cmp eax, 2
je 0x1400291d4
mov rcx, r15
call fcn.14003e760
cmp eax, 0x17
je 0x1400291d4
mov qword [rsi + 0x10], rdi
cmp qword [rsi + 0x18], 0xf
jbe 0x1400291c5
mov rsi, qword [rsi]
mov byte [rsi], dil
mov rax, 0xffffffffffffffff
jmp 0x1400293d0
mov rcx, r15
mov qword [rsp + 0x900], rbx
call fcn.14003f5f0
mov rcx, r15
mov ebx, eax
call fcn.1400140b0
mov dword [rsp + 0x30], 2
lea r8, [rbp + 0x390]
mov dword [rsp + 0x28], edi
mov r9d, 0x401
mov edx, ebx
mov qword [rsp + 0x20], rdi
mov rcx, rax
call qword [sym.imp.WS2_32.dll_getnameinfo]
test eax, eax
je 0x140029231
mov qword [rsi + 0x10], rdi
cmp qword [rsi + 0x18], 0xf
jbe 0x140029229
mov rsi, qword [rsi]
mov byte [rsi], dil
jmp 0x1400293c8
movzx edi, word [0x14005b8b4]
movabs rbx, 0x5b2f2f3a706374
mov qword [rsp + 0x8b8], r12
mov rcx, r15
mov r12d, dword [str.tcp:__]
mov qword [rsp + 0x8b0], r13
movzx r13d, word [0x14005b8b0]
mov qword [rsp + 0x48], rbx
call fcn.14003e760
lea rcx, [rbp + 0x390]
mov r14, 0xffffffffffffffff
nop dword [rax]
inc r14
cmp byte [rcx + r14], 0
jne 0x140029280
movzx r15d, word [r15 + 2]
mov r8, r14
lea rdx, [rbp + 0x390]
cmp eax, 0x17
jne 0x1400293ee
movzx eax, word [rsp + 0x4c]
lea rcx, [rsp + 0x77]
mov word [rsp + 0x74], ax
movzx eax, byte [rsp + 0x4e]
mov byte [rsp + 0x76], al
mov dword [rsp + 0x70], ebx
call sub.VCRUNTIME140.dll_memcpy
lea rbx, [rsp + 0x77]
movzx ecx, r15w
add rbx, r14
mov word [rbx], di
add rbx, 2
call qword [sym.imp.WS2_32.dll_ntohs]
movzx r9d, ax
lea r8, [0x14005b978]
mov edx, 6
mov rcx, rbx
call fcn.140017430
movsxd rdi, eax
lea ecx, [rdi - 1]
cmp ecx, 4
jbe 0x14002934f
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea r9, str.C:UsersAdmin_vcpkg_buildtreeszeromq_src_v4.3.5_37c87b6b8c.clean_src_tcp_address.cpp
mov dword [rsp + 0x20], WSAGetLastError
mov rcx, rax
lea r8, str.res___0__res____int___max_port_str_length__1_
lea rdx, str.Assertion_failed:__s___s:_d__n
call fcn.14000f4d0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
lea rcx, str.res___0__res____int___max_port_str_length__1_
call fcn.1400102a0
lea rax, [rsp + 0x70]
mov r8, rdi
sub r8, rax
lea rdx, [rsp + 0x70]
add r8, rbx
lea rcx, [rsp + 0x50]
call fcn.140005eac
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.140013750
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1400293b6
mov rcx, qword [rsp + 0x50]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400293b1
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400294f8
call fcn.140053810
mov r12, qword [rsp + 0x8b8]
xor eax, eax
mov r13, qword [rsp + 0x8b0]
mov rbx, qword [rsp + 0x900]
mov rcx, qword [rbp + 0x7a0]
xor rcx, rsp
call fcn.140053e80
add rsp, 0x8c0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
lea rcx, [rsp + 0x76]
mov dword [rsp + 0x70], r12d
mov word [rsp + 0x74], r13w
call sub.VCRUNTIME140.dll_memcpy
lea rbx, [rsp + 0x76]
movzx ecx, r15w
add rbx, r14
mov byte [rbx], 0x3a
inc rbx
call qword [sym.imp.WS2_32.dll_ntohs]
movzx r9d, ax
lea r8, [0x14005b978]
mov edx, 6
mov rcx, rbx
call fcn.140017430
movsxd rdi, eax
lea ecx, [rdi - 1]
cmp ecx, 4
jbe 0x14002948e
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea r9, str.C:UsersAdmin_vcpkg_buildtreeszeromq_src_v4.3.5_37c87b6b8c.clean_src_tcp_address.cpp
mov dword [rsp + 0x20], WSAGetLastError
mov rcx, rax
lea r8, str.res___0__res____int___max_port_str_length__1_
lea rdx, str.Assertion_failed:__s___s:_d__n
call fcn.14000f4d0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
lea rcx, str.res___0__res____int___max_port_str_length__1_
call fcn.1400102a0
lea rax, [rsp + 0x70]
mov r8, rdi
sub r8, rax
lea rdx, [rsp + 0x70]
add r8, rbx
lea rcx, [rsp + 0x50]
call fcn.140005eac
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.140013750
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1400293b6
mov rcx, qword [rsp + 0x50]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400293b1
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400293b1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3