Function at 0x180020b40
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, 0x368
test rdx, rdx
je 0x180020b7d
mov r14, r8
test r8, r8
je 0x180020dc5
mov rsi, rdx
mov qword [rsp + 0x78], rcx
lea rax, [0x180117618]
mov qword [rsp + 0x80], rax
jmp 0x180020b99
mov qword [rsp + 0x78], rcx
lea rax, [0x1801175e8]
mov qword [rsp + 0x80], rax
mov esi, 8
xor r14d, r14d
mov qword [rsp + 0x90], r9
mov rax, qword [0x180143fe8]
movzx eax, byte [rax]
mov ebx, 0x80000
mov ecx, 0x80000
mov edx, 1
call sym.__rust_alloc
test rax, rax
je 0x18002117c
mov r15, rax
mov qword [rsp + 0x48], 0x80000
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0
xor edx, edx
lea r12, [rsp + 0x48]
lea r13, [rsp + 0x28]
lea rbp, [rsp + 0xb0]
mov edi, 0x80000
jmp 0x180020c0a
mov rbx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x58]
mov dword [rsp + 0x28], 0
sub rbx, rdx
cmp rbx, rdi
jae 0x180020c39
mov qword [rsp + 0x20], 1
mov r9d, 1
mov rcx, r12
mov r8, rdi
call sym.alloc::raw_vec::RawVecInner_A_::reserve::do_reserve_and_handle::h6014465d3eb0841c
mov r15, qword [rsp + 0x50]
mov ecx, 5
mov rdx, r15
mov r8d, edi
mov r9, r13
call sub.ntdll.dll_NtQuerySystemInformation
test eax, eax
jns 0x180020ca7
or eax, 0x10000000
mov ecx, eax
call sym._ZN108__LT_windows_result..error..Error_u20_as_u20_core..convert..From_LT_windows_result..hresult..HRESULT_GT__GT_4from17h6940
cmp edx, 0xd0000004
jne 0x180020d8c
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0xb8], 0xd0000004
mov ecx, dword [rsp + 0x28]
mov rdx, rdi
add rdx, rdi
lea edi, [rcx + 0x2800]
test ecx, ecx
cmove rdi, rdx
test rax, rax
je 0x180020c00
mov rcx, rbp
call sym.__windows_result::com::ComPtr_as_core::ops::drop::Drop_::drop::hb30c31d5e4e46df2
jmp 0x180020c00
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x88], 0
mov rax, qword [0x180143fe8]
movzx eax, byte [rax]
mov ecx, 0xfa0
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x18002118b
mov qword [rsp + 0x60], 0x1f4
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], 0
mov rax, qword [rsp + 0x80]
mov r12, qword [rax + 0x28]
xor r13d, r13d
lea rdi, [rsp + 0x60]
jmp 0x180020d2d
lea rax, [r15 + r13]
mov rcx, qword [rsp + 0x68]
mov qword [rcx + rbx*8], rax
inc rbx
mov qword [rsp + 0x70], rbx
add r13, rbp
test rbp, rbp
je 0x180020d5e
mov ebp, dword [r15 + r13]
mov rdx, qword [r15 + r13 + 0x50]
mov ecx, 1
mov r8, rsi
mov r9, r14
call r12
test al, al
je 0x180020d25
mov rbx, qword [rsp + 0x70]
cmp rbx, qword [rsp + 0x60]
jne 0x180020d10
mov rcx, rdi
call sym.alloc::raw_vec::RawVec_T_A_::grow_one::h649edb8f540a7c70
jmp 0x180020d10
mov rbx, qword [rsp + 0x78]
lea rsi, [rbx + 0x40]
mov qword [rsp + 0x98], rsi
mov rdi, qword [rsp + 0x90]
cmp byte [rdi], 1
jne 0x180020dcc
mov rcx, rbx
xor edx, edx
call sym._ZN7sysinfo7windows3cpu11CpusWrapper14init_if_needed17he94fa1a7a728d623E.llvm.15418698780560329357
mov rax, qword [rbx + 0x10]
jmp 0x180020dce
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0xb8], edx
test rax, rax
je 0x180020dad
lea rcx, [rsp + 0xb0]
call sym.__windows_result::com::ComPtr_as_core::ops::drop::Drop_::drop::hb30c31d5e4e46df2
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x180020dc5
mov r8d, 1
mov rcx, r15
call sym.__rust_dealloc
xor eax, eax
jmp 0x180021168
xor eax, eax
mov qword [rsp + 0xa0], rax
call sym.std::time::SystemTime::now::hfd70ef41d71c072f
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x2c], edx
lea rcx, [rsp + 0xb0]
lea rdx, [rsp + 0x28]
mov r8d, 0xd53e8000
mov r9d, 0x19db1de
call sym.std::time::SystemTime::duration_since::h335c233ecda9c560
test byte [rsp + 0xb0], 1
je 0x180020e0f
xor eax, eax
jmp 0x180020e17
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xc0], rax
movups xmm0, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0xb0], xmm0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 8
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x88]
mov qword [rsp + 0xc8], rax
lea rax, [rsp + 0x98]
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0xd8], rdi
lea rax, [rsp + 0xa0]
mov qword [rsp + 0xe0], rax
lea rax, [rsp + 0xa8]
mov qword [rsp + 0xe8], rax
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0xb0]
call fcn.180023dd0
mov rax, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
imul r8, rcx, 0x158
add r8, rdx
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], r8
test rcx, rcx
je 0x180021136
movabs r12, 0x8000000000000000
lea rdi, [rsp + 0x218]
lea rbx, [rsp + 0x1a8]
lea r14, [rsp + 0xb0]
lea r15, [rsp + 0x210]
jmp 0x180020f20
mov rdx, qword [rsp + 0x30]
cmp rdx, qword [rsp + 0x40]
je 0x180021136
lea rax, [rdx + 0x158]
mov qword [rsp + 0x30], rax
mov rax, qword [rdx]
cmp rax, 2
je 0x180021136
add rdx, 8
mov qword [rsp + 0x210], rax
mov r8d, 0x150
mov rcx, rdi
call fcn.180102e60
mov r8, qword [rsp + 0x2f0]
mov rcx, r14
mov rdx, rsi
mov r9, r15
call sym.hashbrown::map::HashMap_K_V_S_A_::insert::h457710e1675efd7a
cmp dword [rsp + 0xb0], 2
je 0x180020f10
mov rdx, qword [rsp + 0xc0]
test rdx, rdx
je 0x180020f93
mov rcx, qword [rsp + 0xc8]
mov r8d, 1
call sym.__rust_dealloc
mov r13, qword [rsp + 0xf0]
test r13, r13
je 0x180020fe0
mov rbp, qword [rsp + 0xe8]
add rbp, 8
jmp 0x180020fb9
add rbp, 0x20
dec r13
je 0x180020fe0
mov rdx, qword [rbp - 8]
test rdx, rdx
je 0x180020fb0
mov rcx, qword [rbp]
mov r8d, 1
call sym.__rust_dealloc
jmp 0x180020fb0
mov rdx, qword [rsp + 0xe0]
test rdx, rdx
je 0x180021004
mov rcx, qword [rsp + 0xe8]
shl rdx, 5
mov r8d, 8
call sym.__rust_dealloc
mov rdx, qword [rsp + 0x110]
cmp rdx, r12
je 0x180021029
test rdx, rdx
je 0x180021029
mov rcx, qword [rsp + 0x118]
mov r8d, 1
call sym.__rust_dealloc
mov rdx, qword [rsp + 0x130]
cmp rdx, r12
je 0x18002104e
test rdx, rdx
je 0x18002104e
mov rcx, qword [rsp + 0x138]
mov r8d, 1
call sym.__rust_dealloc
mov r13, qword [rsp + 0x108]
test r13, r13
je 0x1800210a0
mov rbp, qword [rsp + 0x100]
add rbp, 8
jmp 0x180021079
add rbp, 0x20
dec r13
je 0x1800210a0
mov rdx, qword [rbp - 8]
test rdx, rdx
je 0x180021070
mov rcx, qword [rbp]
mov r8d, 1
call sym.__rust_dealloc
jmp 0x180021070
mov rdx, qword [rsp + 0xf8]
test rdx, rdx
je 0x1800210c4
mov rcx, qword [rsp + 0x100]
shl rdx, 5
mov r8d, 8
call sym.__rust_dealloc
mov rdx, qword [rsp + 0x148]
cmp rdx, r12
je 0x1800210e9
test rdx, rdx
je 0x1800210e9
mov rcx, qword [rsp + 0x150]
mov r8d, 1
call sym.__rust_dealloc
mov rdx, qword [rsp + 0x168]
cmp rdx, r12
je 0x18002110e
test rdx, rdx
je 0x18002110e
mov rcx, qword [rsp + 0x170]
mov r8d, 1
call sym.__rust_dealloc
mov rax, qword [rsp + 0x1a8]
test rax, rax
je 0x180020f10
lock dec qword [rax]
jne 0x180020f10
mov rcx, rbx
call sym.alloc::sync::Arc_T_A_::drop_slow::h544177edc940340c
jmp 0x180020f10
lea rcx, [rsp + 0x28]
call sym.__alloc::vec::into_iter::IntoIter_T_A__as_core::ops::drop::Drop_::drop::hc14ba0df6bb0d525
mov rax, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x180021168
mov rcx, qword [rsp + 0x50]
mov r8d, 1
mov rsi, rax
call sym.__rust_dealloc
mov rax, rsi
add rsp, 0x368
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 1
mov edx, 0x80000
call sym.alloc::raw_vec::handle_error::hcf880acc1984e8dc
mov ecx, 8
mov edx, 0xfa0
call sym.alloc::raw_vec::handle_error::hcf880acc1984e8dc
ud2