Function at 0x1401a8a7c
Capabilities:
Encode data using xor
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x140448b38]
xor rax, rsp
mov qword [rbp + 8], rax
mov r9, qword [rcx]
mov r11d, 1
mov r12, r8
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x38], rdx
mov rsi, rcx
mov r10d, dword [r9 + 4]
sub r10d, r11d
je 0x1401a8ad6
cmp r10d, r11d
je 0x1401a8ad1
xor ebx, ebx
jmp 0x1401a8adb
mov ebx, r11d
jmp 0x1401a8adb
mov ebx, reloc.OLEAUT32.dll_SafeArrayGetDim
xor edi, edi
mov byte [rbp + 7], 0
test r8, r8
je 0x1401a8d8a
mov eax, dword [r8]
mov dword [rsp + 0x2c], eax
mov rax, qword [rdx]
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x1401a8b06
mov dword [r8], ebx
jmp 0x1401a8dbe
mov ecx, dword [rcx + 0x38]
test ecx, ecx
je 0x1401a8d8a
xor edx, edx
mov eax, ecx
div ebx
test edx, edx
jne 0x1401a8d8a
lea edx, [rbx + rbx]
cmp ecx, edx
ja 0x1401a8d8a
lea r14, [rsi + 0x40]
movzx ecx, byte [r14 + 0x17]
test ecx, ecx
je 0x1401a8b44
cmp ecx, r11d
je 0x1401a8b41
xor r14d, r14d
jmp 0x1401a8b44
mov r14, qword [r14]
mov r15d, edx
cmp r15, 0x27
jbe 0x1401a8b8a
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, r15d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r15, rax
mov qword [rbp - 0x20], rax
movzx eax, byte [rbp + 7]
test r15, r15
mov r11d, 1
cmovne eax, r11d
mov byte [rbp + 7], al
jne 0x1401a8b8e
mov edi, 0x8007000e
mov ecx, edi
jmp 0x1401a8d91
lea r15, [rbp - 0x20]
mov edx, dword [rsi + 0x38]
xor r13d, r13d
test edx, edx
je 0x1401a8cdd
lea r12, [rsi + 0x10]
and dword [rsp + 0x50], 0
lea rax, [r15 + r13]
mov r9, qword [rsi]
mov rdx, qword [0x1404524a8]
mov dword [rsp + 0x24], ebx
mov r8d, r13d
mov qword [rsp + 0x48], rax
test rax, rax
je 0x1401a8bcb
mov eax, dword [rdx]
lea rax, [rsp + rax + 0x48]
and dword [rsp + 0x68], 0
movzx ecx, byte [r12 + 0x27]
mov qword [rsp + 0x60], rax
test ecx, ecx
je 0x1401a8bee
cmp ecx, 1
je 0x1401a8be8
xor eax, eax
jmp 0x1401a8bf1
mov rax, qword [r12]
jmp 0x1401a8bf1
mov rax, r12
and dword [rsp + 0x5c], 0
add rax, r8
mov qword [rsp + 0x54], rax
jne 0x1401a8c04
xor eax, eax
jmp 0x1401a8c0b
mov eax, dword [rdx]
lea rax, [rsp + rax + 0x54]
movaps xmm0, xmmword [rsp + 0x60]
lea rdx, [rbp - 0x80]
and dword [rsp + 0x78], 0
mov qword [rsp + 0x70], rax
lea rax, [0x140054e1c]
movaps xmm1, xmmword [rsp + 0x70]
mov qword [rbp - 0x78], rax
lea rax, [rsp + 0x28]
mov qword [rbp - 0x70], rax
lea rax, [rbp - 0x40]
mov qword [rbp - 0x5c], rax
lea rax, [rbp - 0x30]
mov qword [rbp - 0x68], r9
xor r9d, r9d
mov qword [rbp - 0x50], rax
lea rax, [rsp + 0x24]
mov qword [rbp - 0x48], rax
movdqa xmmword [rbp - 0x30], xmm0
lea r8d, [r9 + 0x40]
movdqa xmmword [rbp - 0x40], xmm1
lea ecx, [r8 + 0x79]
mov qword [rbp - 0x80], 3
mov dword [rbp - 0x60], 0x40
mov dword [rbp - 0x54], ebx
call sub.ntdll.dll_NtQuerySystemInformation
mov edi, dword [rsp + 0x28]
test edi, edi
js 0x1401a8cf7
xor edx, edx
lea r11d, [rdx + 1]
test ebx, ebx
je 0x1401a8ca7
mov al, byte [r14]
lea ecx, [rdx + r13]
xor byte [rcx + r15], al
add edx, r11d
add r14, r11
cmp edx, ebx
jb 0x1401a8c92
movzx ecx, byte [r12 + 0x27]
test ecx, ecx
je 0x1401a8cc0
cmp ecx, 1
je 0x1401a8cba
xor eax, eax
jmp 0x1401a8cc3
mov rax, qword [r12]
jmp 0x1401a8cc3
mov rax, r12
mov edx, dword [rsi + 0x38]
mov r14d, r13d
add r13d, ebx
add r14, rax
cmp r13d, edx
jb 0x1401a8ba0
mov r12, qword [rsp + 0x30]
lea eax, [rdx - 1]
movzx r9d, byte [rax + r15]
mov ecx, r9d
cmp r9d, ebx
jbe 0x1401a8d09
mov ecx, 0xc004d211
jmp 0x1401a8d8f
mov ecx, edi
call fcn.140082a8c
mov r11d, 1
jmp 0x1401a8d96
xor r8d, r8d
test r9b, r9b
je 0x1401a8d2a
mov eax, edx
sub eax, r8d
sub eax, r11d
cmp byte [rax + r15], r9b
jne 0x1401a8ced
add r8d, r11d
cmp r8d, ecx
jb 0x1401a8d11
mov edx, dword [rsi + 0x38]
sub edx, ecx
mov dword [r12], edx
mov eax, dword [rsi + 0x38]
sub eax, ecx
cmp dword [rsp + 0x2c], eax
jae 0x1401a8d45
mov edi, 0xc004d107
jmp 0x1401a8b83
xor esi, esi
test edx, edx
je 0x1401a8d96
mov rax, qword [rsp + 0x38]
mov r13, qword [rsp + 0x40]
mov r14d, dword [rax + 8]
mov bl, byte [rsi + r15]
lea edx, [r14 + rsi]
lea r8, [rsp + 0x20]
mov rcx, r13
call fcn.14018f20c
mov rcx, rax
mov r11d, 1
mov al, byte [rsp + 0x20]
add esi, r11d
xor al, bl
mov byte [rcx], al
cmp esi, dword [r12]
jb 0x1401a8d59
jmp 0x1401a8d96
mov ecx, 0x80070057
mov edi, ecx
call fcn.140082a8c
mov al, byte [rbp + 7]
test al, al
je 0x1401a8dbe
cmp al, r11b
jne 0x1401a8dba
mov rbx, qword [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov byte [rbp + 7], 0
mov ecx, edi
call fcn.140082b34
mov eax, edi
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.140389660
mov rbx, qword [rsp + 0x150]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret