Function at 0x1400097a0
Capabilities:
Reference cloudflare dns server

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
lea rbp, [rax - 0x298]
sub rsp, 0x380
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1401c7ef8]
xor rax, rsp
mov qword [rbp + 0x270], rax
mov rdi, rcx
mov qword [rsp + 0x68], rcx
mov qword [rbp + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
xor esi, esi
mov qword [rbp + 0x10], rsi
mov byte [rbp], sil
mov qword [rbp + 0x40], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rbp + 0x38], rsi
mov byte [rbp + 0x28], sil
mov byte [rbp + 0x50], sil
mov qword [rbp + 0x70], 7
mov qword [rbp + 0x68], rsi
mov word [rbp + 0x58], si
mov qword [rbp + 0x98], 7
mov qword [rbp + 0x90], rsi
mov word [rbp + 0x80], si
mov dword [rbp + 0xa8], esi
mov byte [rbp + 0xac], sil
mov qword [rbp + 0xb0], rsi
mov qword [rbp + 0xb8], rsi
mov dword [rbp + 0xc0], 1
or r12, 0xffffffffffffffff
mov dword [rbp + 0xc4], r12d
mov byte [rbp + 0xc8], 1
mov dword [rbp + 0xd0], r12d
mov dword [rbp + 0xd4], r12d
mov dword [rbp + 0xd8], 2
mov word [rbp + 0xdc], si
mov byte [rbp + 0xde], sil
mov qword [rbp + 0xe0], rsi
mov qword [rbp + 0xe8], rsi
mov qword [rsp + 0x38], rsi
xor r9d, r9d
lea r8, [rsp + 0x38]
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.140009430
nop
xor ecx, ecx
call qword [sym.imp.MSVCR100.dll__time64]
sub rax, 0x15180
mov qword [rsp + 0x40], rax
xor ecx, ecx
call qword [sym.imp.MSVCR100.dll__time64]
add rax, 0x15180
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x54], 1
mov byte [rsp + 0x58], 1
mov dword [rsp + 0x50], r12d
mov dword [rsp + 0x2c], r12d
mov dword [rsp + 0x28], 0x15180
mov word [rsp + 0x20], si
mov qword [rbp - 0x78], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rbp - 0x80], rsi
mov byte [rsp + 0x70], sil
lea r8d, [rsi + 0x24]
lea rdx, str.ACD01A75_085F_412B_A5F2_CEBB36B4984E
lea rcx, [rsp + 0x70]
call fcn.1400082f0
nop
mov rbx, qword [rbp - 0x80]
cmp rbx, r12
cmova rbx, r12
cmp rbx, 0xfffffffffffffffe
jbe 0x140009942
lea rcx, str.string_too_long
call qword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov r8, qword [rbp + 0x18]
cmp r8, rbx
jae 0x14000995d
mov r8, qword [rbp + 0x10]
mov rdx, rbx
lea rcx, [rbp]
call fcn.140003b70
jmp 0x140009975
test rbx, rbx
jne 0x14000997c
mov qword [rbp + 0x10], rsi
lea rax, [rbp]
cmp r8, 0x10
cmovae rax, qword [rbp]
mov byte [rax], bl
mov r8, qword [rbp + 0x18]
test rbx, rbx
setne al
test al, al
je 0x1400099be
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rdx, qword [rsp + 0x70]
lea rcx, [rbp]
cmp r8, 0x10
cmovae rcx, qword [rbp]
mov r8, rbx
call sub.MSVCR100.dll_memcpy
mov qword [rbp + 0x10], rbx
lea rax, [rbp]
cmp qword [rbp + 0x18], 0x10
cmovae rax, qword [rbp]
mov byte [rax + rbx], 0
cmp qword [rbp - 0x78], 0x10
jb 0x1400099cf
mov rcx, qword [rsp + 0x70]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp - 0x78], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rbp - 0x80], rsi
mov byte [rsp + 0x70], 0
mov r8d, 7
lea rdx, str.1.1.1.1
lea rcx, [rsp + 0x70]
call fcn.1400082f0
nop
mov r9, r12
xor r8d, r8d
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x28]
call fcn.140006a40
nop
cmp qword [rbp - 0x78], 0x10
jb 0x140009a1e
mov rcx, qword [rsp + 0x70]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov byte [rbp + 0x50], 0
mov r9, r12
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp + 0x58]
call fcn.1400065e0
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], rsi
mov word [rsp + 0x70], si
mov r9, r12
xor r8d, r8d
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x80]
call fcn.1400065e0
nop
cmp qword [rbp - 0x78], 8
jb 0x140009a6e
mov rcx, qword [rsp + 0x70]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov dword [rbp + 0xa8], esi
mov byte [rbp + 0xac], 0
movups xmm0, xmmword [rsp + 0x40]
movaps xmmword [rbp + 0xb0], xmm0
movups xmm1, xmmword [rsp + 0x50]
movaps xmmword [rbp + 0xc0], xmm1
mov rax, qword [rsp + 0x28]
mov qword [rbp + 0xd0], rax
mov dword [rbp + 0xd8], 2
movzx eax, word [rsp + 0x20]
mov word [rbp + 0xdc], ax
mov byte [rbp + 0xde], 0
mov qword [rbp - 0x78], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rbp - 0x80], rsi
mov byte [rsp + 0x70], 0
mov r8d, 0x24
lea rdx, str.E9223E07_21AD_4BCF_9CBF_8E0E9062C44C
lea rcx, [rsp + 0x70]
call fcn.1400082f0
nop
mov rbx, qword [rbp - 0x80]
cmp rbx, 0xffffffffffffffff
cmova rbx, r12
cmp rbx, 0xfffffffffffffffe
jbe 0x140009b05
lea rcx, str.string_too_long
call qword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov r8, qword [rbp - 0x48]
cmp r8, rbx
jae 0x140009b20
mov r8, qword [rbp - 0x50]
mov rdx, rbx
lea rcx, [rbp - 0x60]
call fcn.140003b70
jmp 0x140009b38
test rbx, rbx
jne 0x140009b3f
mov qword [rbp - 0x50], rsi
lea rax, [rbp - 0x60]
cmp r8, 0x10
cmovae rax, qword [rbp - 0x60]
mov byte [rax], bl
mov r8, qword [rbp - 0x48]
test rbx, rbx
setne al
test al, al
je 0x140009b81
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rdx, qword [rsp + 0x70]
lea rcx, [rbp - 0x60]
cmp r8, 0x10
cmovae rcx, qword [rbp - 0x60]
mov r8, rbx
call sub.MSVCR100.dll_memcpy
mov qword [rbp - 0x50], rbx
lea rax, [rbp - 0x60]
cmp qword [rbp - 0x48], 0x10
cmovae rax, qword [rbp - 0x60]
mov byte [rbx + rax], 0
cmp qword [rbp - 0x78], 0x10
jb 0x140009b92
mov rcx, qword [rsp + 0x70]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
lea r8, [rbp - 0x60]
lea rdx, [rbp]
lea rcx, [rbp + 0xf0]
call fcn.140045ab0
nop
lea rcx, [rbp + 0xf0]
call fcn.140045620
nop
lea rcx, [rbp + 0xf0]
call fcn.140044210
nop
cmp qword [rbp - 0x18], 0x10
jb 0x140009bd1
mov rcx, qword [rbp - 0x30]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp - 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rbp - 0x20], rsi
mov byte [rbp - 0x30], 0
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x140009bf1
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
cmp qword [rbp - 0x48], 0x10
jb 0x140009c01
mov rcx, qword [rbp - 0x60]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp - 0x48], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rbp - 0x50], rsi
mov byte [rbp - 0x60], 0
lea rcx, [rbp]
call fcn.140006170
nop
cmp qword [rdi + 0x18], 8
jb 0x140009c2a
mov rcx, qword [rdi]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], rsi
mov word [rdi], si
mov rcx, qword [rbp + 0x270]
xor rcx, rsp
call fcn.1400d6f80
lea r11, [rsp + 0x380]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret