Function at 0x14022cb60
Capabilities:
Resolve dns

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xd8
mov rbx, rdx
mov rdi, rcx
mov rdx, qword [rdx + 0x50]
mov rcx, qword [0x140485900]
mov rsi, r8
mov r8, qword [rbx + 0x58]
lea r13, [rsp + 0xa0]
lea r15, [rsp + 0xb0]
mov rax, qword [rcx]
mov qword [rsp + 0xc8], rax
xor eax, eax
mov rcx, r13
mov qword [rsp + 0x38], 0
lea r14, [rsp + 0x80]
add r8, rdx
mov qword [rsp + 0xa0], r15
call fcn.140229be0
mov rdx, qword [rbx + 0x30]
mov r8, qword [rbx + 0x38]
mov rcx, r14
lea rax, [rsp + 0x90]
mov r12, qword [rsp + 0xa0]
add r8, rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x80], rax
call fcn.140229be0
mov rbp, qword [rsp + 0x80]
test rbp, rbp
je 0x14022cc13
xor eax, eax
cmp byte [rbp], 0
cmove rbp, rax
test r12, r12
je 0x14022cc23
xor eax, eax
cmp byte [r12], 0
cmove r12, rax
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
lea r9, [rsp + 0x38]
mov r8, rbx
mov rdx, r12
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_getaddrinfo]
cmp eax, 0x273f
je 0x14022cf08
jle 0x14022cd60
cmp eax, 0x2afa
je 0x14022cee0
jle 0x14022cd98
cmp eax, 0x2afb
jne 0x14022cf20
lea rax, [0x14037a7e0]
mov dword [rsp + 0x40], 0x2afb
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], 3
nop dword [rax]
mov rax, qword [rsp + 0x50]
movdqu xmm1, xmmword [rsp + 0x40]
mov rcx, r14
mov qword [rsi + 0x10], rax
movups xmmword [rsi], xmm1
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::_M_dispose__
mov rcx, r13
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::_M_dispose__
movdqu xmm2, xmmword [rsi]
mov rax, qword [rsi + 0x10]
mov rbp, qword [rsp + 0x38]
movups xmmword [rsp + 0xa0], xmm2
cmp rax, 1
jbe 0x14022ccda
and eax, 1
lea rdx, str.C:_msys64_mingw64_include_boost_asio_detail_resolver_service.hpp
or rax, rdx
movdqu xmm3, xmmword [rsp + 0xa0]
mov qword [rsp + 0xb0], rax
mov qword [rsi + 0x10], rax
movups xmmword [rsi], xmm3
test al, 1
je 0x14022ce00
cmp rax, 1
jne 0x14022cd0a
mov eax, dword [rsi]
test eax, eax
je 0x14022ce00
mov qword [rdi + 0x10], 0
pxor xmm0, xmm0
movups xmmword [rdi], xmm0
test rbp, rbp
je 0x14022cd27
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov rsi, qword [0x140485900]
mov rax, qword [rsp + 0xc8]
sub rax, qword [rsi]
jne 0x14022cf74
mov rax, rdi
add rsp, 0xd8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
cmp eax, 0x2726
je 0x14022cea0
jg 0x14022ce68
test eax, eax
je 0x14022cdd8
cmp eax, 8
jne 0x14022cebf
lea rcx, [rsp + 0x40]
mov edx, 0xe
call sym._ZN5boost6system10error_codeC1INS_4asio5error12basic_errorsEEET_PNS0_6detail9enable_ifIXoosrNS0_18is_error_code_enumIS6_EE5val
jmp 0x14022cc90
cmp eax, 0x277d
jne 0x14022ceb8
lea rcx, [rsp + 0x60]
lea r8, [0x14037a7e0]
mov edx, 0x277d
call method.boost::system::error_code.error_code_int__boost::system::error_category_const_
movdqu xmm4, xmmword [rsp + 0x60]
mov rax, qword [rsp + 0x70]
movups xmmword [rsp + 0x40], xmm4
mov qword [rsp + 0x50], rax
jmp 0x14022cc90
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0
jmp 0x14022cc90
mov rdx, qword [rbx + 0x50]
mov r8, qword [rbx + 0x58]
mov rcx, r13
mov qword [rsp + 0xa0], r15
add r8, rdx
call fcn.140229be0
mov rdx, qword [rbx + 0x30]
mov r8, qword [rbx + 0x38]
mov rcx, r14
mov rax, qword [rsp + 0x28]
add r8, rdx
mov qword [rsp + 0x80], rax
call fcn.140229be0
mov rdx, qword [rsp + 0x38]
mov r9, r13
mov r8, r14
mov rcx, rdi
call method.boost::asio::ip::basic_resolver_results_boost::asio::ip::tcp_.create_addrinfo__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____
mov rcx, r14
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::_M_dispose__
mov rcx, r13
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::_M_dispose__
jmp 0x14022cd19
cmp eax, 0x273c
jne 0x14022cebf
lea rcx, [rsp + 0x60]
lea r8, [0x14037a7e0]
mov edx, 0x273c
call method.boost::system::error_code.error_code_int__boost::system::error_category_const_
movdqu xmm5, xmmword [rsp + 0x60]
mov rax, qword [rsp + 0x70]
movups xmmword [rsp + 0x40], xmm5
mov qword [rsp + 0x50], rax
jmp 0x14022cc90
lea rcx, [rsp + 0x40]
mov edx, 0x2726
call sym._ZN5boost6system10error_codeC1INS_4asio5error12basic_errorsEEET_PNS0_6detail9enable_ifIXoosrNS0_18is_error_code_enumIS6_EE5val
jmp 0x14022cc90
cmp eax, 0x2af9
je 0x14022cf27
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, [rsp + 0x40]
lea r8, [0x14037a7e0]
call method.boost::system::error_code.error_code_int__boost::system::error_category_const_
jmp 0x14022cc90
lea rax, [0x14037a7e0]
mov dword [rsp + 0x40], 0x2afa
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], 3
jmp 0x14022cc90
lea rcx, [rsp + 0x40]
mov edx, 0x273f
call sym._ZN5boost6system10error_codeC1INS_4asio5error12basic_errorsEEET_PNS0_6detail9enable_ifIXoosrNS0_18is_error_code_enumIS6_EE5val
jmp 0x14022cc90
cmp eax, 0x2afc
jne 0x14022cebf
lea rax, [0x14037a7e0]
mov dword [rsp + 0x40], 0x2af9
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], 3
jmp 0x14022cc90
mov rcx, r13
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::_M_dispose__
mov rdi, qword [0x140485900]
mov rax, qword [rsp + 0xc8]
sub rax, qword [rdi]
je 0x14022cfb3
call dbg.__stack_chk_fail
endbr64
mov rbx, rax
jmp 0x14022cf58
test rbp, rbp
je 0x14022cf9f
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov rdi, qword [0x140485900]
mov rax, qword [rsp + 0xc8]
sub rax, qword [rdi]
jne 0x14022cf74
mov rcx, rbx
call sym._Unwind_Resume
endbr64
mov rbx, rax
jmp 0x14022cf91