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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x250
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], 0
mov eax, dword [0x101d408c]
lea ecx, [esp + 0x168]
push ecx
call eax
mov eax, dword [esp + 0x168]
mov ecx, dword [esp + 0x16c]
mov edx, 0xd53e7fff
mov esi, 0x19db1de
sub edx, eax
sbb esi, ecx
setl bl
add edx, 1
adc esi, 0
add eax, 0x2ac18000
adc ecx, 0xfe624e21
test bl, bl
cmove eax, edx
test bl, bl
cmove ecx, esi
push 0
push 0x989680
push ecx
push eax
call fcn.101b9908
add esp, 0x10
mov edi, dword [0x103564a0]
xor ecx, ecx
test bl, bl
lea esi, [esp + 0x50]
cmove eax, ecx
test bl, bl
mov ebx, 0x80000
cmove edx, ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
jmp 0x10175b0c
xor ebx, ebx
test eax, eax
je 0x10175b0c
add eax, eax
mov ebx, eax
push dword [esp + 0x2c]
push 0
mov eax, dword [0x1035648c]
push dword [eax]
call sub.KERNEL32.dll_HeapFree
test ebx, ebx
je 0x10175b50
js 0x101763be
movzx eax, byte [edi]
mov eax, dword [0x1035648c]
mov eax, dword [eax]
test eax, eax
jne 0x10175b39
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x101763b1
mov ecx, dword [0x1035648c]
mov dword [ecx], eax
push ebx
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
jne 0x10175b55
jmp 0x101763b1
mov eax, 1
mov dword [esp + 0x50], 0
push esi
push ebx
mov dword [esp + 0x34], eax
push eax
push 5
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
jne 0x10175b93
mov eax, ebx
mov ebx, dword [esp + 0x50]
test ebx, ebx
je 0x10175af0
add ebx, 0x2800
test eax, eax
jne 0x10175afa
jmp 0x10175b0c
movzx eax, byte [edi]
mov eax, dword [0x1035648c]
mov eax, dword [eax]
mov dword [esp + 0x3c], ebx
test eax, eax
jne 0x10175bba
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x101763c5
mov ecx, dword [0x1035648c]
mov dword [ecx], eax
push 0x7d0
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x101763c5
mov esi, eax
xor ebx, ebx
xor edi, edi
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], 0x1f4
mov dword [esp + 0x48], 0
jmp 0x10175c0e
mov esi, dword [esp + 0x40]
mov ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x2c]
add eax, edi
mov dword [esi + ebx*4], eax
inc ebx
mov dword [esp + 0x48], ebx
mov eax, dword [eax]
add edi, eax
test eax, eax
je 0x10175c21
cmp ebx, dword [esp + 0x44]
jne 0x10175bf8
lea ecx, [esp + 0x40]
mov edx, ebx
call fcn.1016d360
jmp 0x10175bf0
mov eax, dword [ebp + 8]
cmp byte [ebp + 0xc], 0
mov dword [esp + 0x64], eax
je 0x10175c48
lea ecx, [eax + 0x90]
xor edx, edx
xor edi, edi
call fcn.10171500
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xd8]
jmp 0x10175c4c
xor eax, eax
xor edi, edi
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x74], edi
lea ecx, [esp + 0x64]
lea edi, [ebp + 0xc]
lea edx, [esp + 0x70]
mov dword [esp + 0x170], ebx
mov dword [esp + 0x30], 8
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x18], esi
mov dword [esp + 0x174], ecx
mov dword [esp + 0x178], edi
mov dword [esp + 0x17c], edx
lea edi, [esp + 0x68]
lea edx, [esp + 0x18]
mov dword [esp + 0x180], edi
mov dword [esp + 0x168], esi
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
cmp ebx, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x16c], eax
mov dword [esp + 0x20], 0
ja 0x101763d6
push 0
call fcn.10088750
add esp, 4
test eax, eax
je 0x101763ec
mov eax, dword [eax]
test eax, eax
je 0x10175d0b
add eax, 0x8c
jmp 0x10175d10
call fcn.10087320
mov eax, dword [eax]
xor ecx, ecx
cmp ebx, 0xffffffff
lea edi, [esp + 0x174]
sete cl
mov eax, dword [eax + 0xf8]
cmp ecx, eax
cmova eax, ecx
mov edx, ebx
lea ecx, [esp + 0x7c]
push edi
push ebx
push esi
push 1
push eax
push 0
call fcn.1016e0d0
add esp, 0x18
test ebx, ebx
je 0x10175d4c
cmp dword [esp + 0x20], ebx
jne 0x10175d54
mov dword [esp + 0x20], 0
cmp dword [esp + 0x1c], 0
je 0x10175d6d
push dword [esp + 0x18]
push 0
mov eax, dword [0x1035648c]
push dword [eax]
call sub.KERNEL32.dll_HeapFree
mov ecx, dword [esp + 0x84]
movq xmm0, qword [esp + 0x7c]
test ecx, ecx
movq qword [esp + 0x18], xmm0
mov dword [esp + 0x20], ecx
je 0x10175dc0
mov edx, dword [esp + 0x18]
test edx, edx
je 0x10175dc0
xor eax, eax
nop word cs:[eax + eax]
nop dword [eax]
add eax, dword [edx + 8]
dec ecx
je 0x10175dad
mov edx, dword [edx + 0xc]
test edx, edx
jne 0x10175da0
test eax, eax
je 0x10175dc0
xor edx, edx
lea ecx, [esp + 0x30]
push eax
call fcn.1016da50
add esp, 4
movq xmm0, qword [esp + 0x18]
mov eax, dword [esp + 0x20]
movq qword [esp + 0x88], xmm0
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x88]
test eax, eax
je 0x10175ee8
mov esi, dword [esp + 0x90]
dec esi
jmp 0x10175e11
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
dec esi
test eax, eax
je 0x10175ee8
mov edi, dword [eax + 0xc]
lea edx, [esp + 0x8c]
lea ecx, [edi + 0x10]
test edi, edi
mov dword [esp + 0x88], edi
cmove ecx, edx
mov dword [ecx], 0
mov dword [esp + 0x90], esi
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebx, dword [eax + 8]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
push eax
push 0
mov eax, dword [0x1035648c]
push dword [eax]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [esp + 4]
test eax, eax
je 0x10175ee8
mov dword [esp + 0x10], edi
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
mov edx, dword [esp + 8]
mov dword [esp + 0x168], eax
mov dword [esp + 0xc], esi
mov dword [esp + 0x170], ebx
sub ecx, edi
mov dword [esp + 0x16c], edx
cmp ecx, ebx
jae 0x10175ea4
mov edx, edi
lea ecx, [esp + 0x30]
push ebx
call fcn.1016da50
add esp, 4
mov edi, dword [esp + 0x38]
imul eax, edi, 0xe0
imul ecx, ebx, 0xe0
add eax, dword [esp + 0x30]
push ecx
mov esi, dword [esp + 8]
push esi
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
add edi, ebx
cmp dword [esp + 8], 0
mov dword [esp + 0x38], edi
je 0x10175e00
push esi
push 0
mov eax, dword [0x1035648c]
push dword [eax]
call sub.KERNEL32.dll_HeapFree
jmp 0x10175e00
mov ebx, dword [ebp + 8]
lea edi, [esp + 0x8c]
nop word cs:[eax + eax]
nop dword [eax]
mov esi, dword [esp + 0x88]
test esi, esi
je 0x10175f2a
mov eax, dword [esi + 0xc]
lea ecx, [eax + 0x10]
test eax, eax
mov dword [esp + 0x88], eax
cmove ecx, edi
mov dword [ecx], 0
dec dword [esp + 0x90]
mov ecx, esi
lea edx, [esp + 0x88]
call fcn.1016a8b0
test esi, esi
jne 0x10175f00
mov edx, dword [esp + 0x38]
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
imul eax, edx, 0xe0
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x20], edi
add eax, edi
test edx, edx
mov edx, edi
mov dword [esp + 0x24], eax
je 0x10176214
lea ecx, [ebx + 0x10]
mov esi, edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x4c], edi
mov dword [esp + 0x58], ecx
jmp 0x1017600a
mov byte [esp + 8], al
push 0xe0
lea eax, [esp + 0x8c]
push eax
lea eax, [esp + 0x174]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
movzx eax, byte [esp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x60]
and al, 1
movzx eax, al
sub dword [ecx + 8], eax
lea eax, [esi - 0x10]
mov byte [edi + esi], dl
neg esi
and eax, ebx
mov byte [eax + edi + 0x10], dl
inc dword [ecx + 0xc]
mov ecx, dword [esp + 4]
imul eax, esi, 0xe8
mov dword [edi + eax - 0xe8], ecx
lea eax, [edi + eax - 0xe4]
push 0xe4
lea ecx, [esp + 0x16c]
push ecx
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov esi, dword [esp + 0xc]
nop dword [eax]
cmp esi, dword [esp + 0x14]
je 0x1017620a
lea eax, [esi + 0xe0]
mov dword [esp + 0x20], eax
mov dword [esp + 0xc], eax
mov edi, dword [esi]
cmp edi, 2
je 0x101761fc
mov ebx, dword [esi + 0xc4]
lea eax, [esi + 4]
push 0xc0
push eax
lea eax, [esp + 0x94]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
movsd xmm0, qword [esi + 0xc8]
movq xmm1, qword [esi + 0xd0]
lea eax, [esp + 0x150]
movsd qword [eax], xmm0
movq qword [eax + 8], xmm1
movq xmm0, qword [esi + 0xd8]
movq qword [eax + 0x10], xmm0
mov eax, dword [ebp + 8]
mov dword [esp + 0x88], edi
mov dword [esp + 0x14c], ebx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov dword [esp + 4], ebx
push ebx
mov ebx, dword [ebp + 8]
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
call fcn.1016c9d0
add esp, 0xc
cmp dword [ebx + 8], 0
mov esi, eax
jne 0x101760af
mov edx, dword [esp + 0x58]
mov ecx, ebx
call fcn.101704c0
mov eax, esi
mov edi, dword [ebx]
mov ebx, dword [ebx + 4]
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0
shr eax, 0x19
movd xmm0, eax
mov dword [esp + 0x60], eax
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0
pshufd xmm0, xmm0, 0
and esi, ebx
movdqa xmm2, xmm0
movdqu xmm1, xmmword [edi + esi]
pcmpeqb xmm2, xmm1
pmovmskb edx, xmm2
nop word cs:[eax + eax]
nop dword [eax]
test dx, dx
je 0x10176130
lea eax, [edx - 1]
tzcnt ecx, edx
add ecx, esi
and eax, edx
mov edx, dword [esp + 4]
and ecx, ebx
neg ecx
imul ecx, ecx, 0xe8
cmp dword [edi + ecx - 0xe8], edx
mov edx, eax
jne 0x10176100
jmp 0x10176180
cmp dword [esp + 8], 1
mov ecx, 1
je 0x10176153
pmovmskb eax, xmm1
xor ecx, ecx
test eax, eax
setne cl
tzcnt eax, eax
add eax, esi
and eax, ebx
mov dword [esp + 0x5c], eax
pcmpeqd xmm2, xmm2
pcmpeqb xmm1, xmm2
pmovmskb eax, xmm1
test eax, eax
jne 0x101761d7
mov eax, dword [esp + 0x10]
mov dword [esp + 8], ecx
lea esi, [esi + eax + 0x10]
add eax, 0x10
mov dword [esp + 0x10], eax
jmp 0x101760df
add edi, ecx
add edi, 0xffffff20
push 0xe0
push edi
lea eax, [esp + 0x170]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
push 0xe0
lea eax, [esp + 0x8c]
push eax
push edi
call sub.msvcrt.dll_memcpy
add esp, 0xc
cmp dword [esp + 0x168], 2
mov esi, dword [esp + 0xc]
je 0x10176000
lea ecx, [esp + 0x168]
call fcn.1016b510
jmp 0x10176000
mov esi, dword [esp + 0x5c]
movzx eax, byte [edi + esi]
test al, al
js 0x10175f84
movdqa xmm0, xmmword [edi]
pmovmskb eax, xmm0
tzcnt esi, eax
movzx eax, byte [edi + esi]
jmp 0x10175f84
mov edi, dword [esp + 0x4c]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
jmp 0x10176214
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x4c]
mov edx, eax
sub eax, edx
mov ecx, edx
mov edx, 0x24924925
shr eax, 5
mul edx
mov esi, edx
inc esi
nop word cs:[eax + eax]
nop
cmp esi, 1
je 0x10176245
lea ebx, [ecx + 0xe0]
dec esi
call fcn.1016b510
mov ecx, ebx
jmp 0x10176230
cmp dword [esp + 0x54], 0
je 0x1017625b
push edi
push 0
mov eax, dword [0x1035648c]
push dword [eax]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x10176390
mov edi, dword [eax]
pcmpeqd xmm1, xmm1
movdqa xmm0, xmmword [edi]
lea ebx, [edi + 0x10]
pmovmskb esi, xmm0
not esi
jmp 0x101762c7
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 4]
lea eax, [edi + eax - 0xe0]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 8]
mov byte [ecx + eax], dl
mov eax, dword [esp + 0x14]
mov byte [eax + ecx + 0x10], dl
mov ecx, dword [ebp + 8]
dec dword [ecx + 0xc]
mov ecx, dword [esp + 0xc]
call fcn.1016b510
mov ecx, dword [esp + 0x10]
pcmpeqd xmm1, xmm1
lea eax, [esi - 1]
and eax, esi
dec ecx
mov esi, eax
je 0x10176390
test si, si
jne 0x101762e9
nop dword [eax]
movdqa xmm0, xmmword [ebx]
add edi, 0xfffff180
add ebx, 0x10
pmovmskb esi, xmm0
cmp si, 0xffff
je 0x101762d0
not esi
tzcnt eax, esi
neg eax
imul eax, eax, 0xe8
cmp byte [edi + eax - 4], 0
mov byte [edi + eax - 4], 0
jne 0x101762b9
mov edx, dword [ebp + 8]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
lea ecx, [edi + eax]
mov eax, dword [edx]
mov edx, eax
mov dword [esp + 4], eax
sub edx, ecx
sar edx, 3
imul ecx, edx, 0x4f72c235
mov edx, dword [ebp + 8]
mov dword [esp + 8], ecx
add ecx, 0xfffffff0
and ecx, dword [edx + 4]
movdqu xmm0, xmmword [eax + ecx]
mov dword [esp + 0x14], ecx
pcmpeqb xmm0, xmm1
psllw xmm0, 7
pmovmskb ecx, xmm0
test ecx, ecx
je 0x10176352
bsr cx, cx
xor ecx, 0xf
jmp 0x10176356
mov cx, 0x10
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
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 0x10176280
mov ecx, dword [ebp + 8]
mov dl, 0xff
inc dword [ecx + 8]
jmp 0x10176280
cmp dword [esp + 0x3c], 0
je 0x101763a9
push dword [esp + 0x2c]
push 0
mov eax, dword [0x1035648c]
push dword [eax]
call sub.KERNEL32.dll_HeapFree
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push ebx
push 1
call fcn.1001a7e0
add esp, 8
ud2
call fcn.1001a7a0
ud2
push 0x7d0
push 4
call fcn.1001a7e0
add esp, 8
jmp 0x1017640a
push 0x1034d584
push 0x2f
push str.assertion_failed:_vec.capacity_____start___len_usr_local_cargo_registry_src_index.crates.io_6f17d22bba15001f_rayon_1.6.1_src_vec.rs_
call fcn.10026890
add esp, 0xc
jmp 0x1017640a
lea eax, [esp + 0x7c]
push 0x102476d4
push 0x1024745c
push eax
push 0x46
push 0x1024763c
call fcn.10026bb0
add esp, 0x14
ud2