Function at 0x14001af90
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push r14
sub rsp, 0x60
mov rax, qword [0x1400a2078]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov eax, dword [rcx + 0x1c]
xor ebp, ebp
mov dword [0x1400aa978], ebp
mov r14, rcx
mov dword [0x1400aa97c], eax
mov rbx, rdx
mov dword [0x1400aa980], 1
mov rcx, qword [rcx + 8]
mov rsi, rcx
test rcx, rcx
jne 0x14001afe6
mov dword [0x1400aa978], 4
mov rcx, qword [r14]
lea r9, [rsp + 0x20]
mov qword [rsp + 0x90], rdi
lea r8, [0x1400aa978]
mov qword [rsp + 0x20], rbp
xor edx, edx
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x14001b1f1
mov rdi, qword [rsp + 0x20]
test rdi, rdi
je 0x14001b1f1
mov eax, dword [rdi + 4]
mov rcx, rbx
mov dword [r14 + 0x1c], eax
mov r8, qword [rdi + 0x10]
mov qword [r14 + 0x10], r8
mov rdx, qword [rdi + 0x20]
call fcn.140044760
test rsi, rsi
je 0x14001b159
cmp dword [rdi + 4], 2
lea rbx, [rsp + 0x28]
mov rax, qword [rdi + 0x20]
jne 0x14001b0c4
movzx r9d, byte [rax + 4]
lea rdi, [rax + 4]
lea r8, [0x1400927e4]
mov edx, 0x28
lea rcx, [rsp + 0x28]
lea rsi, [rdi + 4]
call fcn.140027a40
movsxd rcx, eax
lea rbx, [rsp + 0x28]
add rbx, rcx
inc rdi
cmp rdi, rsi
jae 0x14001b144
nop word [rax + rax]
mov byte [rbx], 0x2e
lea rdx, [rsp + 0x50]
movzx r9d, byte [rdi]
lea r8, [0x1400927e4]
inc rbx
sub rdx, rbx
mov rcx, rbx
call fcn.140027a40
movsxd rcx, eax
inc rdi
add rbx, rcx
cmp rdi, rsi
jb 0x14001b090
jmp 0x14001b144
lea r10, [rax + 8]
mov r9d, ebp
lea r8, [r10 + 0x10]
mov rax, r10
cmp byte [rax], 0
jne 0x14001b10a
cmp byte [rax + 1], 0
jne 0x14001b10a
mov rdx, rax
add rax, 2
cmp rax, r8
jae 0x14001b0f4
cmp byte [rax], 0
jne 0x14001b0f4
cmp byte [rax + 1], 0
je 0x14001b0e0
mov ecx, eax
sub ecx, edx
cmp ecx, 2
jle 0x14001b10e
cmp r9d, ecx
jge 0x14001b10e
mov rbp, rdx
mov r9d, ecx
jmp 0x14001b10e
add rax, 2
cmp rax, r8
jb 0x14001b0d2
mov rdx, r10
lea r11, str.0123456789ABCDEF
nop dword [rax]
cmp rdx, rbp
jne 0x14001b169
cmp rdx, r10
jne 0x14001b130
mov byte [rbx], 0x3a
inc rbx
movsxd rax, r9d
mov byte [rbx], 0x3a
add rdx, rax
inc rbx
cmp rdx, r8
jb 0x14001b120
mov byte [rbx], 0
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.14001ad40
mov rdi, qword [rsp + 0x20]
mov qword [r14], rax
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
xor eax, eax
jmp 0x14001b208
movzx ecx, byte [rdx]
test ecx, ecx
je 0x14001b1b3
mov eax, ecx
shr eax, 4
test eax, eax
je 0x14001b183
movzx eax, byte [rax + r11]
mov byte [rbx], al
inc rbx
mov eax, ecx
and eax, 0xf
movzx eax, byte [rax + r11]
mov byte [rbx], al
movzx ecx, byte [rdx + 1]
add rdx, 2
mov eax, ecx
shr rax, 4
movzx eax, byte [rax + r11]
mov byte [rbx + 1], al
add rbx, 2
and ecx, 0xf
movzx eax, byte [rcx + r11]
jmp 0x14001b1d8
movzx ecx, byte [rdx + 1]
add rdx, 2
mov eax, ecx
shr eax, 4
test eax, eax
je 0x14001b1ce
movzx eax, byte [rax + r11]
mov byte [rbx], al
inc rbx
mov eax, ecx
and eax, 0xf
movzx eax, byte [rax + r11]
mov byte [rbx], al
inc rbx
cmp rdx, r8
jae 0x14001b141
mov byte [rbx], 0x3a
inc rbx
jmp 0x14001b120
lea rcx, str.0.0.0.0
mov dword [r14 + 0x1c], 2
mov qword [r14], rcx
mov eax, 1
mov rdi, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140042470
mov rbx, qword [rsp + 0x98]
add rsp, 0x60
pop r14
pop rsi
pop rbp
ret