Function at 0x1401a73ac
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 [0x140451b38]
xor rax, rsp
mov qword [rbp + 8], rax
mov r9, qword [rcx]
mov r11d, 1
mov r13, r8
mov qword [rsp + 0x38], rdx
mov r12, rdx
mov r15, rcx
mov r10d, dword [r9 + 4]
sub r10d, r11d
je 0x1401a7404
cmp r10d, r11d
je 0x1401a73ff
xor ebx, ebx
jmp 0x1401a7409
mov ebx, r11d
jmp 0x1401a7409
mov ebx, reloc.OLEAUT32.dll_SafeArrayGetDim
xor edi, edi
mov byte [rbp + 7], 0
test r13, r13
je 0x1401a76bd
mov eax, dword [r8]
mov dword [rsp + 0x30], eax
mov rax, qword [rdx]
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x1401a7434
mov dword [r8], ebx
jmp 0x1401a76f1
mov ecx, dword [rcx + 0x38]
test ecx, ecx
je 0x1401a76bd
xor edx, edx
mov eax, ecx
div ebx
test edx, edx
jne 0x1401a76bd
lea edx, [rbx + rbx]
cmp ecx, edx
ja 0x1401a76bd
lea rsi, [r15 + 0x40]
movzx ecx, byte [rsi + 0x17]
test ecx, ecx
je 0x1401a7470
cmp ecx, r11d
je 0x1401a746d
xor esi, esi
jmp 0x1401a7470
mov rsi, qword [rsi]
mov r14d, edx
cmp r14, 0x27
jbe 0x1401a74b6
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, r14d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r14, rax
mov qword [rbp - 0x20], rax
movzx eax, byte [rbp + 7]
test r14, r14
mov r11d, 1
cmovne eax, r11d
mov byte [rbp + 7], al
jne 0x1401a74ba
mov edi, 0x8007000e
mov ecx, edi
jmp 0x1401a76c4
lea r14, [rbp - 0x20]
mov edx, dword [r15 + 0x38]
xor r8d, r8d
mov dword [rsp + 0x24], r8d
test edx, edx
je 0x1401a7616
lea r12, [r15 + 0x10]
and dword [rsp + 0x50], 0
lea rax, [r8 + r14]
mov r9, qword [r15]
mov rdx, qword [0x14045d6d8]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x48], rax
test rax, rax
je 0x1401a74fa
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 0x1401a751d
cmp ecx, 1
je 0x1401a7517
xor eax, eax
jmp 0x1401a7520
mov rax, qword [r12]
jmp 0x1401a7520
mov rax, r12
and dword [rsp + 0x5c], 0
add rax, r8
mov qword [rsp + 0x54], rax
jne 0x1401a7533
xor eax, eax
jmp 0x1401a753a
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, [0x1400218dc]
movaps xmm1, xmmword [rsp + 0x70]
mov qword [rbp - 0x78], rax
lea rax, [rsp + 0x2c]
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 + 0x28]
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 + 0x2c]
test edi, edi
js 0x1401a7630
mov r8d, dword [rsp + 0x24]
xor edx, edx
lea r11d, [rdx + 1]
test ebx, ebx
je 0x1401a75da
mov al, byte [rsi]
lea ecx, [rdx + r8]
xor byte [rcx + r14], al
add edx, r11d
add rsi, r11
cmp edx, ebx
jb 0x1401a75c6
movzx ecx, byte [r12 + 0x27]
test ecx, ecx
je 0x1401a75f3
cmp ecx, 1
je 0x1401a75ed
xor eax, eax
jmp 0x1401a75f6
mov rax, qword [r12]
jmp 0x1401a75f6
mov rax, r12
mov edx, dword [r15 + 0x38]
mov esi, r8d
add r8d, ebx
add rsi, rax
mov dword [rsp + 0x24], r8d
cmp r8d, edx
jb 0x1401a74d2
mov r12, qword [rsp + 0x38]
lea eax, [rdx - 1]
movzx r9d, byte [rax + r14]
mov ecx, r9d
cmp r9d, ebx
jbe 0x1401a7642
mov ecx, 0xc004d211
jmp 0x1401a76c2
mov ecx, edi
call fcn.14007ac40
mov r11d, 1
jmp 0x1401a76c9
xor r8d, r8d
test r9b, r9b
je 0x1401a7660
mov eax, edx
sub eax, r8d
sub eax, r11d
cmp byte [rax + r14], r9b
jne 0x1401a7626
add r8d, r11d
cmp r8d, ecx
jb 0x1401a764a
sub edx, ecx
mov dword [r13], edx
mov eax, dword [r15 + 0x38]
sub eax, ecx
cmp dword [rsp + 0x30], eax
jae 0x1401a767c
mov edi, 0xc004d107
jmp 0x1401a74af
xor esi, esi
test edx, edx
je 0x1401a76c9
mov r15d, dword [r12 + 8]
mov r12, qword [rsp + 0x40]
mov bl, byte [rsi + r14]
lea edx, [r15 + rsi]
lea r8, [rsp + 0x20]
mov rcx, r12
call fcn.14018d9f4
mov rcx, rax
mov r11d, 1
mov al, byte [rsp + 0x20]
add esi, r11d
xor al, bl
mov byte [rcx], al
cmp esi, dword [r13]
jb 0x1401a768c
jmp 0x1401a76c9
mov ecx, 0x80070057
mov edi, ecx
call fcn.14007ac40
mov al, byte [rbp + 7]
test al, al
je 0x1401a76f1
cmp al, r11b
jne 0x1401a76ed
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.14007ace8
mov eax, edi
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.140388a40
mov rbx, qword [rsp + 0x150]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret