Function at 0x1400dafc0
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.140002d50
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 0x1400db118
lea r9, [rsp + 0x4c]
lea r8, [0x1402152fc]
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0xb8]
call fcn.140006540
nop
lea rcx, [rsp + 0x58]
call fcn.140007b70
movzx eax, al
test eax, eax
je 0x1400db086
lea rcx, [rsp + 0x58]
call fcn.140001470
jmp 0x1400db118
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
call fcn.140002d20
lea rcx, [rsp + 0x50]
call fcn.1400012c0
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.140002d80
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x90]
call fcn.140002e30
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.140002e10
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.140001470
jmp 0x1400db03c
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0
jne 0x1400db164
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [rsp + 0x70], 0
lea rcx, [rsp + 0x50]
call fcn.140001470
nop
mov rcx, qword [rsp + 0xb0]
call fcn.140001470
nop
mov rcx, qword [rsp + 0xb8]
call fcn.140001470
mov eax, dword [rsp + 0x70]
jmp 0x1400db27b
mov rcx, qword [rsp + 0xb0]
call fcn.1400012c0
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 0x1400db203
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x1400db1d8
mov rax, qword [rsp + 0x60]
movzx eax, word [rax + 0x10]
cmp eax, 1
jne 0x1400db1c9
jmp 0x1400db1d8
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
jmp 0x1400db1b1
cmp qword [rsp + 0x60], 0
je 0x1400db1ec
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x20]
mov dword [rsp + 0x38], eax
cmp qword [rsp + 0x40], 0
je 0x1400db203
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 0x1400db249
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x74], eax
lea rcx, [rsp + 0x50]
call fcn.140001470
nop
mov rcx, qword [rsp + 0xb0]
call fcn.140001470
nop
mov rcx, qword [rsp + 0xb8]
call fcn.140001470
mov eax, dword [rsp + 0x74]
jmp 0x1400db27b
mov dword [rsp + 0x78], 0
lea rcx, [rsp + 0x50]
call fcn.140001470
nop
mov rcx, qword [rsp + 0xb0]
call fcn.140001470
nop
mov rcx, qword [rsp + 0xb8]
call fcn.140001470
mov eax, dword [rsp + 0x78]
add rsp, 0xa8
ret