Function at 0x140059070
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xf0]
sub rsp, 0x1f0
mov rsi, r9
mov r13, rdx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
mov qword [rbp + 0x140], r15
lea rdx, [r9 + 0x50]
lea rcx, [rbp + 0x80]
call fcn.140056980
nop
lea rbx, [rbp + 0x80]
cmp qword [rbp + 0x98], 0xf
cmova rbx, qword [rbp + 0x80]
lea rdx, [rsi + 0x30]
lea rcx, [rbp + 0x60]
call fcn.140056980
mov dword [rsp + 0x20], 0x60
lea rdi, [rbp + 0x60]
cmp qword [rbp + 0x78], 0xf
cmova rdi, qword [rbp + 0x60]
test rdi, rdi
je 0x140059103
cmp byte [rdi], r15b
jne 0x140059106
mov rdi, r15
test rbx, rbx
je 0x140059110
cmp byte [rbx], 0
jne 0x140059113
mov rbx, r15
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
lea r9, [rbp + 0x140]
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov edx, eax
lea rcx, [rbp + 0xd8]
call fcn.140049e70
mov rbx, qword [rbp + 0x150]
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rbx + 0x10], xmm1
lea rcx, [rbp + 0x60]
call fcn.1400588c0
nop
lea rcx, [rbp + 0x80]
call fcn.1400588c0
mov rax, qword [rbp + 0x140]
mov qword [rbp + 0x130], rax
lea rcx, str.C:UsersStein_vcpkginstalledx64_windowsinclude_boost_asiodetail_resolver_service.hpp
movups xmm1, xmmword [rbx]
movups xmmword [rbp + 0x48], xmm1
movsd xmm0, qword [rbx + 0x10]
movsd qword [rbp + 0x58], xmm0
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x1400591b0
cmp rax, 1
je 0x1400591b0
and eax, 1
or rax, rcx
mov qword [rbp + 0x58], rax
movsd xmm0, qword [rbp + 0x58]
movups xmmword [rbx], xmm1
movsd qword [rbx + 0x10], xmm0
mov rax, qword [rbx + 0x10]
mov r15, 0xffffffffffffffff
test al, 1
je 0x1400591f2
cmp rax, 1
jne 0x1400591d2
cmp dword [rbx], 0
je 0x1400591f2
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x28], xmm0
xor r12d, r12d
mov qword [rbp - 0x18], r12
lea rcx, [rbp - 0x28]
lea ebx, [r12 + 0x61]
mov r14d, r12d
jmp 0x1400594f2
lea rdx, [rsi + 0x50]
lea rcx, [rbp + 0x28]
call fcn.140056980
nop
mov dword [rsp + 0x20], 0xe2
lea rdx, [rsi + 0x30]
lea rcx, [rbp + 0xb8]
call fcn.140056980
nop
mov rsi, qword [rbp + 0x140]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
xor r12d, r12d
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x20], 0x3e6
test rsi, rsi
jne 0x140059248
mov r14, qword [rsp + 0x28]
jmp 0x1400594e8
lea rdx, [rbp + 0xb8]
lea rcx, [rbp - 0x10]
call fcn.140056980
nop
mov rdx, qword [rsi + 0x18]
test rdx, rdx
je 0x140059278
mov r8, r15
inc r8
cmp byte [rdx + r8], 0
jne 0x140059265
lea rcx, [rbp - 0x10]
call fcn.140058960
mov ecx, 0x18
call fcn.140099f74
mov r14, rax
mov qword [rax], r12
mov qword [rax + 8], r12
mov qword [rax + 0x10], r12
mov qword [rbp + 0x150], rax
mov ecx, 0x18
call fcn.140099f74
mov qword [rbp + 0x148], 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 rbx, [0x1400f9108]
lea rdi, str.C:UsersStein_vcpkginstalledx64_windowsinclude_boost_asioipdetailimplendpoint.ipp
mov eax, dword [rsi + 4]
cmp eax, 2
je 0x140059302
cmp eax, 0x17
jne 0x1400594d1
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov dword [rsp + 0x58], r12d
mov qword [rsp + 0x40], 2
cmp qword [rsi + 0x10], 0x80
jbe 0x14005939d
mov dword [rbp - 0x3c], r12d
add rcx, qword [0x1400f9110]
cmp rcx, 1
jbe 0x140059348
mov rax, qword [0x1400f9108]
mov edx, 0x2726
mov rcx, rbx
call qword [rax + 0x30]
jmp 0x14005934a
mov al, 1
movzx eax, al
add rax, 2
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x40], 0x2726
mov qword [rbp - 0x38], rbx
movups xmm0, xmmword [rbp - 0x40]
movups xmmword [rbp + 0xa0], xmm0
movsd xmm1, qword [rbp - 0x30]
movsd qword [rbp + 0xb0], xmm1
mov qword [rbp + 0x10], rdi
lea rcx, str.resize
mov qword [rbp + 0x18], rcx
mov dword [rbp + 0x20], WSASetLastError
mov dword [rbp + 0x24], 0x1a
test al, 1
jne 0x140059601
mov r8, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x20]
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
lea rdi, [rbp + 0x28]
cmp qword [rbp + 0x40], 0xf
cmova rdi, qword [rbp + 0x28]
mov rbx, qword [rbp + 0x38]
lea rdx, [rbp - 0x10]
cmp qword [rbp + 8], 0xf
cmova rdx, qword [rbp - 0x10]
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsp + 0x60], xmm0
movsd xmm1, qword [rsp + 0x50]
movsd qword [rsp + 0x70], xmm1
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x78], eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], r12
mov r8, qword [rbp]
lea rcx, [rbp - 0x80]
call fcn.14005b320
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], r12
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp - 0x60]
call fcn.14005b320
nop
mov rdx, qword [r14 + 8]
cmp rdx, qword [r14 + 0x10]
je 0x140059494
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rdx], xmm0
movsd xmm1, qword [rsp + 0x70]
movsd qword [rdx + 0x10], xmm1
mov eax, dword [rsp + 0x78]
mov dword [rdx + 0x18], eax
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rdx + 0x20], xmm0
movups xmm1, xmmword [rbp - 0x70]
movups xmmword [rdx + 0x30], xmm1
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], select
mov byte [rbp - 0x80], 0
movups xmm0, xmmword [rbp - 0x60]
movups xmmword [rdx + 0x40], xmm0
movups xmm1, xmmword [rbp - 0x50]
movups xmmword [rdx + 0x50], xmm1
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], select
mov byte [rbp - 0x60], 0
add qword [r14 + 8], 0x60
jmp 0x1400594a2
lea r8, [rsp + 0x60]
mov rcx, r14
call fcn.1400627d0
nop
lea rcx, [rbp - 0x60]
call fcn.1400588c0
lea rcx, [rbp - 0x80]
call fcn.1400588c0
lea rbx, [0x1400f9108]
movabs rcx, 0x4d54ee85da812030
lea rdi, str.C:UsersStein_vcpkginstalledx64_windowsinclude_boost_asioipdetailimplendpoint.ipp
mov edx, 2
mov rsi, qword [rsi + 0x28]
test rsi, rsi
jne 0x1400592f1
lea rcx, [rbp - 0x10]
call fcn.1400588c0
nop
lea rcx, [rsp + 0x28]
mov ebx, 8
mov qword [r13], r14
mov rax, qword [rcx + 8]
mov qword [r13 + 8], rax
mov qword [rcx], r12
mov qword [rcx + 8], r12
mov rax, qword [rcx + 0x10]
mov qword [r13 + 0x10], rax
mov qword [rcx + 0x10], r12
or ebx, 0x10
mov dword [rsp + 0x20], ebx
test bl, 8
je 0x140059564
and ebx, 0xfffffff7
mov dword [rsp + 0x20], ebx
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140059564
mov eax, r15d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140059560
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 0x140059560
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + ioctlsocket]
mov ebx, dword [rsp + 0x20]
test bl, 4
je 0x14005957d
and ebx, 0xfffffffb
mov dword [rsp + 0x20], ebx
lea rcx, [rbp + 0xb8]
call fcn.1400588c0
nop
test bl, 2
je 0x140059593
and ebx, 0xfffffffd
mov dword [rsp + 0x20], ebx
lea rcx, [rbp + 0x28]
call fcn.1400588c0
nop
test bl, 1
je 0x1400595d1
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x1400595d1
mov eax, r15d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400595d1
mov rbx, qword [rbp - 0x20]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r15d
cmp r15d, 1
jne 0x1400595d1
mov rcx, qword [rbp - 0x20]
mov rax, qword [rcx]
call qword [rax + ioctlsocket]
nop
mov rcx, qword [rbp + 0x130]
test rcx, rcx
je 0x1400595e3
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov rax, r13
mov rbx, qword [rsp + 0x238]
add rsp, 0x1f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0xa0]
call fcn.140047190
int3