Function at 0x1401a73bc
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 0x1401a7414
cmp r10d, r11d
je 0x1401a740f
xor ebx, ebx
jmp 0x1401a7419
mov ebx, r11d
jmp 0x1401a7419
mov ebx, reloc.OLEAUT32.dll_SafeArrayGetDim
xor edi, edi
mov byte [rbp + 7], 0
test r13, r13
je 0x1401a76cd
mov eax, dword [r8]
mov dword [rsp + 0x30], eax
mov rax, qword [rdx]
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x1401a7444
mov dword [r8], ebx
jmp 0x1401a7701
mov ecx, dword [rcx + 0x38]
test ecx, ecx
je 0x1401a76cd
xor edx, edx
mov eax, ecx
div ebx
test edx, edx
jne 0x1401a76cd
lea edx, [rbx + rbx]
cmp ecx, edx
ja 0x1401a76cd
lea rsi, [r15 + 0x40]
movzx ecx, byte [rsi + 0x17]
test ecx, ecx
je 0x1401a7480
cmp ecx, r11d
je 0x1401a747d
xor esi, esi
jmp 0x1401a7480
mov rsi, qword [rsi]
mov r14d, edx
cmp r14, 0x27
jbe 0x1401a74c6
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 0x1401a74ca
mov edi, 0x8007000e
mov ecx, edi
jmp 0x1401a76d4
lea r14, [rbp - 0x20]
mov edx, dword [r15 + 0x38]
xor r8d, r8d
mov dword [rsp + 0x24], r8d
test edx, edx
je 0x1401a7626
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 0x1401a750a
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 0x1401a752d
cmp ecx, 1
je 0x1401a7527
xor eax, eax
jmp 0x1401a7530
mov rax, qword [r12]
jmp 0x1401a7530
mov rax, r12
and dword [rsp + 0x5c], 0
add rax, r8
mov qword [rsp + 0x54], rax
jne 0x1401a7543
xor eax, eax
jmp 0x1401a754a
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, [0x14003e65c]
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 0x1401a7640
mov r8d, dword [rsp + 0x24]
xor edx, edx
lea r11d, [rdx + 1]
test ebx, ebx
je 0x1401a75ea
mov al, byte [rsi]
lea ecx, [rdx + r8]
xor byte [rcx + r14], al
add edx, r11d
add rsi, r11
cmp edx, ebx
jb 0x1401a75d6
movzx ecx, byte [r12 + 0x27]
test ecx, ecx
je 0x1401a7603
cmp ecx, 1
je 0x1401a75fd
xor eax, eax
jmp 0x1401a7606
mov rax, qword [r12]
jmp 0x1401a7606
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 0x1401a74e2
mov r12, qword [rsp + 0x38]
lea eax, [rdx - 1]
movzx r9d, byte [rax + r14]
mov ecx, r9d
cmp r9d, ebx
jbe 0x1401a7652
mov ecx, 0xc004d211
jmp 0x1401a76d2
mov ecx, edi
call fcn.14007ac40
mov r11d, 1
jmp 0x1401a76d9
xor r8d, r8d
test r9b, r9b
je 0x1401a7670
mov eax, edx
sub eax, r8d
sub eax, r11d
cmp byte [rax + r14], r9b
jne 0x1401a7636
add r8d, r11d
cmp r8d, ecx
jb 0x1401a765a
sub edx, ecx
mov dword [r13], edx
mov eax, dword [r15 + 0x38]
sub eax, ecx
cmp dword [rsp + 0x30], eax
jae 0x1401a768c
mov edi, 0xc004d107
jmp 0x1401a74bf
xor esi, esi
test edx, edx
je 0x1401a76d9
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.14018da04
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 0x1401a769c
jmp 0x1401a76d9
mov ecx, 0x80070057
mov edi, ecx
call fcn.14007ac40
mov al, byte [rbp + 7]
test al, al
je 0x1401a7701
cmp al, r11b
jne 0x1401a76fd
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.140388a50
mov rbx, qword [rsp + 0x150]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret