Function at 0x14019ebb8
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x14023ab58]
xor rax, rsp
mov qword [rbp + 0x78], rax
mov rbx, rdx
mov rdi, rcx
xor r14d, r14d
mov qword [rsp + 0x30], r14
mov rcx, rdx
cmp qword [rdx + 0x18], 8
jb 0x14019ebf9
mov rcx, qword [rdx]
mov esi, 2
mov edx, esi
mov qword [rsp + 0x28], r14
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x1000
call qword [sym.imp.DNSAPI.dll_DnsQuery_W]
mov ecx, eax
test eax, eax
je 0x14019ec91
mov qword [rsp + 0x68], rbx
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
lea rax, [0x14019f8a0]
mov qword [rsp + 0x40], rax
movzx eax, cx
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
mov dword [rbp - 0x80], eax
lea rax, [0x140234038]
mov qword [rbp - 0x78], rax
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x80], xmm0
lea r9, [rsp + 0x38]
lea r8, [rbp - 0x80]
mov dl, 1
lea rcx, [rbp - 0x60]
call fcn.14001f854
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x28]
call fcn.14001fa60
mov rdx, rax
mov rcx, rdi
call fcn.14001f5a4
jmp 0x14019ecd1
mov rdx, qword [rsp + 0x30]
mov qword [rsp + 0x68], rdx
mov byte [rsp + 0x70], r14b
jmp 0x14019ecb0
cmp word [rdx + 0x10], si
je 0x14019ecf7
mov rdx, qword [rdx]
mov qword [rsp + 0x30], rdx
test rdx, rdx
jne 0x14019eca2
mov byte [rsp + 0x58], r14b
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.14019f5a4
lea rcx, [rsp + 0x68]
call fcn.14019f584
mov rax, rdi
mov rcx, qword [rbp + 0x78]
xor rcx, rsp
call fcn.1401d2140
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x180
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov rdx, qword [rdx + 0x20]
lea rcx, [rbp - 0x80]
call fcn.14001e81c
mov rbx, rax
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x48], xmm1
mov qword [rax + 0x10], r14
mov r15d, 7
mov qword [rax + 0x18], r15
mov word [rax], r14w
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x60]
call fcn.140078214
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x14019ed52
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
call fcn.1400131d4
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r15
mov word [rbx], r14w
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 8]
call fcn.14006ba80
mov rsi, rax
mov rdx, rax
lea rcx, [rbp + 0x40]
call fcn.14006ba80
mov rbx, rax
mov al, byte [rax + 0x30]
test al, al
jne 0x14019edd4
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r15
mov word [rbx], r14w
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm1
mov byte [rsp + 0x58], 1
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm1
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r15
mov word [rsp + 0x38], r14w
mov byte [rdi + 0x20], 1
mov byte [rdi + 0x30], r14b
lea rcx, [rsp + 0x38]
call fcn.1400282fc
jmp 0x14019ee58
mov rdx, r14
cmp al, 1
cmove rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.140073618
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x38], xmm0
mov r8, qword [rax + 0x10]
mov qword [rax + 0x10], r14
mov rcx, qword [rax + 0x18]
mov qword [rsp + 0x50], rcx
mov rdx, qword [rax + 0x20]
mov qword [rax + 0x20], r14
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x60], rax
movdqu xmmword [rdi], xmm0
mov qword [rsp + 0x48], r14
mov qword [rdi + 0x10], r8
mov qword [rdi + 0x18], rcx
mov qword [rsp + 0x58], r14
mov qword [rdi + 0x20], rdx
mov qword [rdi + 0x28], rax
mov byte [rdi + 0x30], 1
lea rcx, [rsp + 0x58]
call fcn.1400260e4
lea rcx, [rsp + 0x48]
call fcn.14002633c
lea rcx, [rbp - 8]
call fcn.1400260e4
lea rcx, [rbp - 0x18]
call fcn.14002633c
movsx rax, byte [rbx + 0x30]
add rax, 1
je 0x14019ee85
cmp rax, 1
je 0x14019ee7d
lea rcx, [rbx + 0x20]
call fcn.1400260e4
lea rcx, [rbx + 0x10]
call fcn.14002633c
jmp 0x14019ee85
mov rcx, rbx
call fcn.1400282fc
movsx rax, byte [rsi + 0x30]
add rax, 1
je 0x14019eeb2
cmp rax, 1
je 0x14019eeaa
lea rcx, [rsi + 0x20]
call fcn.1400260e4
lea rcx, [rsi + 0x10]
call fcn.14002633c
jmp 0x14019eeb2
mov rcx, rsi
call fcn.1400282fc
lea rcx, [rbp - 0x60]
call fcn.14006bbd0
jmp 0x14019ecc7