Function at 0x1005fd30
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x248
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
test ecx, ecx
je 0x1005fd61
mov edx, 0x100f2528
test eax, eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
jne 0x1005fd76
xor esi, esi
jmp 0x1006062d
mov edx, 0x100f2510
mov dword [esp + 0xc], 0
mov dword [esp + 8], 4
mov eax, dword [0x100f2e44]
mov dword [esp + 0x10], edx
movzx eax, byte [eax]
sub esp, 0xc
mov dword [esp + 8], 0x80000
mov dword [esp + 4], 0
call sym.std::sys::alloc::windows::process_heap_alloc::hc2bfe060f1f208f4
add esp, 0xc
test eax, eax
je 0x10060826
mov ebx, dword [ebp + 8]
mov dword [esp + 0x34], 0x80000
mov dword [esp + 0x38], eax
mov dword [esp + 4], eax
xor edx, edx
mov eax, 0x80000
mov edi, 0x80000
mov dword [esp + 0x3c], 0
jmp 0x1005fdd8
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
sub eax, edx
mov dword [esp + 0x50], 0
cmp eax, edi
jb 0x1005fe7d
lea eax, [esp + 0x50]
push eax
push edi
push dword [esp + 0xc]
push 5
call sub.ntdll.dll_NtQuerySystemInformation
test eax, eax
jns 0x1005fe9b
mov esi, eax
lea eax, [esp + 0x88]
mov dword [esp + 0x88], 0
push eax
push 0
call sub.oleaut32.dll_GetErrorInfo
mov eax, dword [esp + 0x88]
and esi, 0xefffffff
cmp esi, 0xc0000004
jne 0x100600c6
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x1005fe60
add ecx, 0x2800
jb 0x10060808
mov edi, ecx
test eax, eax
jne 0x1005fe72
jmp 0x1005fdd0
test edi, edi
js 0x10060812
add edi, edi
test eax, eax
je 0x1005fdd0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x1005fdd0
lea ecx, [esp + 0x34]
push 1
push 1
push edi
call sym.alloc::raw_vec::RawVecInner_LT_A_GT_::reserve::do_reserve_and_handle::hf06ff575d84aeb18
add esp, 0xc
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
jmp 0x1005fdea
mov eax, dword [0x100f2e44]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], 0
movzx eax, byte [eax]
sub esp, 0xc
mov dword [esp + 8], 0x7d0
mov dword [esp + 4], 0
call sym.std::sys::alloc::windows::process_heap_alloc::hc2bfe060f1f208f4
add esp, 0xc
test eax, eax
je 0x10060832
mov dword [esp + 0x44], 0x1f4
mov dword [esp + 0x48], eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 4]
xor edi, edi
xor esi, esi
mov dword [esp + 0x4c], 0
mov eax, dword [eax + 0x14]
mov dword [esp + 0x10], eax
nop dword [eax]
mov ebx, dword [ecx + esi]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [ecx + esi + 0x44]
push 1
call dword [esp + 0x20]
add esp, 0x10
test al, al
je 0x1005ff50
cmp edi, dword [esp + 0x44]
jne 0x1005ff33
lea ecx, [esp + 0x44]
call sym.alloc::raw_vec::RawVec_LT_T_C_A_GT_::grow_one::hdc3325644b094045
mov eax, dword [esp + 0x48]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x18]
lea eax, [ecx + esi]
mov dword [edx + edi*4], eax
inc edi
mov dword [esp + 0x4c], edi
test ebx, ebx
jne 0x1005ff58
jmp 0x1005ff66
mov ecx, dword [esp + 4]
test ebx, ebx
je 0x1005ff66
add esi, ebx
jno 0x1005ff00
push 0x100f2540
call sym.core::panicking::panic_const::panic_const_add_overflow::hf3b41c4c75c49a6d
mov esi, dword [ebp + 8]
mov edi, 0
lea eax, [esi + 0x20]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov eax, dword [ebp + 0x18]
cmp byte [eax], 0
mov eax, 0
je 0x1005ff94
mov ecx, esi
xor edx, edx
xor edi, edi
call sym.sysinfo::windows::cpu::CpusWrapper::init_if_needed::hf20c31bf7385dade
mov eax, dword [esi + 8]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x88]
mov dword [esp + 0x88], 0
mov dword [esp + 0x6c], edi
mov dword [esp + 0x8c], 0
push eax
call sub.kernel32.dll_GetSystemTimePreciseAsFileTime
mov ebx, dword [esp + 0x88]
mov edi, dword [esp + 0x8c]
mov eax, 0xd53e8000
mov esi, 0x19db1de
sub eax, ebx
mov ecx, ebx
mov edx, edi
sbb esi, edi
add ecx, 0x2ac18000
adc edx, 0xfe624e21
cmp ebx, 0xd53e8000
sbb edi, 0x19db1de
cmovl edx, esi
cmovl ecx, eax
setl bl
push 0
push 0x989680
push edx
push ecx
call sym.___udivdi3
add esp, 0x10
test bl, bl
mov ecx, 0
mov edi, dword [esp + 0x4c]
movq xmm0, qword [esp + 0x44]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 8
mov dword [esp + 0x28], 0
cmovne eax, ecx
test bl, bl
cmovne edx, ecx
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x74], edx
lea edx, [esp + 0x64]
mov dword [esp + 0x90], edi
movq qword [esp + 0x88], xmm0
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], edx
lea edx, [esp + 0x68]
mov dword [esp + 0x9c], ecx
lea ecx, [esp + 0x70]
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], ecx
mov esi, dword [esp + 0x88]
cmp esi, edi
jb 0x1006083e
mov ebx, dword [esp + 0x8c]
xor ecx, ecx
call sym.__ZN10rayon_core8registry19WORKER_THREAD_STATE28__u7b__u7b_closure_u7d__u7d_17h0ff8e655c7f3bbb0E.llvm.6552185947209378814
test eax, eax
je 0x1006084f
mov eax, dword [eax]
mov dword [esp + 4], esi
test eax, eax
je 0x100600f0
add eax, 0x8c
jmp 0x100600f5
test eax, eax
je 0x100600d0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [esp + 0x34], 0
je 0x100600e9
mov eax, dword [0x100f2e2c]
push dword [esp + 4]
push 0
push dword [eax]
call sub.kernel32.dll_HeapFree
xor esi, esi
jmp 0x100605d6
call sym.rayon_core::registry::global_registry::hcc408598382e73f9
mov eax, dword [eax]
xor ecx, ecx
cmp edi, 0xffffffff
lea esi, [esp + 0x94]
mov edx, edi
sete cl
mov eax, dword [eax + 0x104]
cmp ecx, eax
cmova eax, ecx
lea ecx, [esp + 0x50]
push esi
push edi
push ebx
push 1
push eax
push 0
call sym.rayon::iter::plumbing::bridge_producer_consumer::helper::h7e7bc0d0c389fc87
add esp, 0x18
cmp dword [esp + 4], 0
je 0x1006013d
mov eax, dword [0x100f2e2c]
push ebx
push 0
push dword [eax]
call sub.kernel32.dll_HeapFree
mov ecx, dword [esp + 0x58]
mov esi, dword [esp + 0x50]
test ecx, ecx
je 0x10060184
xor eax, eax
mov edx, esi
nop dword [eax]
test edx, edx
je 0x10060163
add eax, dword [edx + 8]
jb 0x1006081c
mov edx, dword [edx + 0xc]
dec ecx
jne 0x10060150
test eax, eax
je 0x10060184
lea ecx, [esp + 0x20]
xor edx, edx
push 0xe8
push 8
push eax
call sym.alloc::raw_vec::RawVecInner_LT_A_GT_::reserve::do_reserve_and_handle::hf06ff575d84aeb18
add esp, 0xc
jmp 0x10060184
mov esi, dword [esp + 4]
test esi, esi
je 0x10060235
mov eax, dword [esi + 0xc]
test eax, eax
je 0x1006019a
mov dword [eax + 0x10], 0
mov dword [esp + 4], eax
mov eax, dword [esi + 4]
mov ebx, dword [esi]
mov edi, dword [esi + 8]
mov dword [esp + 8], eax
push esi
push 0
mov eax, dword [0x100f2e2c]
push dword [eax]
call sub.kernel32.dll_HeapFree
mov eax, ebx
neg eax
jo 0x1006022d
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
mov dword [esp + 0xc], ebx
sub eax, esi
cmp eax, edi
jb 0x10060211
imul eax, esi, 0xe8
imul ecx, edi, 0xe8
add eax, dword [esp + 0x24]
push ecx
mov ebx, dword [esp + 0xc]
push ebx
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
add esi, edi
cmp dword [esp + 0xc], 0
mov dword [esp + 0x28], esi
je 0x10060180
push ebx
push 0
mov eax, dword [0x100f2e2c]
push dword [eax]
call sub.kernel32.dll_HeapFree
jmp 0x10060180
lea ecx, [esp + 0x20]
mov edx, esi
push 0xe8
push 8
push edi
call sym.alloc::raw_vec::RawVecInner_LT_A_GT_::reserve::do_reserve_and_handle::hf06ff575d84aeb18
add esp, 0xc
mov esi, dword [esp + 0x28]
jmp 0x100601d1
mov eax, dword [esp + 4]
test eax, eax
jne 0x10060280
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov ebx, dword [ebp + 8]
imul edx, ecx, 0xe8
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], edi
add edx, edi
test ecx, ecx
mov dword [esp + 0x18], edx
je 0x1006056a
mov edi, dword [esp + 0x1c]
lea eax, [ebx + 0x30]
mov dword [esp + 0x5c], eax
jmp 0x10060371
push edi
push 0
push dword [esi]
call sub.kernel32.dll_HeapFree
test ebx, ebx
mov eax, ebx
je 0x10060235
mov ebx, dword [eax + 0xc]
test ebx, ebx
je 0x1006028e
mov dword [ebx + 0x10], 0
mov edi, dword [eax + 8]
mov ecx, dword [eax + 4]
mov dword [esp + 4], eax
test edi, edi
mov dword [esp + 8], ecx
je 0x100602c0
mov esi, dword [esp + 8]
nop word cs:[eax + eax]
nop
mov ecx, esi
call sym.core::ptr::drop_in_place_LT_sysinfo..common..system..Process_GT_::h2c56343498823b0d
add esi, 0xe8
dec edi
jne 0x100602b0
mov edi, dword [esp + 4]
mov esi, dword [0x100f2e2c]
cmp dword [edi], 0
je 0x10060270
push dword [esp + 8]
push 0
push dword [esi]
call sub.kernel32.dll_HeapFree
jmp 0x10060270
mov edx, dword [ebp + 8]
and al, 1
movzx eax, al
sub dword [edx + 0x28], eax
lea eax, [edi - 0x10]
and eax, ecx
mov ecx, dword [esp + 0x2c]
mov byte [ebx + edi], cl
mov byte [ebx + eax + 0x10], cl
mov eax, dword [esp + 0x10]
inc dword [edx + 0x2c]
neg edi
imul edi, edi, 0xf0
mov dword [ebx + edi - 0xf0], esi
mov dword [ebx + edi - 0xe8], eax
lea eax, [ebx + edi - 0xe4]
push 0xd0
lea ecx, [esp + 0x178]
push ecx
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov dword [ebx + edi - 0x14], esi
movq xmm0, qword [esp + 0x78]
movq xmm1, qword [esp + 0x80]
movq qword [ebx + edi - 0x10], xmm0
movq qword [ebx + edi - 8], xmm1
nop word cs:[eax + eax]
nop dword [eax]
mov edi, dword [esp + 0xc]
mov ebx, dword [ebp + 8]
cmp edi, dword [esp + 0x18]
je 0x100605a0
lea eax, [edi + 0xe8]
mov dword [esp + 0xc], eax
mov eax, dword [edi]
cmp eax, 2
je 0x10060566
mov esi, dword [edi + 0xd4]
mov dword [esp + 0x10], eax
lea eax, [edi + 4]
push 0xd0
push eax
lea eax, [esp + 0x17c]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
movsd xmm0, qword [edi + 0xd8]
movsd xmm1, qword [edi + 0xe0]
mov ecx, dword [ebx + 0x30]
mov edx, dword [ebx + 0x34]
movsd qword [esp + 0x78], xmm0
movsd qword [esp + 0x80], xmm1
push esi
push dword [ebx + 0x3c]
push dword [ebx + 0x38]
call sym.core::hash::BuildHasher::hash_one::h475afa8831dd7d10
add esp, 0xc
cmp dword [ebx + 0x28], 0
mov edi, eax
je 0x10060554
mov eax, ebx
mov ebx, dword [ebx + 0x20]
xor edx, edx
mov dword [esp + 8], 0
mov ecx, dword [eax + 0x24]
mov eax, edi
shr eax, 0x19
movd xmm0, eax
mov dword [esp + 0x2c], eax
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0
pshufd xmm0, xmm0, 0
and edi, ecx
mov dword [esp + 4], edx
movdqu xmm1, xmmword [ebx + edi]
movdqa xmm2, xmm1
pcmpeqb xmm2, xmm0
pmovmskb eax, xmm2
test eax, eax
je 0x10060463
nop word cs:[eax + eax]
nop dword [eax + eax]
tzcnt edx, eax
add edx, edi
and edx, ecx
neg edx
imul edx, edx, 0xf0
cmp dword [ebx + edx - 0xf0], esi
je 0x100604b0
lea edx, [eax - 1]
and dx, ax
mov eax, edx
jne 0x10060440
cmp dword [esp + 8], 1
mov edx, 1
je 0x10060486
pmovmskb eax, xmm1
xor edx, edx
test eax, eax
setne dl
tzcnt eax, eax
add eax, edi
and eax, ecx
mov dword [esp + 0x30], eax
pcmpeqd xmm2, xmm2
pcmpeqb xmm1, xmm2
pmovmskb eax, xmm1
test eax, eax
mov eax, dword [esp + 4]
jne 0x1006052f
lea edi, [edi + eax + 0x10]
add eax, 0x10
mov dword [esp + 8], edx
mov edx, eax
jmp 0x10060416
add ebx, edx
lea eax, [ebx - 0xe8]
push 0xe8
push eax
lea eax, [esp + 0x90]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x10]
mov dword [ebx - 0xe8], eax
lea eax, [ebx - 0xe4]
push 0xd0
lea ecx, [esp + 0x178]
push ecx
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov dword [ebx - 0x14], esi
movq xmm0, qword [esp + 0x78]
movq xmm1, qword [esp + 0x80]
movq qword [ebx - 8], xmm1
movq qword [ebx - 0x10], xmm0
cmp dword [esp + 0x88], 2
je 0x10060360
lea ecx, [esp + 0x88]
call sym.core::ptr::drop_in_place_LT_sysinfo..common..system..Process_GT_::h2c56343498823b0d
jmp 0x10060360
mov edi, dword [esp + 0x30]
movzx eax, byte [ebx + edi]
test al, al
js 0x100602de
movdqa xmm0, xmmword [ebx]
pmovmskb eax, xmm0
tzcnt edi, eax
movzx eax, byte [ebx + edi]
jmp 0x100602de
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
call sym.hashbrown::raw::RawTable_LT_T_C_A_GT_::reserve_rehash::h4667a0cc5448adf0
jmp 0x100603e9
mov edi, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
mov edx, 0x8d3dcb09
mov eax, ecx
sub eax, edi
mul edx
cmp ecx, edi
je 0x100605a0
mov esi, edx
shr esi, 7
nop word cs:[eax + eax]
nop dword [eax]
mov ecx, edi
call sym.core::ptr::drop_in_place_LT_sysinfo..common..system..Process_GT_::h2c56343498823b0d
add edi, 0xe8
dec esi
jne 0x10060590
cmp dword [esp + 0x14], 0
je 0x100605b9
mov eax, dword [0x100f2e2c]
push dword [esp + 0x1c]
push 0
push dword [eax]
call sub.kernel32.dll_HeapFree
mov esi, dword [esp + 0x40]
cmp dword [esp + 0x34], 0
je 0x100605d6
mov eax, dword [0x100f2e2c]
push dword [esp + 0x38]
push 0
push dword [eax]
call sub.kernel32.dll_HeapFree
mov ecx, dword [ebp + 0xc]
lea edx, [ebx + 0x20]
test ecx, ecx
je 0x10060637
cmp byte [ebp + 0x14], 0
mov ebx, dword [ebp + 0x10]
mov eax, sym.sysinfo::common::system::System::refresh_processes_specifics::update_and_remove::he43e4c742cf997ff
mov edi, sym.sysinfo::common::system::System::refresh_processes_specifics::update::h8d1b7e828879c5c6
cmovne edi, eax
test ebx, ebx
je 0x1006062d
shl ebx, 2
mov dword [esp + 0x14], esi
mov dword [esp + 4], edi
nop word cs:[eax + eax]
nop dword [eax]
push edx
push ecx
add ecx, 4
mov edi, edx
mov esi, ecx
call dword [esp + 0xc]
mov edx, edi
mov ecx, esi
add esp, 8
add ebx, 0xfffffffc
jne 0x10060610
mov esi, dword [esp + 0x14]
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
cmp byte [ebp + 0x14], 0
je 0x1006078b
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x1006062d
mov ecx, dword [ebx + 0x20]
mov edx, dword [ebx + 0x24]
mov dword [esp + 0x14], esi
pcmpeqd xmm1, xmm1
mov dword [esp + 8], eax
movdqa xmm0, xmmword [ecx]
mov dword [esp + 0x2c], edx
mov edx, dword [ebx + 0x28]
lea edi, [ecx + 0x10]
mov dword [esp + 4], ecx
mov ebx, ecx
mov ecx, eax
pmovmskb esi, xmm0
mov dword [esp + 0x1c], edx
not esi
jmp 0x100606c8
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x18]
mov byte [eax + ecx], dl
mov ecx, dword [esp + 0x30]
mov byte [eax + ecx + 0x10], dl
mov eax, dword [esp + 0x10]
mov edx, dword [ebp + 8]
lea ecx, [ebx + eax - 0xe8]
mov eax, dword [esp + 8]
dec eax
mov dword [esp + 8], eax
mov dword [edx + 0x2c], eax
call sym.core::ptr::drop_in_place_LT_sysinfo..common..system..Process_GT_::h2c56343498823b0d
mov ecx, dword [esp + 0xc]
pcmpeqd xmm1, xmm1
lea eax, [esi - 1]
and eax, esi
dec ecx
mov esi, eax
je 0x10060629
test si, si
jne 0x100606eb
nop dword [eax]
movdqa xmm0, xmmword [edi]
add ebx, 0xfffff100
add edi, 0x10
pmovmskb esi, xmm0
cmp esi, 0xffff
je 0x100606d0
not esi
tzcnt eax, esi
neg eax
imul eax, eax, 0xf0
cmp byte [ebx + eax - 8], 0
mov byte [ebx + eax - 8], 0
jne 0x100606ba
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
lea ecx, [ebx + eax]
mov eax, dword [esp + 4]
mov edx, eax
sub edx, ecx
sar edx, 4
imul edx, edx, 0xeeeeeeef
lea ecx, [edx - 0x10]
and ecx, dword [esp + 0x2c]
movdqu xmm0, xmmword [eax + ecx]
mov dword [esp + 0x30], ecx
pcmpeqb xmm0, xmm1
pmovmskb ecx, xmm0
test ecx, ecx
je 0x10060744
bsr cx, cx
xor ecx, 0xf
jmp 0x10060748
mov cx, 0x10
mov eax, dword [esp + 4]
mov dword [esp + 0x18], edx
movdqu xmm0, xmmword [eax + edx]
pcmpeqb xmm0, xmm1
pmovmskb edx, xmm0
or edx, 0x10000
tzcnt edx, edx
add ecx, edx
mov dl, pe_nt_image_headers32
cmp cx, 0xf
ja 0x10060680
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 8]
mov dl, 0xff
inc eax
mov dword [esp + 0x1c], eax
mov dword [ecx + 0x28], eax
jmp 0x10060680
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x1006062d
mov ecx, dword [edx]
mov dword [esp + 0x14], esi
movdqa xmm0, xmmword [ecx]
lea edx, [ecx + 0x10]
pmovmskb esi, xmm0
not esi
jmp 0x100607cf
lea edi, [esi - 1]
and edi, esi
tzcnt esi, esi
neg esi
imul esi, esi, 0xf0
dec eax
mov byte [ecx + esi - 8], 0
mov esi, edi
je 0x10060629
test si, si
jne 0x100607b0
nop word cs:[eax + eax]
nop
movdqa xmm0, xmmword [edx]
add ecx, 0xfffff100
add edx, 0x10
pmovmskb esi, xmm0
cmp esi, 0xffff
je 0x100607e0
mov ebx, 0xfffffffe
sub ebx, esi
not esi
mov edi, esi
and edi, ebx
jmp 0x100607b5
push 0x100f2560
call sym.core::panicking::panic_const::panic_const_add_overflow::hf3b41c4c75c49a6d
push 0x100f2550
call sym.core::panicking::panic_const::panic_const_mul_overflow::h70cc655524f1cd1d
push 0x100f1f84
call sym.core::panicking::panic_const::panic_const_add_overflow::hf3b41c4c75c49a6d
push 0x80000
push 1
call sym.alloc::raw_vec::handle_error::he63c9115d026ec98
push 0x7d0
push 4
call sym.alloc::raw_vec::handle_error::he63c9115d026ec98
push 0x100f2024
push 0x2f
push 0x100f1ff3
call sym.core::panicking::panic::hf6244c8fb5815825
push 0x100edf90
push 0x100edd50
lea eax, [esp + 0x58]
push eax
push 0x46
push 0x100edef8
call sym.core::result::unwrap_failed::h534a40e08cfe968a
nop word [eax + eax]