Function at 0x1400a7210
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows
Make suspicious ntquerysysteminformation call
Terminate thread

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r15
lea rbp, [rsp - 0x4a8]
sub rsp, 0x5a8
mov rax, qword [0x1401737a8]
xor rax, rsp
mov qword [rbp + 0x490], rax
mov rdi, rdx
xor esi, esi
mov edx, 0x1009
xor r9d, r9d
xor r8d, r8d
mov r13d, esi
mov r15, rcx
xor r12b, r12b
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rdi + 8]
lea r9d, [rsi + 2]
mov edx, 0x100c
mov dword [rbp], esi
lea r8, [rsi - 1]
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rsp + 0x54], eax
cmp eax, 0xffffffff
je 0x1400a7695
mov qword [rsp + 0x5f0], rbx
mov qword [rsp + 0x5a0], r14
cmp byte [rdi + 0x28], sil
jne 0x1400a74ec
mov ecx, 0x3e8
call fcn.1400e8270
lea rcx, [rbp - 0x40]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
lea r9, [rsp + 0x44]
mov r8d, 0x3e8
mov rdx, rbx
lea ecx, [rsi + 5]
call sub.ntdll.dll_NtQuerySystemInformation
test eax, eax
je 0x1400a730e
mov esi, 0x3e8
mov rcx, rbx
call fcn.1400e825c
mov eax, dword [rsp + 0x44]
lea ecx, [rsi + 0x2710]
cmp ecx, eax
cmova eax, ecx
mov ecx, eax
mov esi, eax
call fcn.1400e8270
lea r9, [rsp + 0x44]
mov r8d, esi
mov rdx, rax
mov ecx, 5
mov rbx, rax
call sub.ntdll.dll_NtQuerySystemInformation
test eax, eax
jne 0x1400a72d0
xor esi, esi
mov rax, qword [rdi]
mov ecx, dword [rax + 0x24]
cmp qword [rbx + 0x50], rcx
je 0x1400a7334
nop word [rax + rax]
mov eax, dword [rbx]
test eax, eax
je 0x1400a7331
add rbx, rax
cmp qword [rbx + 0x50], rcx
jne 0x1400a7320
jmp 0x1400a7334
mov rbx, rsi
mov edx, 0x7f02
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetCursor]
mov rax, qword [rdi]
xor edx, edx
mov ecx, 0x80000000
mov r8d, dword [rax + 0x24]
call fcn.1400ba360
mov qword [rdi + 0x18], rax
cmp qword [0x1401940a8], r13
je 0x1400a73d5
lea rcx, [0x14018f210]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, 0x10027
mov r12b, 1
call qword [0x1401940d8]
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x1400a73a0
mov rax, qword [0x1401940a8]
xor edx, edx
lea r8d, [rdx + 1]
call rax
mov byte [rdi + 0x28], al
cmp byte [rdi + 0x28], r13b
jne 0x1400a73d5
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x1400a73b5
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor edx, edx
mov qword [rdi + 0x18], rax
mov r9, qword [0x1401940a8]
mov rcx, rax
lea r8d, [rdx + 1]
call r9
mov byte [rdi + 0x28], al
mov ecx, 0x3e8
mov dword [rsp + 0x40], 0x3e8
call fcn.1400e8270
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x40]
mov rdx, rax
mov qword [rdi + 0x10], rax
mov ecx, ntohs
call sub.ntdll.dll_NtQuerySystemInformation
test eax, eax
je 0x1400a7442
mov rcx, qword [rdi + 0x10]
call fcn.1400e825c
mov eax, dword [rsp + 0x40]
add eax, 0x3e8
mov ecx, eax
mov dword [rsp + 0x40], eax
call fcn.1400e8270
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x40]
mov rdx, rax
mov qword [rdi + 0x10], rax
mov ecx, ntohs
call sub.ntdll.dll_NtQuerySystemInformation
test eax, eax
jne 0x1400a7406
mov rax, qword [rdi]
mov qword [rdi + 0x20], rsi
test byte [rax + 0xf8], 0x10
jne 0x1400a74ec
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlCreateQueryDebugBuffer]
mov qword [rdi + 0x20], rax
test rax, rax
je 0x1400a74ec
mov rcx, qword [rbx + 0x50]
lea r9, [rbp - 0x50]
mov qword [rbp - 0x48], rax
lea r8, [0x1400a8c00]
lea rax, [rsp + 0x4c]
mov qword [rbp - 0x50], rcx
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], esi
call fcn.1400f7ce8
mov edx, 0xfa0
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1400a74c1
mov edx, 1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rdx, [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [rsp + 0x48], r13d
je 0x1400a74e3
mov rcx, qword [rdi + 0x20]
call sub.ntdll.dll_RtlDestroyQueryDebugBuffer
mov qword [rdi + 0x20], rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rdi + 8]
lea r9, [rsp + 0x50]
xor r8d, r8d
mov dword [rsp + 0x58], esi
mov edx, 0x104b
mov dword [rsp + 0x50], 4
call qword [sym.imp.USER32.dll_SendMessageW]
mov rsi, qword [rsp + 0x78]
mov edx, 0x7f02
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetCursor]
xor r9d, r9d
mov r14, rax
test dword [rsi + 0x888], 0xfffffffc
mov ebx, r9d
jbe 0x1400a766a
mov rax, qword [rsi + 0x880]
mov ecx, ebx
mov rdx, qword [rax + rcx*8]
lea rax, [rdx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400a7657
mov rax, qword [rdi + 0x10]
lea r8, [rbp - 0x30]
mov qword [rsp + 0x30], rax
mov cl, 1
mov rax, qword [rdi + 0x20]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r9
mov r9, qword [rdi + 0x18]
call fcn.1400aa930
xor r9d, r9d
lea rdx, [rbp + 0x10]
mov eax, r9d
lea r8, [0x1401394e0]
nop word [rax + rax]
movzx ecx, word [rdx + rax*2]
inc rax
cmp cx, word [r8 + rax*2 - 2]
jne 0x1400a75ba
cmp rax, 4
jne 0x1400a75a0
jmp 0x1400a7657
mov r8d, r13d
mov dword [rsp + 0x50], 5
lea rdx, [0x1401270bc]
mov qword [rsp + 0x54], 0x7fffffff
lea rcx, [rbp + 0x290]
mov qword [rsp + 0x5c], r9
call fcn.140074260
lea rax, [rbp + 0x290]
mov dword [rsp + 0x74], 0
mov qword [rsp + 0x68], rax
lea r9, [rsp + 0x50]
lea eax, [r13 + 1]
xor r8d, r8d
mov edx, 0x104d
mov qword [rsp + 0x78], rax
mov rcx, r15
mov r13d, eax
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x1400a7685
mov dword [rsp + 0x54], eax
lea r9, [rsp + 0x50]
lea rax, [rbp + 0x10]
mov dword [rsp + 0x50], 1
xor r8d, r8d
mov qword [rsp + 0x68], rax
mov edx, 0x104c
mov dword [rsp + 0x58], 1
mov rcx, r15
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
mov eax, dword [rsi + 0x888]
inc ebx
shr eax, 2
cmp ebx, eax
jb 0x1400a7543
test r12b, r12b
je 0x1400a767c
lea rcx, [0x14018f210]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, r14
call qword [sym.imp.USER32.dll_SetCursor]
mov rbx, qword [rsp + 0x5f0]
mov r14, qword [rsp + 0x5a0]
mov rcx, qword [rbp + 0x490]
xor rcx, rsp
call fcn.1400e17a0
add rsp, 0x5a8
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret