Function at 0x14001b3c0
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 - 0x1f]
sub rsp, 0xf0
mov rax, qword [0x14009f320]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov r12, r8
mov r15, rdx
mov qword [rsp + 0x40], rdx
mov r13, qword [rbp + 0x7f]
xor esi, esi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x6d], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x5d], xmm1
mov dword [rbp - 0x4d], esi
mov qword [rbp - 0x79], 0x408
mov dword [rbp - 0x71], 1
lea rdi, [rbp + 0xc]
test r9d, r9d
jns 0x14001b462
neg r9d
nop dword [rax]
dec rdi
mov eax, 0xcccccccd
mul r9d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r9b, cl
add r9b, 0x30
mov byte [rdi], r9b
mov r9d, edx
test edx, edx
jne 0x14001b430
dec rdi
mov byte [rdi], 0x2d
jmp 0x14001b48c
dec rdi
mov eax, 0xcccccccd
mul r9d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r9b, cl
add r9b, 0x30
mov byte [rdi], r9b
mov r9d, edx
test edx, edx
jne 0x14001b462
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], rsi
mov qword [rbp - 0x11], rsi
lea rax, [rbp + 0xc]
cmp rdi, rax
jne 0x14001b4b9
mov qword [rbp - 0x19], rsi
mov qword [rbp - 0x11], select
mov byte [rbp - 0x29], sil
jmp 0x14001b546
lea rsi, [rbp + 0xc]
sub rsi, rdi
movabs r14, 0x7fffffffffffffff
cmp rsi, r14
ja 0x14001b6aa
mov qword [rbp - 0x11], select
cmp rsi, 0x10
jae 0x14001b4fb
mov qword [rbp - 0x19], rsi
mov r8, rsi
mov rdx, rdi
lea rcx, [rbp - 0x29]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rsi - 0x29], 0
jmp 0x14001b544
mov rax, rsi
or rax, 0xf
cmp rax, r14
ja 0x14001b516
mov r14, rax
mov ecx, socket
cmp rax, rcx
cmovb r14, rcx
lea rdx, [r14 + 1]
lea rcx, [rbp - 0x29]
call fcn.140002100
mov rbx, rax
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x19], rsi
mov qword [rbp - 0x11], r14
mov r8, rsi
mov rdx, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rsi], 0
xor esi, esi
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 0x10
cmovae rdx, qword [rbp - 0x29]
cmp qword [r12 + 0x18], 0x10
jb 0x14001b560
mov r12, qword [r12]
lea r9, [rsp + 0x48]
lea r8, [rbp - 0x79]
mov rcx, r12
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x14001b5cf
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x400
lea rbx, [0x14009ff90]
mov qword [rsp + 0x20], rbx
mov r9d, 0x400
mov r8d, eax
xor edx, edx
mov ecx, 0x12ff
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rbx + r8], 0
jne 0x14001b5b0
mov rdx, rbx
mov rcx, r13
call fcn.140002b00
mov rbx, rsi
mov qword [rsp + 0x48], rbx
jmp 0x14001b5d4
mov rbx, qword [rsp + 0x48]
mov qword [r15], rsi
mov qword [r15 + 8], rsi
mov rax, qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov qword [rsp + 0x40], rax
mov qword [rbp - 0x41], rbx
lea rax, [rsp + 0x40]
mov qword [rbp - 0x39], rax
mov byte [rbp - 0x31], 1
mov ecx, 0x20
call fcn.14006ab30
mov qword [rbp - 0x49], rax
test rax, rax
je 0x14001b638
mov rcx, qword [rsp + 0x40]
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rdx, vtable.std::_Ref_count_resource_struct_addrinfo____ptr64__void____cdecl___struct_addrinfo____ptr64__.0
mov qword [rax], rdx
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rbx
jmp 0x14001b63b
mov rax, rsi
mov qword [r15], rbx
mov qword [r15 + 8], rax
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x14001b680
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001b67b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001b67b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006adc4
mov rax, r15
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.14006ab10
mov rbx, qword [rsp + 0x130]
add rsp, 0xf0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140001700
int3