Function at 0x1400dafd0
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov qword [rsp + 0x80], 0xfffffffffffffffe
mov dword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x30], 0
lea rcx, [rsp + 0x50]
call fcn.140002db0
nop
mov dword [rsp + 0x38], 0
mov eax, 1
mov word [rsp + 0x3c], ax
mov edx, 0x800
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov dword [rax], 0
mov dword [rsp + 0x4c], 0
cmp dword [rsp + 0x4c], 0xffffffff
je 0x1400db128
lea r9, [rsp + 0x4c]
lea r8, [0x1402142fc]
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0xb8]
call fcn.1400065a0
nop
lea rcx, [rsp + 0x58]
call fcn.140006e20
movzx eax, al
test eax, eax
je 0x1400db096
lea rcx, [rsp + 0x58]
call fcn.140001490
jmp 0x1400db128
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
call fcn.140002d80
lea rcx, [rsp + 0x50]
call fcn.140023510
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.140002de0
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x90]
call fcn.140002e90
mov rcx, rax
call qword [sym.imp.WS2_32.dll_inet_addr]
mov r11d, eax
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax]
mov rax, qword [rsp + 0x30]
mov dword [rax + rcx*4 + 4], r11d
lea rcx, [rsp + 0x68]
call fcn.140002e70
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax]
add ecx, 1
mov rax, qword [rsp + 0x30]
mov dword [rax], ecx
lea rcx, [rsp + 0x58]
call fcn.140001490
jmp 0x1400db04c
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0
jne 0x1400db174
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [rsp + 0x70], 0
lea rcx, [rsp + 0x50]
call fcn.140001490
nop
mov rcx, qword [rsp + 0xb0]
call fcn.140001490
nop
mov rcx, qword [rsp + 0xb8]
call fcn.140001490
mov eax, dword [rsp + 0x70]
jmp 0x1400db28b
mov rcx, qword [rsp + 0xb0]
call fcn.140023510
mov rcx, rax
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x30]
mov r8d, 0x1e8
movzx edx, word [rsp + 0x3c]
call sub.DNSAPI.dll_DnsQuery_W
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
jne 0x1400db213
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x1400db1e8
mov rax, qword [rsp + 0x60]
movzx eax, word [rax + 0x10]
cmp eax, 1
jne 0x1400db1d9
jmp 0x1400db1e8
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
jmp 0x1400db1c1
cmp qword [rsp + 0x60], 0
je 0x1400db1fc
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x20]
mov dword [rsp + 0x38], eax
cmp qword [rsp + 0x40], 0
je 0x1400db213
mov edx, 1
mov rcx, qword [rsp + 0x40]
call sub.DNSAPI.dll_DnsFree
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [rsp + 0x48], 0
jne 0x1400db259
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x74], eax
lea rcx, [rsp + 0x50]
call fcn.140001490
nop
mov rcx, qword [rsp + 0xb0]
call fcn.140001490
nop
mov rcx, qword [rsp + 0xb8]
call fcn.140001490
mov eax, dword [rsp + 0x74]
jmp 0x1400db28b
mov dword [rsp + 0x78], 0
lea rcx, [rsp + 0x50]
call fcn.140001490
nop
mov rcx, qword [rsp + 0xb0]
call fcn.140001490
nop
mov rcx, qword [rsp + 0xb8]
call fcn.140001490
mov eax, dword [rsp + 0x78]
add rsp, 0xa8
ret