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

Disassembly:
mov qword [rsp + 0x18], rsi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x1402c0040]
xor rax, rsp
mov qword [rbp + 0x47], rax
lea rax, [0x140272fd8]
mov qword [0x1402cb8d0], rdx
mov qword [0x1402cb8d8], rax
call fcn.140149f80
xorps xmm0, xmm0
lea rdx, [rbp + 7]
xor r9d, r9d
mov r8d, 0x40
xor ecx, ecx
movups xmmword [rbp + 7], xmm0
movups xmmword [rbp + 0x17], xmm0
movups xmmword [rbp + 0x27], xmm0
movups xmmword [rbp + 0x37], xmm0
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
jns 0x140149cdb
mov ecx, 0x10000
mov dword [rbp + 0xf], 0x1000
mov dl, 1
mov dword [rbp + 0x1f], ecx
mov r8d, 0xffffffff
mov byte [rbp + 0x3f], dl
mov r10d, 0xffff
mov dword [rbp + 0x13], r8d
mov r9d, ecx
mov qword [rbp + 0x2f], rcx
mov qword [rbp + 0x37], r10
jmp 0x140149cee
movzx edx, byte [rbp + 0x3f]
mov r10, qword [rbp + 0x37]
mov r9, qword [rbp + 0x2f]
mov ecx, dword [rbp + 0x1f]
mov r8d, dword [rbp + 0x13]
movzx eax, word [rbp + 0xf]
xor esi, esi
cmp dword [0x1402c0f40], 0x3e
mov word [sym.SystemInformer.exe_PhSystemBasicInformation], ax
movsx eax, dl
mov word [0x1402cba1a], ax
mov dword [0x1402cba1c], r8d
mov dword [0x1402cba20], ecx
mov qword [0x1402cba28], r9
mov qword [0x1402cba30], r10
jb 0x140149d4f
mov qword [rsp + 0x28], rsi
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rsi
xor edx, edx
mov ecx, 0x1102
call qword [sym.imp.ntdll.dll_RtlCreateHeap]
mov qword [0x1402cba10], rax
jmp 0x140149d56
mov rax, qword [0x1402cba10]
test rax, rax
jne 0x140149daa
mov qword [rsp + 0x28], rsi
xor edx, edx
mov ecx, 0x1002
mov qword [rsp + 0x20], rsi
mov r9d, 0x100000
mov r8d, 0x200000
call qword [sym.imp.ntdll.dll_RtlCreateHeap]
mov qword [0x1402cba10], rax
test rax, rax
je 0x140149f35
mov r9d, 4
mov dword [rbp - 9], 2
lea r8, [rbp - 9]
xor edx, edx
mov rcx, rax
call qword [sym.imp.ntdll.dll_RtlSetHeapInformation]
xor r9d, r9d
lea rcx, [0x1402cf060]
xor r8d, r8d
mov edx, 0xf0003
call qword [sym.imp.ntdll.dll_NtCreateKeyedEvent]
test eax, eax
js 0x140149f35
cmp word [0x1402cba1a], 1
mov eax, esi
mov ecx, 0xfa0
cmova eax, ecx
mov dword [0x1402c71c0], eax
lea rax, [0x1402cb870]
test al, 0xf
jne 0x140149f29
lea rax, [0x1402cb880]
xorps xmm0, xmm0
movaps xmmword [0x1402cb870], xmm0
test al, 0xf
jne 0x140149f29
lea rax, [rbp + 7]
mov qword [rsp + 0xa0], rbx
mov qword [0x1402cb8a0], rax
lea rdx, [rbp + 7]
lea rax, [rbp + 7]
mov qword [rsp + 0xa8], rdi
mov ecx, 0x40
mov qword [0x1402cfc40], rax
movaps xmmword [0x1402cb880], xmm0
mov dword [0x1402cb890], esi
mov dword [0x1402cb894], 0x200
mov qword [0x1402cb898], 0x40
movaps xmmword [rbp + 7], xmm0
movaps xmmword [rbp + 0x17], xmm0
movaps xmmword [rbp + 0x27], xmm0
movaps xmmword [rbp + 0x37], xmm0
call sym.SystemInformer.exe_PhCreateObject
mov ebx, 1
mov edx, ebx
mov word [rax], si
lock xadd dword [0x1402cb54c], edx
movzx r8d, dl
lea rdi, [0x1402cfc40]
mov byte [rax + 2], r8b
lea rdx, str.Type
mov qword [rax + 0x10], rdx
mov ecx, 0x40
mov qword [rax + 8], rsi
mov rdx, rax
mov qword [rdi + r8*8], rax
mov qword [0x1402cb8a0], rax
mov word [rax - 0x10], r8w
mov dword [rax + 4], ebx
call sym.SystemInformer.exe_PhCreateObject
mov word [rax], si
lock xadd dword [0x1402cb54c], ebx
movzx ebx, bl
lea rdx, str.Alloc
mov byte [rax + 2], bl
mov dword [rax + 4], esi
mov qword [rax + 8], rsi
mov qword [rdi + rbx*8], rax
mov qword [rax + 0x10], rdx
mov qword [0x1402cb868], rax
call fcn.1401499e0
mov rdi, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
mov dword [0x1402cea48], eax
cmp eax, 0xffffffff
je 0x140149f35
call fcn.140142820
test al, al
je 0x140149f35
nop dword [rax]
call fcn.14014a3e0
xor eax, eax
jmp 0x140149f3a
mov ecx, 0x80000002
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
mov eax, 0xc0000001
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1401e5e20
mov rsi, qword [rsp + 0xb0]
add rsp, 0x90
pop rbp
ret