Function at 0x1400668e4
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 [0x140093028]
xor rax, rsp
mov qword [rbp + 0x110], rax
mov r14, r9
mov r15, rdx
mov qword [rbp + 0xd0], rdx
mov rsi, qword [rbp + 0x180]
xor eax, eax
mov dword [rsp + 0x20], eax
mov qword [rbp + 0xa8], rax
lea r12, [r9 + 0x50]
mov rdx, r12
lea rcx, [rbp + 0x40]
call fcn.14004e164
nop
lea rbx, [rbp + 0x40]
cmp qword [rbp + 0x58], 0x10
cmovae rbx, qword [rbp + 0x40]
lea r13, [r14 + 0x30]
mov rdx, r13
lea rcx, [rbp - 0x70]
call fcn.14004e164
mov dword [rsp + 0x20], 0x60
lea rdi, [rbp - 0x70]
cmp qword [rbp - 0x58], 0x10
cmovae rdi, qword [rbp - 0x70]
xor eax, eax
test rdi, rdi
je 0x140066985
cmp byte [rdi], al
jne 0x140066988
mov rdi, rax
test rbx, rbx
je 0x140066991
cmp byte [rbx], al
jne 0x140066994
mov rbx, rax
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
lea r9, [rbp + 0xa8]
mov r8, r14
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov ecx, eax
xor edi, edi
lea r14d, [rdi + 2]
test eax, eax
je 0x140066b12
sub ecx, 8
je 0x140066b0b
sub ecx, 0x271e
je 0x140066afa
sub ecx, 0x16
je 0x140066af2
sub ecx, 3
je 0x140066aeb
sub ecx, 0x3e
je 0x140066a86
sub ecx, 0x37c
je 0x140066a7f
sub ecx, 1
je 0x140066a6b
cmp ecx, 1
je 0x140066a64
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
and dword [rsp + 0x2c], 0
movabs rcx, 0x4d54ee85da812030
add rcx, qword [0x140093510]
lea rbx, [0x140093508]
cmp rcx, 1
jbe 0x140066a44
mov rax, qword [0x140093508]
mov edx, edi
mov rcx, rbx
call qword [rax + 0x30]
jmp 0x140066a49
test edi, edi
setne al
movzx eax, al
add rax, r14
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x30], rbx
xor edi, edi
jmp 0x140066b1f
mov edx, 0x2afb
jmp 0x140066a70
mov edx, 0x2afa
lea rcx, [rsp + 0x28]
call fcn.140063450
jmp 0x140066b1f
mov edx, 0x2af9
jmp 0x140066a70
mov r14d, 0x277d
movabs rcx, 0x4d54ee85da812030
lea rbx, [0x140093508]
add rcx, qword [0x140093510]
mov dword [rsp + 0x44], edi
cmp rcx, 1
jbe 0x140066ac0
mov rax, qword [0x140093508]
mov edx, r14d
mov rcx, rbx
call qword [rax + 0x30]
jmp 0x140066ac2
mov al, 1
movzx eax, al
add rax, 2
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x40], r14d
mov qword [rsp + 0x48], rbx
movups xmm0, xmmword [rsp + 0x40]
movsd xmm1, qword [rsp + 0x50]
movsd qword [rsp + 0x38], xmm1
jmp 0x140066b1a
mov edx, 0x273f
jmp 0x140066aff
mov r14d, 0x273c
jmp 0x140066a8c
mov edx, 0x2726
lea rcx, [rsp + 0x28]
call fcn.140063450
jmp 0x140066b1f
mov edx, select
jmp 0x140066aff
xorps xmm0, xmm0
mov qword [rsp + 0x38], rdi
movups xmmword [rsp + 0x28], xmm0
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsi], xmm0
movsd xmm1, qword [rsp + 0x38]
movsd qword [rsi + 0x10], xmm1
mov r14d, 0x1000
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x140066b72
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, r14
jb 0x140066b6d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140066b6d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140069480
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x58], setsockopt
mov byte [rbp - 0x70], dil
mov rdx, qword [rbp + 0x58]
cmp rdx, 0x10
jb 0x140066bbc
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, r14
jb 0x140066bb7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140066bb7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140069480
mov rax, qword [rbp + 0xa8]
mov qword [rbp + 0xd0], rax
lea rcx, str.C:Users_ntoskrnlDesktopSDK_boost_asio_182_0_boost_asiodetail_resolver_service.hpp
movups xmm1, xmmword [rsi]
movups xmmword [rbp + 0x60], xmm1
movsd xmm0, qword [rsi + 0x10]
movsd qword [rbp + 0x70], xmm0
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x140066c00
cmp rax, 1
je 0x140066c00
and eax, 1
or rax, rcx
mov qword [rbp + 0x70], rax
movsd xmm0, qword [rbp + 0x70]
movups xmmword [rsi], xmm1
movsd qword [rsi + 0x10], xmm0
test byte [rsi + 0x10], 1
je 0x140066c36
cmp qword [rsi + 0x10], 1
jne 0x140066c19
cmp dword [rsi], edi
je 0x140066c36
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], rdi
lea rcx, [rbp + 0x10]
mov ebx, 0x61
mov rsi, rdi
jmp 0x140066f7a
mov rdx, r12
lea rcx, [rsp + 0x70]
call fcn.14004e164
nop
mov dword [rsp + 0x20], 0xe2
mov rdx, r13
lea rcx, [rbp + 0x88]
call fcn.14004e164
nop
mov r14, qword [rbp + 0xa8]
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
mov qword [rsp + 0x68], rdi
mov dword [rsp + 0x20], 0x3e6
test r14, r14
je 0x140066f65
lea rdx, [rbp + 0x88]
lea rcx, [rbp + 0xb0]
call fcn.14004e164
nop
mov r9, qword [r14 + 0x18]
test r9, r9
je 0x140066cf9
or rdi, 0xffffffffffffffff
inc rdi
cmp byte [r9 + rdi], 0
jne 0x140066ca3
cmp rdi, qword [rbp + 0xc8]
ja 0x140066ce8
lea rbx, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 0x10
cmovae rbx, qword [rbp + 0xb0]
mov qword [rbp + 0xc0], rdi
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x140066cf7
mov rdx, rdi
lea rcx, [rbp + 0xb0]
call fcn.14004d68c
xor edi, edi
mov ebx, 0x18
mov ecx, ebx
call fcn.140069794
mov rsi, rax
mov qword [rax], rdi
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rdi
mov qword [rbp + 0x78], rax
mov ecx, ebx
call fcn.140069794
mov qword [rbp + 0x80], 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], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rax
lea eax, [rbx - 0x16]
cmp dword [r14 + 4], eax
je 0x140066d65
cmp dword [r14 + 4], 0x17
jne 0x140066f10
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xe0], xmm0
mov dword [rbp + 0xf0], edi
mov qword [rbp + 0xd8], 2
cmp qword [r14 + 0x10], 0x80
jbe 0x140066de8
mov edx, 0x2726
lea rcx, [rbp + 0xf8]
call fcn.140063450
lea rax, str.C:Users_ntoskrnlDesktopSDK_boost_asio_182_0_boost_asiodetail_throw_error.hpp
mov qword [rbp + 0x28], rax
lea rax, str.resize
mov qword [rbp + 0x30], rax
mov dword [rbp + 0x38], 0x27
mov dword [rbp + 0x3c], 5
test byte [rbp + 0x108], 1
je 0x140066de8
cmp qword [rbp + 0x108], 1
jne 0x140067112
cmp dword [rbp + 0xf8], edi
setne al
test al, al
jne 0x140067112
mov r8, qword [r14 + 0x10]
mov rdx, qword [r14 + 0x20]
lea rcx, [rbp + 0xd8]
call sub.VCRUNTIME140.dll_memcpy
lea rdi, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rdi, qword [rsp + 0x70]
mov rbx, qword [rbp - 0x80]
lea rdx, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 0x10
cmovae rdx, qword [rbp + 0xb0]
movups xmm0, xmmword [rbp + 0xd8]
movaps xmmword [rbp - 0x50], xmm0
movsd xmm1, qword [rbp + 0xe8]
movsd qword [rbp - 0x40], xmm1
mov eax, dword [rbp + 0xf0]
mov dword [rbp - 0x38], eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xor r12d, r12d
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], r12
mov r8, qword [rbp + 0xc0]
lea rcx, [rbp - 0x30]
call fcn.14004bc48
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], r12
mov qword [rbp + 8], r12
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp - 0x10]
call fcn.14004bc48
nop
mov rdx, qword [rsi + 8]
cmp rdx, qword [rsi + 0x10]
je 0x140066ef4
movaps xmm0, xmmword [rbp - 0x50]
movups xmmword [rdx], xmm0
movsd xmm1, qword [rbp - 0x40]
movsd qword [rdx + 0x10], xmm1
mov eax, dword [rbp - 0x38]
mov dword [rdx + 0x18], eax
xor edi, edi
movaps xmm0, xmmword [rbp - 0x30]
movups xmmword [rdx + 0x20], xmm0
movaps xmm1, xmmword [rbp - 0x20]
movups xmmword [rdx + 0x30], xmm1
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], setsockopt
mov byte [rbp - 0x30], dil
movaps xmm0, xmmword [rbp - 0x10]
movups xmmword [rdx + 0x40], xmm0
movaps xmm1, xmmword [rbp]
movups xmmword [rdx + 0x50], xmm1
mov qword [rbp], rdi
mov qword [rbp + 8], setsockopt
mov byte [rbp - 0x10], dil
add qword [rsi + 8], 0x60
jmp 0x140066f02
lea r8, [rbp - 0x50]
mov rcx, rsi
call fcn.140067f74
xor edi, edi
lea rcx, [rbp - 0x50]
call fcn.1400672a8
mov eax, 2
mov r14, qword [r14 + 0x28]
test r14, r14
jne 0x140066d54
mov rdx, qword [rbp + 0xc8]
mov r14d, 0x1000
cmp rdx, 0x10
jb 0x140066f70
inc rdx
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, r14
jb 0x140066f5e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140066f5e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140069480
jmp 0x140066f70
mov rsi, qword [rsp + 0x58]
mov r14d, 0x1000
lea rcx, [rsp + 0x58]
mov ebx, 8
mov qword [r15], rsi
mov rax, qword [rcx + 8]
mov qword [r15 + 8], rax
mov qword [rcx], rdi
mov qword [rcx + 8], rdi
mov rax, qword [rcx + 0x10]
mov qword [r15 + 0x10], rax
mov qword [rcx + 0x10], rdi
or ebx, 0x10
mov dword [rsp + 0x20], ebx
test bl, 8
je 0x140066feb
and ebx, 0xfffffff7
mov dword [rsp + 0x20], ebx
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140066feb
or eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140066fe7
mov rbx, qword [rsp + 0x60]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
or eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140066fe7
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
mov ebx, dword [rsp + 0x20]
test bl, 4
je 0x140067038
and ebx, 0xfffffffb
mov dword [rsp + 0x20], ebx
mov rdx, qword [rbp + 0xa0]
cmp rdx, 0x10
jb 0x140067038
inc rdx
mov rcx, qword [rbp + 0x88]
mov rax, rcx
cmp rdx, r14
jb 0x140067032
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140067032
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140069480
nop
mov eax, 2
test al, bl
je 0x140067094
and ebx, 0xfffffffd
mov dword [rsp + 0x20], ebx
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x140067083
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, r14
jb 0x14006707e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006707e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140069480
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], setsockopt
mov byte [rsp + 0x70], dil
test bl, 1
je 0x1400670d3
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x1400670d3
or eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400670d3
mov rbx, qword [rbp + 0x18]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
or eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400670d3
mov rcx, qword [rbp + 0x18]
mov rdx, qword [rcx]
call qword [rdx + VariantCopy]
nop
mov rcx, qword [rbp + 0xd0]
test rcx, rcx
je 0x1400670e5
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov rax, r15
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.140069020
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 + 0x28]
lea rcx, [rbp + 0xf8]
call fcn.140054144
int3