Function at 0x180003b00
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 [0x180121020], 0
jne 0x180003cba
movabs r15, 0x8000000000000000
lea rax, [0x1800d908e]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x60]
mov dword [rsp + 0x60], 0x5536b3b1
mov edx, dword [rsp + 0x60]
call sym.obfstr::xref::inner::h92e31f0782c11e3b
movabs rcx, 0x5754b3fabe121a12
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::h07ed4f64da63ce48
cmp qword [rsp + 0x30], r15
jne 0x1800042a6
mov rbx, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov rcx, rbx
call sub.KERNEL32.dll_GetModuleHandleA
mov r14, rax
test rax, rax
jne 0x180003bdc
mov rcx, rbx
call sub.KERNEL32.dll_LoadLibraryA
mov r14, rax
test rax, rax
je 0x180004218
lea rax, [0x1800df484]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x60]
mov dword [rsp + 0x60], 0x1c2e978e
mov edx, dword [rsp + 0x60]
call sym.obfstr::xref::inner::h14bf2f1d7fd1a7bf
movabs rcx, 0x945c8764325d13f5
xor rcx, qword [rax]
mov edx, 0x92b0a2bc
xor edx, dword [rax + 8]
movzx eax, word [rax + 0xc]
mov r8d, eax
xor r8b, 0x2f
shr eax, 8
xor al, 0x58
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::h07ed4f64da63ce48
cmp qword [rsp + 0x30], r15
jne 0x1800042e8
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 0x180004044
mov byte [0x180121020], 1
mov qword [0x180121028], rax
mov byte [r12], 0
test r15, r15
je 0x180003ca1
mov r8d, 1
mov rcx, r12
mov rdx, r15
call sym.__rust_dealloc
mov byte [rbx], 0
test rdi, rdi
je 0x180003cba
mov r8d, 1
mov rcx, rbx
mov rdx, rdi
call sym.__rust_dealloc
cmp byte [0x180121030], 0
jne 0x180003e27
movabs r15, 0x8000000000000000
lea rax, [0x1800d5268]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x60]
mov dword [rsp + 0x60], 0x286a1cc0
mov edx, dword [rsp + 0x60]
call sym.obfstr::xref::inner::hb97e51b2ac706412
movabs rcx, 0x8d793154543dba6c
xor rcx, qword [rax]
movzx eax, byte [rax + 8]
xor al, 0x5d
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::h07ed4f64da63ce48
cmp qword [rsp + 0x30], r15
jne 0x180004327
mov rbx, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov rcx, rbx
call sub.KERNEL32.dll_GetModuleHandleA
mov r14, rax
lea rax, [0x1800dd691]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x60]
mov dword [rsp + 0x60], 0xd12033e3
mov edx, dword [rsp + 0x60]
call sym.obfstr::xref::inner::h98a169f076e7df5c
movabs rcx, 0x9fb92b918d727cc4
xor rcx, qword [rax]
mov edx, 0xe3a18874
xor edx, dword [rax + 8]
movzx eax, word [rax + 0xc]
mov r8d, eax
xor r8b, 0x43
shr eax, 8
xor al, 0x45
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::h07ed4f64da63ce48
cmp qword [rsp + 0x30], r15
jne 0x180004366
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 0x180004044
mov byte [0x180121030], 1
mov qword [0x180121038], rax
mov byte [r12], 0
test r15, r15
je 0x180003e0e
mov r8d, 1
mov rcx, r12
mov rdx, r15
call sym.__rust_dealloc
mov byte [rbx], 0
test rdi, rdi
je 0x180003e27
mov r8d, 1
mov rcx, rbx
mov rdx, rdi
call sym.__rust_dealloc
mov qword [rsp + 0xa0], rsi
lea rdx, [sym.secondstage::amsi_care::exception_handler::h2027de8b2f57bb57]
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 [0x18010c548]
movzx eax, byte [rax]
mov ecx, 0x100000
mov edx, 1
call sym.__rust_alloc
test rax, rax
je 0x180004297
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
mov rcx, qword [rsp + 0x90]
js 0x1800041e7
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 0x1800041e7
mov qword [rsp + 0xb0], rdi
test ebp, ebp
mov eax, 1
cmove rax, rsi
mov qword [rsp + 0xc0], rax
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 dword [rax]
mov rax, qword [rsp + 0xc0]
cmp qword [rcx + rsi + 0x50], rax
je 0x180003fa0
mov rcx, qword [rsp + 0x90]
mov eax, dword [rcx + rsi]
test rax, rax
je 0x180004093
add rsi, rax
cmp rsi, qword [rsp + 0xc8]
jb 0x180003f60
jmp 0x180004093
mov rax, qword [rsp + 0x90]
mov edi, dword [rax + rsi + 4]
test rdi, rdi
je 0x180003f6f
mov rax, qword [rsp + 0xb8]
lea rbp, [rax + rsi]
jmp 0x180003fda
mov rax, qword [rsp + 0x38]
mov qword [rax + r13*8], rbx
inc r13
mov qword [rsp + 0x40], r13
add rbp, 0x50
dec rdi
je 0x180003f6f
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 0x180003fd1
mov rbx, qword [rsp + 0xa8]
mov r13, qword [rsp + 0x40]
cmp r13, qword [rsp + 0x30]
jne 0x180003fc0
lea rcx, [rsp + 0x30]
call sym.alloc::raw_vec::RawVec_T_A_::grow_one::he79ae3ee64d457d9
jmp 0x180003fc0
mov qword [rsi], 0
mov qword [rsi + 8], 1
mov qword [rsi + 0x10], 0
mov byte [r12], 0
test r15, r15
je 0x180004076
mov r8d, 1
mov rcx, r12
mov rdx, r15
call sym.__rust_dealloc
mov byte [rbx], 0
test rdi, rdi
je 0x180004278
mov r8d, 1
mov rcx, rbx
mov rdx, rdi
jmp 0x180004273
mov r14, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
test rsi, rsi
je 0x1800041c3
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]
cmp rsi, r13
je 0x18000423d
mov r12, qword [r15 + r13]
mov rcx, r12
mov rdx, rbx
call sub.ntdll.dll_NtGetContextThread
test eax, eax
jne 0x180004196
cmp byte [0x180121020], 1
jne 0x18000413b
mov rax, qword [0x180121028]
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 [0x180121030], 1
jne 0x180004176
mov rax, qword [0x180121038]
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 0x180004196
add r13, 8
mov rcx, r12
call sub.ntdll.dll_NtClose
jmp 0x1800040e0
mov rsi, qword [rsp + 0xa0]
mov qword [rsi], 0
mov qword [rsi + 8], 1
mov qword [rsi + 0x10], 0
test r14, r14
jne 0x180004263
jmp 0x180004278
test r14, r14
je 0x1800041e7
mov rcx, qword [rsp + 0x38]
shl r14, 3
mov r8d, 8
mov rdx, r14
call sym.__rust_dealloc
mov rcx, qword [rsp + 0x90]
mov edx, 0x100000
mov r8d, 1
call sym.__rust_dealloc
mov rsi, qword [rsp + 0xa0]
mov qword [rsi], 0
mov qword [rsi + 8], 1
mov qword [rsi + 0x10], 0
jmp 0x180004278
mov qword [rsi], 0
mov qword [rsi + 8], 1
mov qword [rsi + 0x10], 0
mov byte [rbx], 0
test rdi, rdi
jne 0x180004082
jmp 0x180004278
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
je 0x180004278
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 ecx, 1
mov edx, 0x100000
call sym.alloc::raw_vec::handle_error::h6ca22f8e83c41359
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x70], xmm1
movaps xmmword [rsp + 0x60], xmm0
lea rax, str.src_amsi_care.rs
mov qword [rsp + 0x20], rax
lea rcx, [0x1800e3f80]
lea r9, sym.core::ptr::drop_in_place_alloc::ffi::c_str::NulError_::h2cfe31bdac4311a3
lea r8, [rsp + 0x60]
mov edx, 0x2b
call sym.core::result::unwrap_failed::h713254c74fae6645
jmp 0x1800043a3
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x70], xmm1
movaps xmmword [rsp + 0x60], xmm0
lea rax, str.src_amsi_care.rs
mov qword [rsp + 0x20], rax
lea rcx, [0x1800e3f80]
lea r9, sym.core::ptr::drop_in_place_alloc::ffi::c_str::NulError_::h2cfe31bdac4311a3
lea r8, [rsp + 0x60]
mov edx, 0x2b
call sym.core::result::unwrap_failed::h713254c74fae6645
jmp 0x1800043a3
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x70], xmm1
movaps xmmword [rsp + 0x60], xmm0
lea rax, str.src_amsi_care.rs
mov qword [rsp + 0x20], rax
lea rcx, [0x1800e3f80]
lea r9, sym.core::ptr::drop_in_place_alloc::ffi::c_str::NulError_::h2cfe31bdac4311a3
lea r8, [rsp + 0x60]
mov edx, 0x2b
call sym.core::result::unwrap_failed::h713254c74fae6645
jmp 0x1800043a3
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x70], xmm1
movaps xmmword [rsp + 0x60], xmm0
lea rax, str.src_amsi_care.rs
mov qword [rsp + 0x20], rax
lea rcx, [0x1800e3f80]
lea r9, sym.core::ptr::drop_in_place_alloc::ffi::c_str::NulError_::h2cfe31bdac4311a3
lea r8, [rsp + 0x60]
mov edx, 0x2b
call sym.core::result::unwrap_failed::h713254c74fae6645
ud2