Function at 0x1400b4200
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x470
mov rax, qword [0x1401d4770]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov rsi, rdx
mov rbx, rcx
cmp byte [0x140465ba4], 0
je 0x1400b4405
cmp dword [reloc.WS2_32.dll_closesocket], 1
jl 0x1400b44ae
mov edx, 2
lea rcx, [rsp + 0x40]
call fcn.1400269f0
nop
movsxd rcx, dword [rsp + 0x40]
lea r8d, [rcx + 7]
mov edx, dword [rsp + 0x50]
cmp r8d, edx
jle 0x1400b4273
mov eax, dword [rsp + 0x54]
add eax, 7
mov dword [rsp + 0x54], eax
jmp 0x1400b42a8
mov rdx, rcx
add rdx, qword [rsp + 0x48]
mov eax, dword [str.e_0_90m]
mov dword [rdx], eax
movzx eax, word [0x1401a8b6c]
mov word [rdx + 4], ax
movzx eax, byte [0x1401a8b6e]
mov byte [rdx + 6], al
mov dword [rsp + 0x40], r8d
mov ecx, r8d
mov eax, dword [rsp + 0x54]
mov edx, dword [rsp + 0x50]
lea r8d, [rcx + 5]
cmp r8d, edx
jle 0x1400b42ba
add eax, 5
mov dword [rsp + 0x54], eax
jmp 0x1400b42e4
movsxd rdx, ecx
add rdx, qword [rsp + 0x48]
mov eax, dword [str.Util]
mov dword [rdx], eax
movzx eax, byte [0x1401a43fc]
mov byte [rdx + 4], al
mov dword [rsp + 0x40], r8d
mov ecx, r8d
mov eax, dword [rsp + 0x54]
mov edx, dword [rsp + 0x50]
lea r8d, [rcx + 7]
cmp r8d, edx
jle 0x1400b42f6
add eax, 7
mov dword [rsp + 0x54], eax
jmp 0x1400b432b
movsxd rdx, ecx
add rdx, qword [rsp + 0x48]
mov eax, dword [str.e_0_31m]
mov dword [rdx], eax
movzx eax, word [0x1401a8b64]
mov word [rdx + 4], ax
movzx eax, byte [0x1401a8b66]
mov byte [rdx + 6], al
mov dword [rsp + 0x40], r8d
mov ecx, r8d
mov eax, dword [rsp + 0x54]
mov edx, dword [rsp + 0x50]
lea r8d, [rcx + 0x3a]
cmp r8d, edx
jle 0x1400b433d
add eax, 0x3a
mov dword [rsp + 0x54], eax
jmp 0x1400b438d
movsxd rdx, ecx
add rdx, qword [rsp + 0x48]
movups xmm0, xmmword [str.get_dns_txt_records_was_called_with_DNS_disabled_for_host]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [0x1401b29f8]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [0x1401b2a08]
movups xmmword [rdx + 0x20], xmm0
movsd xmm1, qword [0x1401b2a18]
movsd qword [rdx + 0x30], xmm1
movzx eax, word [0x1401b2a20]
mov word [rdx + 0x38], ax
mov dword [rsp + 0x40], r8d
mov ecx, r8d
mov eax, dword [rsp + 0x54]
mov edx, dword [rsp + 0x50]
mov r9, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400b439a
mov r9, qword [rbx]
mov r8, qword [rbx + 0x10]
lea ebx, [r8 + rcx]
cmp ebx, edx
jle 0x1400b43af
add eax, r8d
mov dword [rsp + 0x54], eax
jmp 0x1400b43d0
movsxd r8, r8d
movsxd rcx, ecx
add rcx, qword [rsp + 0x48]
mov rdx, r9
call fcn.140145200
mov dword [rsp + 0x40], ebx
mov ecx, ebx
mov eax, dword [rsp + 0x54]
mov edx, dword [rsp + 0x50]
lea r8d, [rcx + 4]
cmp r8d, edx
jle 0x1400b43e2
add eax, 4
mov dword [rsp + 0x54], eax
jmp 0x1400b43f6
movsxd rcx, ecx
mov rax, qword [rsp + 0x48]
mov dword [rcx + rax], 0x6d305b1b
mov dword [rsp + 0x40], r8d
lea rcx, [rsp + 0x40]
call fcn.140026c70
jmp 0x1400b44ae
cmp qword [rcx + 0x18], 0x10
jb 0x1400b440f
mov rbx, qword [rcx]
mov edx, reloc.WS2_32.dll_recv
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.DNSAPI.dll_DnsQuery_A]
test eax, eax
je 0x1400b443e
xor al, al
jmp 0x1400b44b0
mov rdi, qword [rsp + 0x38]
test rdi, rdi
je 0x1400b4499
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov eax, dword [rdi + 0x20]
cmp rbx, rax
jae 0x1400b4494
mov rdx, qword [rdi + rbx*8 + 0x28]
test rdx, rdx
je 0x1400b448f
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x1400b4470
test r8, r8
je 0x1400b448f
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 8]
call qword [case.0x1400aefbc.0]
inc rbx
jmp 0x1400b444a
mov rdi, qword [rdi]
jmp 0x1400b4443
mov edx, 1
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.DNSAPI.dll_DnsFree]
nop
mov al, 1
jmp 0x1400b44b0
xor al, al
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.140140c60
lea r11, [rsp + 0x470]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret