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

Disassembly:
mov r11, rsp
push rbp
push rsi
sub rsp, 0x68
mov rax, qword [rcx + 0xd8]
lea rbp, [rcx + 0xf0]
mov qword [r11 - 0x38], rax
mov qword [r11 + 0x20], rdi
mov rdi, rcx
mov qword [r11 - 0x40], rcx
lock bts qword [rbp], 0
mov qword [r11 - 0x18], r12
setb al
test al, al
je 0x1400c1de0
mov rcx, rbp
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhfAcquireQueuedLockExclusive
mov rcx, qword [rdi + 0xd8]
mov r12, qword [rdi + 0x100]
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x58], r14
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhLoadSymbolProviderOptions
mov rcx, qword [rdi + 0xc0]
mov rsi, 0xffffffffffffffff
test rcx, rcx
je 0x1400c1f11
mov rax, qword [rdi + 0xd8]
cmp byte [rax + 0x20], 0
jne 0x1400c1e55
cmp rcx, 4
je 0x1400c1e55
mov rax, qword gs:[0x30]
lea r9, [0x1400c1cf0]
mov rdx, rsi
mov rcx, qword [rax + 0x40]
mov qword [rsp + 0x30], rcx
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x40]
jmp 0x1400c1e65
mov qword [rsp + 0x30], rcx
lea r9, [0x1400c1c90]
mov rdx, qword [rax + 0x18]
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhEnumGenericModules
cmp qword [rdi + 0xc0], 4
je 0x1400c2038
mov r9d, 0x20
mov qword [rsp + 0x30], 4
lea r8, [0x1400df390]
mov ecx, 8
lea rdx, [0x1400df380]
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhCreateHashtable
lea rcx, [rsp + 0x80]
mov r14, rax
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhEnumKernelModules
test eax, eax
js 0x1400c1ef3
mov rcx, qword [rsp + 0x80]
lea r8, [rsp + 0x30]
mov r9, r14
lea rdx, [0x1400c1c90]
call fcn.1400eaca0
mov r8, qword [rsp + 0x80]
xor edx, edx
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
lea rcx, [r14 - 0x10]
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400c2038
call fcn.1400d9400
jmp 0x1400c2038
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
mov edx, 4
mov r8d, 0x800
mov dword [rsp + 0x80], 0x800
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8d, dword [rsp + 0x80]
lea r9, [rsp + 0x80]
mov rdx, rax
mov ecx, 0xb
mov r14, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x1400c1fa9
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
mov r8, r14
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r8d, dword [rsp + 0x80]
mov edx, 4
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8d, dword [rsp + 0x80]
lea r9, [rsp + 0x80]
mov rdx, rax
mov ecx, 0xb
mov r14, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
js 0x1400c2038
cmp dword [r14], 0
jbe 0x1400c2026
mov qword [rsp + 0x50], r15
lea rcx, [r14 + 0x30]
mov rdx, rsi
inc rdx
cmp byte [rcx + rdx], 0
jne 0x1400c1fc3
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhConvertMultiByteToUtf16Ex
mov rcx, rax
mov rbx, rax
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhGetFileName
mov r15, rax
lea rcx, [rbx - 0x10]
mov edx, esi
lock xadd dword [rcx + 8], edx
cmp edx, 1
jne 0x1400c1ff4
call fcn.1400d9400
mov r9d, dword [r14 + 0x20]
mov r8, qword [r14 + 0x18]
mov rdx, qword [r15 + 8]
mov rcx, qword [rdi + 0xd8]
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhLoadModuleSymbolProvider
lea rcx, [r15 - 0x10]
mov eax, esi
lock xadd dword [rcx + 8], eax
mov r15, qword [rsp + 0x50]
cmp eax, 1
jne 0x1400c2026
call fcn.1400d9400
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
mov r8, r14
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov qword [rdi + 0x108], r12
lock xadd qword [rbp], rsi
mov r14, qword [rsp + 0x58]
movzx eax, sil
mov r12, qword [rsp + 0x60]
and al, 6
mov rdi, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x90]
cmp al, 2
jne 0x1400c2081
lea rax, [rsi - 1]
lea rdx, [rax + 4]
lock cmpxchg qword [rbp], rdx
jne 0x1400c2081
mov rcx, rbp
call fcn.1400ee3a0
add rsp, 0x68
pop rsi
pop rbp
ret