Function at 0x14000ec10
Capabilities:
Resolve dns

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0x80]
movaps xmmword [rbp], xmm6
mov qword [rbp - 8], 0xfffffffffffffffe
mov rcx, r9
mov rsi, rdx
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], 0
cmp qword [r9 + 0x18], 0x10
jb 0x14000ec55
mov rcx, qword [rcx]
lea r14, [rbp - 0x40]
mov qword [rsp + 0x20], r14
mov qword [rsp + 0x28], 0
mov edx, r8d
xor r8d, r8d
xor r9d, r9d
call sub.DNSAPI.dll_DnsQuery_UTF8
test eax, eax
jne 0x14000efd5
lea r15, [0x14000f300]
lea rdi, [rbp - 0x30]
xorps xmm6, xmm6
mov qword [rbp - 0x10], rsi
jmp case.0x14000eccb.3
mov rax, qword [rbp - 0x30]
mov qword [rdx], rax
add qword [rsi + 8], 8
mov r14, qword [r14]
test r14, r14
je 0x14000efc7
movzx eax, word [r14 + 0x10]
dec eax
cmp eax, 0x20
ja case.0x14000eccb.3
movsxd rax, dword [r15 + rax*4]
add rax, r15
jmp rax
lea r9, [r14 + 0x20]
lea r8, [r14 + 0x18]
lea rdx, [r14 + 8]
mov rcx, rdi
call fcn.14000f390
mov rsi, qword [rbp - 0x10]
mov rdx, qword [rsi + 8]
cmp rdx, qword [rsi + 0x10]
jne 0x14000eca0
mov rcx, rsi
mov r8, rdi
call fcn.140010480
jmp 0x14000ef40
lea r9, [r14 + 0x20]
lea r8, [r14 + 0x18]
lea rdx, [r14 + 8]
mov rcx, rdi
call fcn.140010220
mov rsi, qword [rbp - 0x10]
mov rdx, qword [rsi + 8]
cmp rdx, qword [rsi + 0x10]
jne 0x14000eca0
mov rcx, rsi
mov r8, rdi
call fcn.140010480
jmp 0x14000ef40
lea r9, [r14 + 0x20]
lea r8, [r14 + 0x18]
lea rdx, [r14 + 8]
mov rcx, rdi
call fcn.14000f690
mov rsi, qword [rbp - 0x10]
mov rdx, qword [rsi + 8]
cmp rdx, qword [rsi + 0x10]
jne 0x14000eca0
mov rcx, rsi
mov r8, rdi
call fcn.140010480
jmp 0x14000ef40
lea r9, [r14 + 0x20]
lea r8, [r14 + 0x18]
lea rdx, [r14 + 8]
mov rcx, rdi
call fcn.14000f900
mov rsi, qword [rbp - 0x10]
mov rdx, qword [rsi + 8]
cmp rdx, qword [rsi + 0x10]
jne 0x14000eca0
mov rcx, rsi
mov r8, rdi
call fcn.140010480
jmp 0x14000ef40
lea rax, [r14 + 0x20]
lea r9, [r14 + 0x28]
lea r8, [r14 + 0x18]
lea rdx, [r14 + 8]
mov qword [rsp + 0x20], rax
mov rcx, rdi
call fcn.14000fcf0
mov rsi, qword [rbp - 0x10]
mov rdx, qword [rsi + 8]
cmp rdx, qword [rsi + 0x10]
jne 0x14000eca0
mov rcx, rsi
mov r8, rdi
call fcn.140010480
jmp 0x14000ef40
movaps xmmword [rbp - 0x30], xmm6
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], recv
xor r12d, r12d
cmp r12d, dword [r14 + 0x20]
jne 0x14000ee5c
lea r8, [r14 + 0x18]
lea rdx, [r14 + 8]
lea rcx, [rbp - 0x38]
mov r9, rdi
call fcn.14000fb60
mov rsi, qword [rbp - 0x10]
mov rdx, qword [rsi + 8]
cmp rdx, qword [rsi + 0x10]
je 0x14000ef60
mov rax, qword [rbp - 0x38]
mov qword [rdx], rax
add qword [rsi + 8], 8
jmp 0x14000ef83
add rcx, rsi
mov rdx, rbx
mov r8, rax
call sub.VCRUNTIME140.dll_memmove
mov byte [rsi + r13], 0
inc r12d
cmp r12d, dword [r14 + 0x20]
je 0x14000edfd
mov eax, r12d
mov rbx, qword [r14 + rax*8 + 0x28]
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov rcx, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
mov r8, rdx
sub r8, rcx
cmp r8, rax
jae 0x14000eea0
mov qword [rsp + 0x20], rax
mov rcx, rdi
mov rdx, rax
mov r9, rbx
call fcn.140002e80
inc r12d
cmp r12d, dword [r14 + 0x20]
jne 0x14000ee5c
jmp 0x14000edfd
mov r13, rax
add r13, rcx
mov qword [rbp - 0x20], r13
mov rsi, rdi
cmp rdx, 0x10
jb 0x14000ee40
mov rsi, qword [rbp - 0x30]
jmp 0x14000ee40
lea r9, [r14 + 0x20]
lea r8, [r14 + 0x18]
lea rdx, [r14 + 8]
mov rcx, rdi
call fcn.14000f520
mov rsi, qword [rbp - 0x10]
mov rdx, qword [rsi + 8]
cmp rdx, qword [rsi + 0x10]
jne 0x14000eca0
mov rcx, rsi
mov r8, rdi
call fcn.140010480
jmp 0x14000ef40
lea rax, [r14 + 0x20]
lea rcx, [r14 + 0x2c]
lea r10, [r14 + 0x2a]
lea r9, [r14 + 0x28]
lea r8, [r14 + 0x18]
lea rdx, [r14 + 8]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r10
mov rcx, rdi
call fcn.14000ff70
mov rsi, qword [rbp - 0x10]
mov rdx, qword [rsi + 8]
cmp rdx, qword [rsi + 0x10]
jne 0x14000eca0
mov rcx, rsi
mov r8, rdi
call fcn.140010480
nop dword [rax + rax]
mov rcx, qword [rbp - 0x30]
test rcx, rcx
mov rsi, qword [rbp - 0x10]
je case.0x14000eccb.3
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
jmp case.0x14000eccb.3
mov rcx, rsi
lea r8, [rbp - 0x38]
call fcn.140010480
mov rcx, qword [rbp - 0x38]
test rcx, rcx
mov rsi, qword [rbp - 0x10]
je 0x14000ef83
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov rax, qword [rbp - 0x18]
cmp rax, 0x10
jb case.0x14000eccb.3
mov rcx, qword [rbp - 0x30]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x14000efbd
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x14000eff0
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.140055568
jmp case.0x14000eccb.3
mov rcx, qword [rbp - 0x40]
mov edx, 1
call sub.DNSAPI.dll_DnsFree
mov rax, rsi
movaps xmm6, xmmword [rbp]
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3