Function at 0x14001c920
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 - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x14008e1c0]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov rsi, r9
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x30], rdx
mov r14, qword [rbp + 0x120]
xor r15d, r15d
mov dword [rsp + 0x20], r15d
mov qword [rsp + 0x28], r15
lea rdx, [r9 + 0x50]
lea rcx, [rbp + 0x70]
call fcn.140003dc0
nop
lea rbx, [rbp + 0x70]
cmp qword [rbp + 0x88], 0xf
cmova rbx, qword [rbp + 0x70]
lea rdx, [rsi + 0x30]
lea rcx, [rbp + 0x30]
call fcn.140003dc0
mov dword [rsp + 0x20], 0x60
lea rdi, [rbp + 0x30]
cmp qword [rbp + 0x48], 0xf
cmova rdi, qword [rbp + 0x30]
test rdi, rdi
je 0x14001c9bd
cmp byte [rdi], r15b
jne 0x14001c9c0
mov rdi, r15
test rbx, rbx
je 0x14001c9ca
cmp byte [rbx], 0
jne 0x14001c9cd
mov rbx, r15
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
lea r9, [rsp + 0x28]
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov edx, eax
lea rcx, [rsp + 0x78]
call fcn.14001dae0
movups xmm0, xmmword [rax]
movups xmmword [r14], xmm0
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x14001ca3a
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001ca35
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001ca35
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004935c
movdqa xmm0, xmmword [0x14004f0d0]
movdqu xmmword [rbp + 0x40], xmm0
mov byte [rbp + 0x30], 0
mov rdx, qword [rbp + 0x88]
cmp rdx, 0xf
jbe 0x14001ca8c
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001ca87
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001ca87
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004935c
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov r15, 0xffffffffffffffff
cmp dword [r14], 0
je 0x14001cac5
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
xor r12d, r12d
mov qword [rsp + 0x68], r12
lea rcx, [rsp + 0x58]
lea ebx, [r15 + 0x62]
mov r14d, r12d
jmp 0x14001cda4
lea rdx, [rsi + 0x50]
lea rcx, [rbp - 0x50]
call fcn.140003dc0
nop
mov dword [rsp + 0x20], 0xe2
lea rdx, [rsi + 0x30]
lea rcx, [rbp + 0x90]
call fcn.140003dc0
nop
mov rsi, qword [rsp + 0x28]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
xor r12d, r12d
mov qword [rsp + 0x48], r12
mov dword [rsp + 0x20], 0x3e6
test rsi, rsi
je 0x14001cd95
lea rdx, [rbp + 0x90]
lea rcx, [rbp + 0x50]
call fcn.140003dc0
nop
mov rdx, qword [rsi + 0x18]
test rdx, rdx
je 0x14001cb43
mov r8, r15
inc r8
cmp byte [rdx + r8], 0
jne 0x14001cb30
lea rcx, [rbp + 0x50]
call fcn.140006f20
mov ecx, 0x18
call fcn.140049320
mov r14, rax
test rax, rax
je 0x14001cb62
mov qword [rax], r12
mov qword [rax + 8], r12
mov qword [rax + 0x10], r12
jmp 0x14001cb65
mov r14, r12
mov qword [rsp + 0x70], r14
mov ecx, 0x18
call fcn.140049320
mov qword [rbp - 0x70], rax
test rax, rax
je 0x14001cba1
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
jmp 0x14001cba4
mov rax, r12
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], rax
nop
mov eax, dword [rsi + 4]
cmp eax, 2
je 0x14001cbc1
cmp eax, 0x17
jne 0x14001cd41
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x68], xmm0
mov dword [rbp - 0x58], r12d
mov qword [rbp - 0x70], 2
mov r8, qword [rsi + 0x10]
cmp r8, 0x80
ja 0x14001cf43
mov rdx, qword [rsi + 0x20]
lea rcx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memcpy
lea rdi, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova rdi, qword [rbp - 0x50]
mov rbx, qword [rbp - 0x40]
lea rdx, [rbp + 0x50]
cmp qword [rbp + 0x68], 0xf
cmova rdx, qword [rbp + 0x50]
movups xmm0, xmmword [rbp - 0x70]
movaps xmmword [rbp - 0x30], xmm0
movsd xmm1, qword [rbp - 0x60]
movsd qword [rbp - 0x20], xmm1
mov eax, dword [rbp - 0x58]
mov dword [rbp - 0x18], eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], r12
mov qword [rbp + 8], r12
mov r8, qword [rbp + 0x60]
lea rcx, [rbp - 0x10]
call fcn.140001ba0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], r12
mov qword [rbp + 0x28], r12
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp + 0x10]
call fcn.140001ba0
nop
mov rdx, qword [r14 + 8]
cmp rdx, qword [r14 + 0x10]
je 0x14001ccc6
movaps xmm0, xmmword [rbp - 0x30]
movups xmmword [rdx], xmm0
movsd xmm1, qword [rbp - 0x20]
movsd qword [rdx + 0x10], xmm1
mov eax, dword [rbp - 0x18]
mov dword [rdx + 0x18], eax
movaps xmm0, xmmword [rbp - 0x10]
movups xmmword [rdx + 0x20], xmm0
movaps xmm1, xmmword [rbp]
movups xmmword [rdx + 0x30], xmm1
mov ebx, select
mov qword [rbp + 8], rbx
mov byte [rbp - 0x10], 0
movaps xmm0, xmmword [rbp + 0x10]
movups xmmword [rdx + 0x40], xmm0
movaps xmm1, xmmword [rbp + 0x20]
movups xmmword [rdx + 0x50], xmm1
mov edx, ebx
mov qword [rbp + 0x28], rbx
mov byte [rbp + 0x10], 0
add qword [r14 + 8], 0x60
jmp 0x14001ccda
lea r8, [rbp - 0x30]
mov rcx, r14
call fcn.140016b50
mov rdx, qword [rbp + 0x28]
mov rbx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x14001cd0d
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001cd08
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001cd87
call fcn.14004935c
cmp rbx, 0xf
jbe 0x14001cd41
lea rdx, [rbx + 1]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001cd3c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001cd87
call fcn.14004935c
mov rsi, qword [rsi + 0x28]
test rsi, rsi
jne 0x14001cbb0
mov rdx, qword [rbp + 0x68]
cmp rdx, 0xf
jbe 0x14001cd9a
inc rdx
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001cd8e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001cd8e
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.14004935c
jmp 0x14001cd9a
mov r14, qword [rsp + 0x38]
lea rcx, [rsp + 0x38]
mov ebx, 8
mov rdi, qword [rsp + 0x50]
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 0x14001ce1a
and ebx, 0xfffffff7
mov dword [rsp + 0x20], ebx
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14001ce1a
mov eax, r15d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14001ce16
mov rbx, qword [rsp + 0x40]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r15d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14001ce16
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + ioctlsocket]
mov ebx, dword [rsp + 0x20]
test bl, 4
je 0x14001ce6b
and ebx, 0xfffffffb
mov dword [rsp + 0x20], ebx
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0xf
jbe 0x14001ce6b
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001ce65
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001ce65
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004935c
nop
test bl, 2
je 0x14001cec5
and ebx, 0xfffffffd
mov dword [rsp + 0x20], ebx
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x14001ceb5
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001ceb0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001ceb0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004935c
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], select
mov byte [rbp - 0x50], 0
test bl, 1
je 0x14001cf06
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14001cf06
mov eax, r15d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14001cf06
mov rbx, qword [rsp + 0x60]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r15d
cmp r15d, 1
jne 0x14001cf06
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rcx]
call qword [rdx + ioctlsocket]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14001cf16
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov rax, rdi
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.1400496c0
mov rbx, qword [rsp + 0x200]
add rsp, 0x1c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov dword [rbp - 0x70], 0x2726
mov byte [rbp - 0x6c], 1
lea rax, [0x14004dd00]
mov qword [rbp - 0x68], rax
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x70], xmm0
lea rcx, [rbp - 0x70]
call fcn.14001b3e0
int3