Function at 0x140023f40
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rax, qword [0x140065040]
xor rax, rsp
mov qword [rbp + 0x118], rax
mov r14, r9
mov qword [rbp - 0x20], rdx
mov qword [rbp + 0xb8], rdx
mov rbx, qword [rbp + 0x180]
xor r15d, r15d
mov dword [rsp + 0x20], r15d
mov qword [rbp + 0xb0], r15
lea rdx, [r9 + 0x50]
lea rcx, [rbp + 0x30]
call fcn.14000a5c0
nop
lea rdi, [rbp + 0x30]
cmp qword [rbp + 0x48], 0xf
cmova rdi, qword [rbp + 0x30]
lea rdx, [r14 + 0x30]
lea rcx, [rsp + 0x60]
call fcn.14000a5c0
mov dword [rsp + 0x20], 0x60
lea rsi, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rsi, qword [rsp + 0x60]
test rsi, rsi
je 0x140023fe1
cmp byte [rsi], r15b
jne 0x140023fe4
mov rsi, r15
test rdi, rdi
je 0x140023fee
cmp byte [rdi], 0
jne 0x140023ff1
mov rdi, r15
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
lea r9, [rbp + 0xb0]
mov r8, r14
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov edx, eax
lea rcx, [rbp + 0x98]
call fcn.14001e440
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rbx + 0x10], xmm1
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x14002406d
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140024068
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140024068
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400312f8
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], select
mov byte [rsp + 0x60], 0
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x1400240be
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400240b9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400240b9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400312f8
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0xb8], rax
lea rcx, str.C:UsersStein_vcpkginstalledx64_windowsinclude_boost_asiodetail_resolver_service.hpp
movups xmm1, xmmword [rbx]
movups xmmword [rbp + 0x50], xmm1
movsd xmm0, qword [rbx + 0x10]
movsd qword [rbp + 0x60], xmm0
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x140024102
cmp rax, 1
je 0x140024102
and eax, 1
or rax, rcx
mov qword [rbp + 0x60], rax
movsd xmm0, qword [rbp + 0x60]
movups xmmword [rbx], xmm1
movsd qword [rbx + 0x10], xmm0
mov rax, qword [rbx + 0x10]
mov r15, 0xffffffffffffffff
test al, 1
je 0x140024144
cmp rax, 1
jne 0x140024124
cmp dword [rbx], 0
je 0x140024144
xorps xmm0, xmm0
movdqu xmmword [rbp], xmm0
xor r12d, r12d
mov qword [rbp + 0x10], r12
lea rcx, [rbp]
lea ebx, [r12 + 0x61]
mov r14d, r12d
jmp 0x140024530
lea rdx, [r14 + 0x50]
lea rcx, [rsp + 0x40]
call fcn.14000a5c0
nop
mov dword [rsp + 0x20], 0xe2
lea rdx, [r14 + 0x30]
lea rcx, [rbp + 0x78]
call fcn.14000a5c0
nop
mov rsi, qword [rbp + 0xb0]
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x28], xmm1
xor r12d, r12d
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x20], 0x3e6
test rsi, rsi
je 0x140024521
lea rdx, [rbp + 0x78]
lea rcx, [rbp + 0xc0]
call fcn.14000a5c0
nop
mov r9, qword [rsi + 0x18]
test r9, r9
je 0x140024203
mov rdi, r15
nop
inc rdi
cmp byte [r9 + rdi], 0
jne 0x1400241b0
mov rax, qword [rbp + 0xd8]
cmp rdi, rax
ja 0x1400241f4
lea rbx, [rbp + 0xc0]
cmp rax, 0xf
cmova rbx, qword [rbp + 0xc0]
mov qword [rbp + 0xd0], rdi
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x140024203
mov rdx, rdi
lea rcx, [rbp + 0xc0]
call fcn.140019990
mov ecx, 0x18
call fcn.1400312bc
mov r14, rax
mov qword [rax], r12
mov qword [rax + 8], r12
mov qword [rax + 0x10], r12
mov qword [rbp + 0x68], rax
mov ecx, 0x18
call fcn.1400312bc
mov qword [rbp + 0x70], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rcx, vtable.std::_Ref_count_class_std::vector_class_boost::asio::ip::basic_resolver_entry_class_boost::asio::ip::tcp___class_std::allocator_class_boost::asio::ip::basic_resolver_entry_class_boost::asio::ip::tcp____.0
mov qword [rax], rcx
mov qword [rax + 0x10], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x30], rax
mov edx, 2
movabs rcx, 0x4d54ee85da812030
lea r13, [0x140065118]
lea rbx, str.C:UsersStein_vcpkginstalledx64_windowsinclude_boost_asioipdetailimplendpoint.ipp
lea rdi, str.resize
nop dword [rax]
mov eax, dword [rsi + 4]
cmp eax, 2
je 0x140024291
cmp eax, 0x17
jne 0x1400244c7
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xe8], xmm0
mov dword [rbp + 0xf8], r12d
mov qword [rbp + 0xe0], 2
cmp qword [rsi + 0x10], 0x80
jbe 0x14002432b
mov dword [rbp - 0x14], r12d
add rcx, qword [0x140065120]
cmp rcx, 1
jbe 0x1400242dd
mov rax, qword [0x140065118]
mov edx, 0x2726
mov rcx, r13
call qword [rax + 0x30]
jmp 0x1400242df
mov al, 1
movzx eax, al
add rax, 2
mov qword [rbp - 8], rax
mov dword [rbp - 0x18], 0x2726
mov qword [rbp - 0x10], r13
movups xmm0, xmmword [rbp - 0x18]
movups xmmword [rbp + 0x100], xmm0
movsd xmm1, qword [rbp - 8]
movsd qword [rbp + 0x110], xmm1
mov qword [rbp + 0x18], rbx
mov qword [rbp + 0x20], rdi
mov dword [rbp + 0x28], WSASetLastError
mov dword [rbp + 0x2c], 0x1a
test al, 1
jne 0x1400246cf
mov r8, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x20]
lea rcx, [rbp + 0xe0]
call sub.VCRUNTIME140.dll_memcpy
lea rdi, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x50]
lea rdx, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 0xf
cmova rdx, qword [rbp + 0xc0]
movups xmm0, xmmword [rbp + 0xe0]
movaps xmmword [rbp - 0x80], xmm0
movsd xmm1, qword [rbp + 0xf0]
movsd qword [rbp - 0x70], xmm1
mov eax, dword [rbp + 0xf8]
mov dword [rbp - 0x68], eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], r12
mov r8, qword [rbp + 0xd0]
lea rcx, [rbp - 0x60]
call fcn.14000c950
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], r12
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp - 0x40]
call fcn.14000c950
nop
mov rdx, qword [r14 + 8]
cmp rdx, qword [r14 + 0x10]
je 0x14002442b
movaps xmm0, xmmword [rbp - 0x80]
movups xmmword [rdx], xmm0
movsd xmm1, qword [rbp - 0x70]
movsd qword [rdx + 0x10], xmm1
mov eax, dword [rbp - 0x68]
mov dword [rdx + 0x18], eax
movaps xmm0, xmmword [rbp - 0x60]
movups xmmword [rdx + 0x20], xmm0
movaps xmm1, xmmword [rbp - 0x50]
movups xmmword [rdx + 0x30], xmm1
mov ebx, select
mov qword [rbp - 0x48], rbx
mov byte [rbp - 0x60], 0
movaps xmm0, xmmword [rbp - 0x40]
movups xmmword [rdx + 0x40], xmm0
movaps xmm1, xmmword [rbp - 0x30]
movups xmmword [rdx + 0x50], xmm1
mov edx, ebx
mov qword [rbp - 0x28], rbx
mov byte [rbp - 0x40], 0
add qword [r14 + 8], 0x60
jmp 0x14002443f
lea r8, [rbp - 0x80]
mov rcx, r14
call fcn.140026750
mov rdx, qword [rbp - 0x28]
mov rbx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x140024476
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140024471
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140024513
call fcn.1400312f8
cmp rbx, 0xf
jbe 0x1400244aa
lea rdx, [rbx + 1]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400244a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140024513
call fcn.1400312f8
mov edx, 2
lea rdi, str.resize
lea rbx, str.C:UsersStein_vcpkginstalledx64_windowsinclude_boost_asioipdetailimplendpoint.ipp
movabs rcx, 0x4d54ee85da812030
mov rsi, qword [rsi + 0x28]
test rsi, rsi
jne 0x140024280
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0xf
jbe 0x140024526
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002451a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002451a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400312f8
jmp 0x140024526
mov r14, qword [rsp + 0x28]
lea rcx, [rsp + 0x28]
mov ebx, 8
mov rdi, qword [rbp - 0x20]
mov qword [rdi], r14
mov rax, qword [rcx + 8]
mov qword [rdi + 8], rax
mov qword [rcx], r12
mov qword [rcx + 8], r12
mov rax, qword [rcx + 0x10]
mov qword [rdi + 0x10], rax
mov qword [rcx + 0x10], r12
or ebx, 0x10
mov dword [rsp + 0x20], ebx
test bl, 8
je 0x1400245a5
and ebx, 0xfffffff7
mov dword [rsp + 0x20], ebx
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400245a5
mov eax, r15d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400245a1
mov rbx, qword [rsp + 0x30]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r15d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400245a1
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov ebx, dword [rsp + 0x20]
test bl, 4
je 0x1400245f3
and ebx, 0xfffffffb
mov dword [rsp + 0x20], ebx
mov rdx, qword [rbp + 0x90]
cmp rdx, 0xf
jbe 0x1400245f3
inc rdx
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400245ed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400245ed
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400312f8
nop
test bl, 2
je 0x140024652
and ebx, 0xfffffffd
mov dword [rsp + 0x20], ebx
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x14002463f
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002463a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002463a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400312f8
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], select
mov byte [rsp + 0x40], 0
test bl, 1
je 0x140024690
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x140024690
mov eax, r15d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140024690
mov rbx, qword [rbp + 8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r15d
cmp r15d, 1
jne 0x140024690
mov rcx, qword [rbp + 8]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_htonl]
nop
mov rcx, qword [rbp + 0xb8]
test rcx, rcx
je 0x1400246a2
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov rax, rdi
mov rcx, qword [rbp + 0x118]
xor rcx, rsp
call fcn.140031000
mov rbx, qword [rsp + 0x260]
add rsp, 0x220
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rdx, [rbp + 0x18]
lea rcx, [rbp + 0x100]
call fcn.14001b4a0
int3