Function at 0x14002aa20
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 - 0x70]
sub rsp, 0x170
mov rax, qword [0x1402998f8]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov rsi, r9
mov r15, rdx
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x60], rdx
mov r14, qword [rbp + 0xd0]
xor edi, edi
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x60], rdi
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], rdi
lea r12, [r9 + 0x50]
mov rdx, r12
lea rcx, [rbp - 0x60]
call fcn.140006800
nop
lea rbx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0x10
cmovae rbx, qword [rbp - 0x60]
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], rdi
lea r13, [rsi + 0x30]
mov rdx, r13
lea rcx, [rbp - 0x80]
call fcn.140006800
mov dword [rsp + 0x40], 0x60
lea rdi, [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae rdi, qword [rbp - 0x80]
xor eax, eax
test rdi, rdi
je 0x14002aad4
cmp byte [rdi], al
jne 0x14002aad7
mov rdi, rax
test rbx, rbx
je 0x14002aae4
nop dword [rax]
cmp byte [rbx], al
jne 0x14002aae7
mov rbx, rax
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
lea r9, ds:[rsp + 0x60]
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov ecx, eax
xor esi, esi
test eax, eax
je 0x14002ac6e
sub ecx, 8
je 0x14002ac67
nop dword [rax + rax]
sub ecx, 0x271e
je 0x14002ac54
sub ecx, 0x16
je 0x14002ac4d
sub ecx, 3
je 0x14002ac46
nop
sub ecx, 0x3e
je 0x14002abdd
sub ecx, 0x37c
je 0x14002abd6
sub ecx, 1
je 0x14002abc2
cmp ecx, 1
je 0x14002abba
nop
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
mov dword [rsp + 0x2c], esi
movabs rcx, 0x4d54ee85da812030
add rcx, qword [0x14029a8e8]
lea rbx, [0x14029a8e0]
cmp rcx, 1
jbe 0x14002ab9b
mov rax, qword [0x14029a8e0]
mov edx, edi
mov rcx, rbx
call qword [rax + 0x30]
jmp 0x14002aba0
test edi, edi
setne al
movzx eax, al
add rax, 2
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x30], rbx
jmp 0x14002ac7b
mov edx, 0x2afb
jmp 0x14002abc7
mov edx, 0x2afa
lea rcx, [rsp + 0x28]
call fcn.14002cf20
jmp 0x14002ac7b
mov edx, 0x2af9
jmp 0x14002abc7
mov edi, 0x277d
movabs rcx, 0x4d54ee85da812030
lea rbx, [0x14029a8e0]
add rcx, qword [0x14029a8e8]
mov dword [rsp + 0x4c], esi
cmp rcx, 1
jbe 0x14002ac17
mov rax, qword [0x14029a8e0]
mov edx, edi
mov rcx, rbx
call qword [rax + 0x30]
jmp 0x14002ac19
mov al, 1
movzx eax, al
add rax, 2
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x48], edi
mov qword [rsp + 0x50], rbx
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rsp + 0x28], xmm0
movsd xmm1, qword [rsp + 0x58]
movsd qword [rsp + 0x38], xmm1
jmp 0x14002ac7b
mov edx, 0x273f
jmp 0x14002ac59
mov edi, 0x273c
jmp 0x14002abe2
mov edx, 0x2726
lea rcx, ds:[rsp + 0x28]
call fcn.14002cf20
jmp 0x14002ac7b
mov edx, 0xe
jmp 0x14002ac59
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], rsi
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [r14], xmm0
movsd xmm1, qword [rsp + 0x38]
movsd qword [r14 + 0x10], xmm1
mov ebx, 0x1000
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x14002accf
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, rbx
jb 0x14002acca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002b149
call fcn.1400378bc
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], sil
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x14002ad16
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, rbx
jb 0x14002ad11
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002b138
call fcn.1400378bc
mov rbx, qword [rsp + 0x60]
mov qword [rsp + 0x78], rbx
test byte [r14 + 0x10], 1
je 0x14002ad56
cmp qword [r14 + 0x10], 1
jne 0x14002ad33
cmp dword [r14], esi
je 0x14002ad56
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
xor r12d, r12d
mov qword [rsp + 0x38], r12
lea rcx, [rsp + 0x28]
lea edi, [r12 + 0x61]
mov esi, r12d
jmp 0x14002b07a
mov qword [rbp + 0x20], rsi
mov qword [rbp + 0x30], rsi
mov qword [rbp + 0x38], rsi
mov rdx, r12
lea rcx, [rbp + 0x20]
call fcn.140006800
nop
mov dword [rsp + 0x40], 0xe2
xor r12d, r12d
mov qword [rbp + 0x40], r12
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x50], xmm0
mov rdx, r13
lea rcx, [rbp + 0x40]
call fcn.140006800
nop
mov dword [rsp + 0x40], 0x1e6
mov r14, qword [rsp + 0x60]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r12
test r14, r14
jne 0x14002adc5
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
mov esi, r12d
jmp 0x14002b070
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], r12
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x60]
call fcn.140006800
nop
mov rdx, qword [r14 + 0x18]
test rdx, rdx
je 0x14002adf1
lea rcx, [rbp - 0x60]
call fcn.140006700
mov edi, 0x18
mov ecx, edi
call fcn.140037d34
mov rsi, rax
test rax, rax
je 0x14002ae12
mov qword [rax], r12
mov qword [rax + 8], r12
mov qword [rax + 0x10], r12
jmp 0x14002ae15
mov rsi, r12
mov qword ds:[rsp + 0x70], rsi
mov rcx, rdi
call fcn.140037d34
mov rdi, rax
mov qword [rsp + 0x70], rax
test rax, rax
je 0x14002ae56
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, 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 [rdi], rax
mov qword [rdi + 0x10], rsi
jmp 0x14002ae59
mov rdi, r12
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], rdi
mov eax, 2
cmp dword [r14 + 4], eax
je 0x14002ae79
cmp dword [r14 + 4], 0x17
jne 0x14002b04a
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
mov dword [rbp - 0x68], r12d
mov qword [rbp - 0x80], 2
cmp qword [r14 + 0x10], 0x80
jbe 0x14002aec9
mov edx, 0x2726
lea rcx, [rsp + 0x48]
call fcn.14002cf20
test byte [rsp + 0x58], 1
je 0x14002aec9
cmp qword [rsp + 0x58], 1
jne 0x14002b13e
cmp dword [rsp + 0x48], r12d
setne al
test al, al
jne 0x14002b13e
mov r8, qword [r14 + 0x10]
mov rdx, qword [r14 + 0x20]
lea rcx, [rbp - 0x80]
call fcn.1401c75d0
lea r13, [rbp + 0x20]
cmp qword [rbp + 0x38], 0x10
cmovae r13, qword [rbp + 0x20]
mov r15, qword [rbp + 0x30]
lea r9, [rbp - 0x60]
cmp qword [rbp - 0x48], 0x10
cmovae r9, qword [rbp - 0x60]
mov r12, qword [rbp - 0x50]
movups xmm0, xmmword [rbp - 0x80]
movaps xmmword [rbp - 0x40], xmm0
movsd xmm1, qword [rbp - 0x70]
movsd qword [rbp - 0x30], xmm1
mov eax, dword [rbp - 0x68]
mov dword [rbp - 0x28], eax
xor eax, eax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], al
lea rcx, [rbp - 0x20]
cmp r12, 0xf
ja 0x14002af4d
mov qword ds:[rbp - 0x10], r12
mov r8, r12
mov rdx, r9
call fcn.1401c75d0
mov byte [rbp + r12 - 0x20], 0
jmp 0x14002af5b
mov r8b, byte [rsp + 0x20]
mov rdx, r12
call fcn.140006ea0
nop
xor r12d, r12d
mov qword [rbp], r12
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x18], 0xf
mov byte [rbp], r12b
lea rcx, [rbp]
cmp r15, 0xf
ja 0x14002af92
mov qword [rbp + 0x10], r15
mov r8, r15
mov rdx, r13
call fcn.1401c75d0
mov byte [rbp + r15], r12b
jmp 0x14002afa6
mov r9, r13
mov r8b, byte [rsp + 0x20]
mov rdx, r15
call fcn.140006ea0
nop
mov rdx, qword [rsi + 8]
cmp rdx, qword [rsi + 0x10]
je 0x14002b023
movaps xmm0, xmmword [rbp - 0x40]
movups xmmword [rdx], xmm0
movsd xmm1, qword [rbp - 0x30]
movsd qword [rdx + 0x10], xmm1
mov eax, dword [rbp - 0x28]
mov dword [rdx + 0x18], eax
mov qword [rdx + 0x20], r12
mov qword [rdx + 0x30], r12
mov qword [rdx + 0x38], r12
movaps xmm0, xmmword [rbp - 0x20]
movups xmmword [rdx + 0x20], xmm0
movaps xmm1, xmmword [rbp - 0x10]
movups xmmword [rdx + 0x30], xmm1
mov qword [rbp - 0x10], r12
mov eax, 0xf
mov qword [rbp - 8], rax
mov byte [rbp - 0x20], r12b
mov qword [rdx + 0x40], r12
mov qword [rdx + 0x50], r12
mov qword [rdx + 0x58], r12
movaps xmm0, xmmword [rbp]
movups xmmword [rdx + 0x40], xmm0
movaps xmm1, xmmword [rbp + 0x10]
movups xmmword [rdx + 0x50], xmm1
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x18], rax
mov byte [rbp], r12b
add qword [rsi + 8], 0x60
jmp 0x14002b030
lea r8, [rbp - 0x40]
mov rcx, rsi
call fcn.14002e580
nop
lea rcx, [rbp]
call fcn.140006640
lea rcx, ds:[rbp - 0x20]
call fcn.140006640
mov eax, 2
mov r14, qword [r14 + 0x28]
test r14, r14
jne 0x14002ae68
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], r12
lea rcx, [rbp - 0x60]
call fcn.140006640
nop
mov r15, qword [rsp + 0x68]
lea rcx, [rsp + 0x48]
mov edi, 0x3ee
mov qword ds:[r15], rsi
mov rax, qword [rcx + 8]
mov qword [r15 + 8], rax
mov qword [rcx], r12
mov qword [rcx + 8], r12
mov rax, qword [rcx + 0x10]
mov qword [r15 + 0x10], rax
mov qword [rcx + 0x10], r12
or edi, 0x10
test dil, 8
je 0x14002b0b9
and edi, 0xfffffff7
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14002b0b9
call fcn.140007d00
nop
test dil, 4
je 0x14002b0cc
and edi, 0xfffffffb
lea rcx, [rbp + 0x40]
call fcn.140006640
nop
mov eax, 2
test al, dil
je 0x14002b0e6
and edi, 0xfffffffd
lea rcx, [rbp + 0x20]
call fcn.140006640
nop
test dil, 1
je 0x14002b0fc
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14002b0fc
call fcn.140007d00
nop
nop dword [rax]
test rbx, rbx
je 0x14002b10e
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov rax, r15
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.1401c17d0
mov rbx, qword [rsp + 0x1b0]
add rsp, 0x170
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1401cd660
nop
lea rcx, [rsp + 0x48]
call fcn.14000b320
nop
call fcn.1401cd660
int3