Function at 0x1401ede90
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x14029f3b8]
xor rax, rsp
mov qword [rbp + 0x58], rax
mov rbx, rdx
mov rdi, rcx
xor r14d, r14d
mov qword [rsp + 0x38], r14
mov rcx, rdx
cmp qword [rdx + 0x18], 8
jb 0x1401eded1
mov rcx, qword [rdx]
mov esi, 2
mov edx, esi
mov qword [rsp + 0x28], r14
lea rax, [rsp + 0x38]
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 0x1401edf6a
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x50], rax
lea rax, [0x1401eec50]
mov qword [rsp + 0x58], rax
movzx eax, cx
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
mov dword [rbp - 0x70], eax
lea rax, [0x140298038]
mov qword [rbp - 0x68], rax
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x70], xmm0
lea r9, [rsp + 0x50]
lea r8, [rbp - 0x70]
mov dl, 1
lea rcx, [rbp - 0x50]
call fcn.140022534
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x60]
call fcn.140022738
mov rdx, rax
mov rcx, rdi
call fcn.14002225c
jmp 0x1401edfa9
mov rdx, qword [rsp + 0x38]
mov qword [rsp + 0x40], rdx
mov byte [rsp + 0x48], r14b
jmp 0x1401edf89
cmp word [rdx + 0x10], si
je 0x1401edfcf
mov rdx, qword [rdx]
mov qword [rsp + 0x38], rdx
test rdx, rdx
jne 0x1401edf7b
mov byte [rbp - 0x80], r14b
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.1401ee904
lea rcx, [rsp + 0x40]
call fcn.1401ee8e4
mov rax, rdi
mov rcx, qword [rbp + 0x58]
xor rcx, rsp
call fcn.140220ed0
mov rbx, qword [rsp + 0x1a0]
add rsp, 0x160
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov rdx, qword [rdx + 0x20]
lea rcx, [rbp - 0x70]
call fcn.1400213b8
mov rbx, rax
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
mov qword [rax + 0x10], r14
mov r15d, 7
mov qword [rax + 0x18], r15
mov word [rax], r14w
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm1
mov byte [rbp - 0x20], r14b
mov rdx, qword [rax + 0x18]
cmp rdx, 8
jb 0x1401ee01e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rax]
call fcn.140016264
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r15
mov word [rbx], r14w
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x18]
call fcn.1401ee18c
mov rsi, rax
mov rdx, rax
lea rcx, [rbp + 0x20]
call fcn.1401ee18c
mov rbx, rax
mov byte [rsp + 0x30], r14b
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x58], rax
cmp byte [rbx + 0x30], r14b
jne 0x1401ee0af
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 + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm1
mov byte [rbp - 0x80], 1
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm1
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r15
mov word [rsp + 0x60], r14w
mov byte [rdi + 0x20], 1
mov byte [rdi + 0x30], r14b
lea rcx, [rsp + 0x60]
call fcn.140015fc0
jmp 0x1401ee0bc
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.1401eeb3c
movsx rax, byte [rbx + 0x30]
add rax, 1
je 0x1401ee0e9
cmp rax, 1
je 0x1401ee0e1
lea rcx, [rbx + 0x20]
call fcn.140029ef4
lea rcx, [rbx + 0x10]
call fcn.14002a14c
jmp 0x1401ee0e9
mov rcx, rbx
call fcn.140015fc0
movsx rax, byte [rsi + 0x30]
add rax, 1
je 0x1401ee116
cmp rax, 1
je 0x1401ee10e
lea rcx, [rsi + 0x20]
call fcn.140029ef4
lea rcx, [rsi + 0x10]
call fcn.14002a14c
jmp 0x1401ee116
mov rcx, rsi
call fcn.140015fc0
movsx rax, byte [rbp - 0x20]
add rax, 1
je 0x1401edf9f
cmp rax, 1
je 0x1401ee142
lea rcx, [rbp - 0x30]
call fcn.140029ef4
lea rcx, [rbp - 0x40]
call fcn.14002a14c
jmp 0x1401edf9f
lea rcx, [rbp - 0x50]
call fcn.140015fc0
jmp 0x1401edf9f