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

Disassembly:
push rbp
mov rbp, rsp
push rdi
sub rsp, 0x208
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov dword [rbp + 0x20], r8d
mov dword [rbp - 0x64], 0
mov qword [rbp - 0x70], 0
mov dword [rbp - 0x74], 0
mov dword [rbp - 0x78], 0
mov dword [rbp - 0x7c], 0
mov dword [rbp - 0x80], 0
mov dword [rbp - 0x84], 0
lea rax, [rbp - 0x170]
mov qword [rax], 0
lea rax, [rbp - 0x170]
add rax, 8
mov qword [rax], 0
lea rax, [rbp - 0x170]
add rax, 0x10
mov qword [rax], 0
lea rax, [rbp - 0x170]
add rax, 0x18
mov qword [rax], 0x18
lea rax, [rbp - 0x170]
add rax, 0x20
mov qword [rax], 0
lea rax, [rbp - 0x170]
add rax, 0x28
mov ecx, 0xc0
mov r8d, 0
mov qword [rax], r8
mov edx, ecx
add rdx, rax
add rdx, 8
mov qword [rdx - 0x10], r8
lea rdx, [rax + 8]
and rdx, 0xfffffffffffffff8
sub rax, rdx
add ecx, eax
and ecx, 0xfffffff8
mov eax, ecx
shr eax, 3
mov ecx, eax
mov rdi, rdx
mov rax, r8
rep stosq qword [rdi], rax
lea rax, [rbp - 0x190]
mov qword [rax], 0
mov qword [rax + 8], 0
mov qword [rax + 0x10], 0
lea rax, [rbp - 0x1b0]
mov qword [rax], 0
mov qword [rax + 8], 0
mov qword [rax + 0x10], 0
mov dword [rbp - 0x1b4], 0
mov dword [rbp - 0x1b8], 0
mov dword [rbp - 0x1bc], 0
mov qword [rbp - 0x1c8], 0
cmp qword [rbp + 0x10], 0
jne 0x1000c472
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
mov r9d, 0
mov r8d, 0
mov edx, 0x80000000
lea rcx, [0x100c70a1]
call sub.KERNEL32.dll_CreateFileA
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x70], rax
jmp 0x1000c47b
nop
mov rax, qword [rbp + 0x10]
mov qword [rbp - 0x70], rax
mov rax, qword [rbp - 0x70]
test rax, rax
jne 0x1000c4bb
lea rax, [rbp - 0x1b0]
mov rcx, rax
call fcn.100c0370
lea rax, [rbp - 0x190]
mov rcx, rax
call fcn.100c0370
lea rax, [rbp - 0x170]
mov edx, 0
mov rcx, rax
call fcn.100be040
jmp 0x1000c934
nop
mov rax, qword [rbp + 0x18]
mov edx, 0
mov rcx, rax
call fcn.100c0f40
mov qword [rbp - 0x20], rax
mov rdx, qword [rbp - 0x20]
lea rax, [rbp - 0x190]
mov dword [rsp + 0x20], 0
mov r9, 0xffffffffffffffff
mov r8, rdx
mov rdx, 0xffffffffffffffff
mov rcx, rax
call fcn.100bf4b0
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x74], 0x9c4000
mov eax, dword [rbp - 0x74]
mov eax, eax
mov edx, 1
mov rcx, rax
call sub.msvcrt.dll_calloc
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x30]
mov qword [rbp - 0x1c8], rax
mov edx, dword [rbp - 0x74]
mov rax, qword [rbp - 0x1c8]
lea rcx, [rbp - 0x1bc]
mov r9, rcx
mov r8d, edx
mov rdx, rax
mov ecx, 0x10
call sub.ntdll.dll_NtQuerySystemInformation
mov dword [rbp - 0x34], eax
mov eax, dword [rbp - 0x34]
mov dword [rbp - 0x78], eax
mov eax, dword [rbp - 0x78]
test eax, eax
jns 0x1000c5a3
mov rax, qword [rbp - 0x1c8]
mov rcx, rax
call sub.msvcrt.dll_free
lea rax, [rbp - 0x1b0]
mov rcx, rax
call fcn.100c0370
lea rax, [rbp - 0x190]
mov rcx, rax
call fcn.100c0370
lea rax, [rbp - 0x170]
mov edx, 0
mov rcx, rax
call fcn.100be040
jmp 0x1000c934
nop
mov dword [rbp - 0x7c], 0
mov rax, qword [rbp - 0x1c8]
mov eax, dword [rax]
mov dword [rbp - 0x7c], eax
mov eax, dword [rbp - 0x7c]
cdqe
lea rdx, [rax - 1]
lea rax, [rbp - 0x170]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 1
mov r9d, 0
mov r8d, 0xffffffff
mov edx, 0x18
mov rcx, rax
call fcn.100be280
mov eax, dword [rbp - 0x7c]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 3
mov rcx, rax
mov rax, qword [rbp - 0x1c8]
lea rdx, [rax + 8]
lea rax, [rbp - 0x170]
mov rax, qword [rax]
mov r8, rcx
mov rcx, rax
call sub.ntdll.dll_memcpy
mov rax, qword [rbp - 0x1c8]
mov rcx, rax
call sub.msvcrt.dll_free
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [rbp - 0x38], eax
mov eax, dword [rbp - 0x38]
mov dword [rbp - 0x1b4], eax
mov dword [rbp - 0x80], 0
mov eax, dword [rbp - 0x7c]
sub eax, 1
mov dword [rbp - 0x3c], eax
jmp 0x1000c723
nop
mov eax, dword [rbp - 0x80]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 3
mov rdx, rax
lea rax, [rbp - 0x170]
mov rax, qword [rax]
add rax, rdx
add rax, 6
movzx eax, word [rax]
movzx eax, ax
mov rdx, rax
mov rax, qword [rbp - 0x70]
cmp rdx, rax
sete al
movzx eax, al
neg eax
mov ecx, eax
mov eax, dword [rbp - 0x80]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 3
mov rdx, rax
lea rax, [rbp - 0x170]
mov rax, qword [rax]
add rax, rdx
mov eax, dword [rax]
mov edx, eax
mov eax, dword [rbp - 0x1b4]
cdqe
cmp rdx, rax
sete al
movzx eax, al
neg eax
and eax, ecx
test eax, eax
je 0x1000c719
mov eax, dword [rbp - 0x80]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 3
mov rdx, rax
lea rax, [rbp - 0x170]
mov rax, qword [rax]
add rax, rdx
add rax, 4
movzx eax, byte [rax]
movzx eax, al
mov dword [rbp - 0x84], eax
jmp 0x1000c730
nop
mov eax, dword [rbp - 0x80]
add eax, 1
mov dword [rbp - 0x80], eax
mov eax, dword [rbp - 0x80]
cmp dword [rbp - 0x3c], eax
jge 0x1000c662
nop
cmp qword [rbp + 0x10], 0
jne 0x1000c745
mov rax, qword [rbp - 0x70]
mov rcx, rax
call sub.ntdll.dll_NtClose
jmp 0x1000c746
nop
mov dword [rbp - 0x80], 0
mov eax, dword [rbp - 0x7c]
sub eax, 1
mov dword [rbp - 0x40], eax
jmp 0x1000c8f5
nop
mov eax, dword [rbp - 0x80]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 3
mov rdx, rax
lea rax, [rbp - 0x170]
mov rax, qword [rax]
add rax, rdx
mov eax, dword [rax]
mov edx, eax
mov eax, dword [rbp - 0x1b4]
cdqe
cmp rdx, rax
sete al
movzx eax, al
neg eax
mov ecx, eax
mov eax, dword [rbp - 0x80]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 3
mov rdx, rax
lea rax, [rbp - 0x170]
mov rax, qword [rax]
add rax, rdx
add rax, 4
movzx eax, byte [rax]
movzx edx, al
mov eax, dword [rbp - 0x84]
cdqe
cmp rdx, rax
sete al
movzx eax, al
neg eax
and eax, ecx
test eax, eax
je 0x1000c8e8
mov eax, dword [rbp - 0x80]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 3
mov rdx, rax
lea rax, [rbp - 0x170]
mov rax, qword [rax]
add rax, rdx
add rax, 6
movzx eax, word [rax]
movzx eax, ax
mov ecx, eax
call fcn.1000cbcb
mov qword [rbp - 0x48], rax
mov rax, qword [rbp - 0x48]
mov edx, 0
mov rcx, rax
call fcn.100c0f40
mov qword [rbp - 0x50], rax
mov rdx, qword [rbp - 0x50]
lea rax, [rbp - 0x1b0]
mov dword [rsp + 0x20], 0
mov r9, 0xffffffffffffffff
mov r8, rdx
mov rdx, 0xffffffffffffffff
mov rcx, rax
call fcn.100bf4b0
mov qword [rbp - 0x58], rax
lea rdx, [rbp - 0x190]
lea rax, [rbp - 0x1b0]
mov r8, rdx
mov rdx, rax
mov ecx, 1
call fcn.100c0830
mov qword [rbp - 0x60], rax
cmp qword [rbp - 0x60], 0
jle 0x1000c8eb
mov eax, dword [rbp - 0x80]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 3
mov rdx, rax
lea rax, [rbp - 0x170]
mov rax, qword [rax]
add rax, rdx
add rax, 6
movzx eax, word [rax]
movzx eax, ax
mov rcx, rax
call sub.ntdll.dll_NtClose
cmp dword [rbp + 0x20], 1
jne 0x1000c8de
mov ecx, 0xa
call fcn.100beb00
lea rax, [rbp - 0x1b0]
mov rcx, rax
call fcn.100bea90
jmp 0x1000c8df
nop
mov dword [rbp - 0x64], 1
jmp 0x1000c8ec
nop
jmp 0x1000c8ec
nop
mov eax, dword [rbp - 0x80]
add eax, 1
mov dword [rbp - 0x80], eax
mov eax, dword [rbp - 0x80]
cmp dword [rbp - 0x40], eax
jge 0x1000c75b
nop
lea rax, [rbp - 0x1b0]
mov rcx, rax
call fcn.100c0370
lea rax, [rbp - 0x190]
mov rcx, rax
call fcn.100c0370
lea rax, [rbp - 0x170]
mov edx, 0
mov rcx, rax
call fcn.100be040
mov eax, dword [rbp - 0x64]
add rsp, 0x208
pop rdi
pop rbp
ret