Function at 0x1400dd3c0
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.140002d10
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 0x1400dd518
lea r9, [rsp + 0x4c]
lea r8, [0x14022b29c]
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0xb8]
call fcn.140006620
nop
lea rcx, [rsp + 0x58]
call fcn.140006ea0
movzx eax, al
test eax, eax
je 0x1400dd486
lea rcx, [rsp + 0x58]
call fcn.140007060
jmp 0x1400dd518
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
call fcn.140002ce0
lea rcx, [rsp + 0x50]
call fcn.140050200
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.140002d40
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x90]
call fcn.140002df0
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.140002dd0
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.140007060
jmp 0x1400dd43c
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0
jne 0x1400dd564
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [rsp + 0x70], 0
lea rcx, [rsp + 0x50]
call fcn.140007060
nop
mov rcx, qword [rsp + 0xb0]
call fcn.140007060
nop
mov rcx, qword [rsp + 0xb8]
call fcn.140007060
mov eax, dword [rsp + 0x70]
jmp 0x1400dd67b
mov rcx, qword [rsp + 0xb0]
call fcn.140050200
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 0x1400dd603
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x1400dd5d8
mov rax, qword [rsp + 0x60]
movzx eax, word [rax + 0x10]
cmp eax, 1
jne 0x1400dd5c9
jmp 0x1400dd5d8
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
jmp 0x1400dd5b1
cmp qword [rsp + 0x60], 0
je 0x1400dd5ec
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x20]
mov dword [rsp + 0x38], eax
cmp qword [rsp + 0x40], 0
je 0x1400dd603
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 0x1400dd649
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x74], eax
lea rcx, [rsp + 0x50]
call fcn.140007060
nop
mov rcx, qword [rsp + 0xb0]
call fcn.140007060
nop
mov rcx, qword [rsp + 0xb8]
call fcn.140007060
mov eax, dword [rsp + 0x74]
jmp 0x1400dd67b
mov dword [rsp + 0x78], 0
lea rcx, [rsp + 0x50]
call fcn.140007060
nop
mov rcx, qword [rsp + 0xb0]
call fcn.140007060
nop
mov rcx, qword [rsp + 0xb8]
call fcn.140007060
mov eax, dword [rsp + 0x78]
add rsp, 0xa8
ret