Function at 0x14006d860
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push rbp
push rbx
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [0x140155040]
xor rax, rsp
mov qword [rbp + 0x37], rax
lea rax, [0x14013b870]
mov qword [0x140159210], rdx
mov qword [0x140159240], rax
call fcn.14006dcc0
xorps xmm0, xmm0
mov dword [0x140159218], 0x11000
xor r9d, r9d
mov dword [0x14015921c], 0xffffffff
mov r8d, 0x40
mov dword [0x140159220], 0x10000
lea rdx, [rbp - 9]
mov qword [0x140159228], 0x10000
xor ecx, ecx
mov qword [0x140159230], 0xffff
movups xmmword [rbp - 9], xmm0
mov r15d, 1
movups xmmword [rbp + 7], xmm0
movups xmmword [rbp + 0x17], xmm0
movups xmmword [rbp + 0x27], xmm0
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
movzx eax, word [rbp - 1]
xor ebx, ebx
cmp dword [0x140155b08], 0x3e
mov word [0x140159218], ax
movsx eax, byte [rbp + 0x2f]
mov word [0x14015921a], ax
mov eax, dword [rbp + 3]
mov dword [0x14015921c], eax
mov eax, dword [rbp + 0xf]
mov dword [0x140159220], eax
mov rax, qword [rbp + 0x1f]
mov qword [0x140159228], rax
mov rax, qword [rbp + 0x27]
mov qword [0x140159230], rax
jb 0x14006d96f
mov qword ss:[rsp + 0x28], rbx
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rbx
xor edx, edx
mov ecx, 0x1102
call qword [sym.imp.ntdll.dll_RtlCreateHeap]
mov qword [0x140159238], rax
jmp 0x14006d976
mov rax, qword [0x140159238]
mov qword ss:[rsp + 0xb8], rdi
test rax, rax
jne 0x14006d9d4
mov qword [rsp + 0x28], rbx
xor edx, edx
mov ecx, 0x1002
mov qword [rsp + 0x20], rbx
mov r9d, 0x100000
mov r8d, 0x200000
call qword [sym.imp.ntdll.dll_RtlCreateHeap]
mov qword [0x140159238], rax
test rax, rax
je 0x14006dc98
mov r9d, 4
mov dword [rbp - 0x19], 2
lea r8, [rbp - 0x19]
xor edx, edx
mov rcx, rax
call qword [sym.imp.ntdll.dll_RtlSetHeapInformation]
xor r9d, r9d
lea rcx, [0x140159ac0]
xor r8d, r8d
mov edx, 0xf0003
call qword [sym.imp.ntdll.dll_NtCreateKeyedEvent]
test eax, eax
js 0x14006dc98
cmp word [0x14015921a], r15w
mov eax, ebx
mov ecx, 0xfa0
cmova eax, ecx
mov dword [0x140157038], eax
lea rax, [0x140159130]
test al, 0xf
jne 0x14006dc8c
lea rax, [0x140159150]
xorps xmm0, xmm0
movaps xmmword [0x140159130], xmm0
test al, 0xf
jne 0x14006dc8c
lea rax, [rbp - 9]
movaps xmmword [0x140159150], xmm0
mov qword [0x140159140], rax
lea rdx, [rbp - 9]
lea rax, [rbp - 9]
mov dword [0x140159160], ebx
mov ecx, 0x40
mov qword [0x140159cc0], rax
mov dword [0x140159164], 0x200
mov qword [0x140159168], 0x40
movaps xmmword [rbp - 9], xmm0
movaps xmmword [rbp + 7], xmm0
movaps xmmword [rbp + 0x17], xmm0
movaps xmmword [rbp + 0x27], xmm0
call fcn.1400601a0
mov edx, r15d
mov word [rax], bx
lock xadd dword [0x1401590e4], edx
movzx r8d, dl
lea rdi, [0x140159cc0]
mov byte [rax + 2], r8b
lea rdx, [0x14010fe48]
mov qword [rax + 0x10], rdx
mov ecx, 0x40
mov qword [rax + 8], rbx
mov rdx, rax
mov qword [rdi + r8*8], rax
mov qword [0x140159140], rax
mov word [rax - 0x10], r8w
mov dword [rax + 4], r15d
call fcn.1400601a0
mov ecx, r15d
mov word [rax], bx
lock xadd dword [0x1401590e4], ecx
movzx edx, cl
lea rcx, [0x14013ea30]
mov byte [rax + 2], dl
mov dword [rax + 4], ebx
mov qword [rax + 8], rbx
mov qword [rdi + rdx*8], rax
mov qword [rax + 0x10], rcx
call fcn.140063580
mov dword [0x14015967c], eax
cmp eax, 0xffffffff
je 0x14006dc98
call fcn.140060840
nop word [rax + rax]
test al, al
je 0x14006dc98
mov al, byte [0x7ffe03c4]
cmp al, r15b
jne 0x14006db69
mov eax, dword ds:[0x7ffe03c0]
dec eax
cmp eax, 0x3f
ja 0x14006db69
movzx eax, word [0x14015921a]
mov word [0x14015924a], ax
xor eax, eax
mov byte [0x140159248], r15b
mov word [0x14015924c], r15w
jmp 0x14006dc9d
mov qword [rsp + 0xb0], rsi
lea r8, [rbp - 0x19]
lea rdx, [rbp - 0x11]
mov qword [rsp + 0xc0], r14
movzx edi, bx
call fcn.140077980
test eax, eax
js 0x14006dc5b
mov r9, qword ds:[rbp - 0x11]
movzx r14d, word [r9 + 0xa]
mov esi, r14d
cmp bx, r14w
jae 0x14006dc49
lea rcx, [r9 + 0x21]
mov r8d, r14d
movzx eax, byte ds:[rcx]
lea rcx, [rcx + 0x30]
add di, ax
sub r8, r15
jne 0x14006dbb1
cmp r14d, r15d
jbe 0x14006dc49
lfence
mov rcx, qword [0x140159238]
lea r8, [r14 + r14]
mov edx, 4
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8, qword [rbp - 0x11]
mov qword [0x140159250], rax
lea rdx, [r8 + 0x21]
nop word [rax + rax]
movzx ecx, byte [rdx]
lea rdx, [rdx + 0x30]
mov word [rbx + rax], cx
lea rbx, [rbx + 2]
sub rsi, r15
je 0x14006dc1d
mov rax, qword [0x140159250]
jmp 0x14006dc00
mov rcx, qword [0x140159238]
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
test di, di
je 0x14006dc5b
mov byte [0x140159248], 0
mov word [0x14015924a], di
mov word [0x14015924c], r14w
jmp 0x14006dc78
mov rcx, qword [0x140159238]
mov r8, r9
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
movzx eax, word [0x14015921a]
mov word [0x14015924a], ax
mov byte [0x140159248], r15b
mov word [0x14015924c], r15w
mov rsi, qword [rsp + 0xb0]
xor eax, eax
mov r14, qword [rsp + 0xc0]
jmp 0x14006dc9d
mov ecx, 0x80000002
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
mov eax, 0xc0000001
mov rdi, qword [rsp + 0xb8]
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1400c6a20
add rsp, 0x90
pop r15
pop rbx
pop rbp
ret