Function at 0x49d6b2
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, 0x230
mov word [esp + 8], dx
shr edx, 0x10
mov dword [esp + 4], ecx
mov byte [esp + 0xa], dl
call fcn.00495710
lea edi, [esp + 0x88]
mov esi, edx
mov edx, eax
mov ecx, edi
push 0x19db1de
push 0xd53e8000
push esi
call fcn.00495790
add esp, 0xc
mov eax, dword [edi]
or eax, dword [edi + 4]
je 0x49d703
xor eax, eax
xor ecx, ecx
jmp 0x49d711
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
mov edi, 0x80000
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov ecx, edi
xor edx, edx
call fcn.0044c587
and dword [esp + 0x28], 0
mov ebx, eax
mov esi, edx
lea eax, [esp + 0x28]
push eax
push edi
push ebx
push 5
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x49d762
mov edx, esi
mov esi, dword [esp + 0x28]
mov ecx, ebx
call fcn.004a8f7f
add edi, edi
lea eax, [esi + 0x2800]
test esi, esi
cmovne edi, eax
jmp 0x49d71e
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x68], esi
push 4
pop ecx
mov edx, 0x7d0
call fcn.0045244b
test eax, eax
je 0x49dc8f
lea edi, [esp + 0x34]
mov ecx, dword [esp + 0x1c]
xor edx, edx
xor esi, esi
mov dword [edi], eax
mov dword [edi + 4], 0x1f4
and dword [edi + 8], 0
cmp edx, dword [esp + 0x38]
lea ebx, [ecx + esi]
jne 0x49d7b0
mov ecx, edi
call fcn.00447680
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
mov dword [eax + edx*4], ebx
mov edx, dword [esp + 0x3c]
inc edx
mov dword [esp + 0x3c], edx
mov ecx, dword [ebx]
add esi, ecx
test ecx, ecx
mov ecx, dword [esp + 0x1c]
jne 0x49d798
mov eax, dword [esp + 4]
cmp byte [esp + 8], 0
mov dword [esp + 0x74], eax
je 0x49d7f0
lea ecx, [eax + 0x90]
xor edx, edx
mov edi, eax
xor esi, esi
call fcn.0049dde3
mov ecx, dword [edi + 0xd8]
jmp 0x49d7f4
xor ecx, ecx
xor esi, esi
lea eax, [esp + 0x80]
movq xmm0, qword [esp + 0x34]
lea edx, [esp + 8]
mov dword [esp + 0x10], 8
and dword [esp + 0x14], 0
and dword [esp + 0x18], 0
mov dword [eax + 4], esi
mov esi, dword [esp + 0x3c]
mov dword [eax], ecx
lea ecx, [esp + 0x74]
movq qword [esp + 0x88], xmm0
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x78]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x8c]
cmp eax, esi
mov dword [esp], eax
jb 0x49dc9e
lea eax, [esp + 0x94]
mov ecx, esi
mov eax, dword [eax - 0xc]
mov dword [esp + 0xc], eax
call fcn.0049c2c9
lea edi, [esp + 0x40]
lea ebx, [esp + 0x94]
mov edx, esi
mov ecx, edi
push ebx
push esi
mov esi, dword [esp + 0x14]
push esi
push 1
push eax
push 0
call fcn.0049af27
add esp, 0x18
mov eax, dword [esp]
test eax, eax
je 0x49d8b4
shl eax, 2
push 4
pop edx
mov ecx, esi
push eax
call fcn.00408eed
pop eax
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 4]
xor edx, edx
sub eax, 1
jb 0x49d8d1
mov edi, dword [edi]
test edi, edi
je 0x49d8d1
add edx, dword [edi + 8]
add edi, 0xc
jmp 0x49d8be
lea ecx, [esp + 0x10]
call fcn.0049c5f8
mov eax, dword [esp + 0x48]
movq xmm0, qword [esp + 0x40]
lea ecx, [esp + 0x168]
mov dword [ecx + 8], eax
movq qword [ecx], xmm0
lea ecx, [esp + 0x168]
call fcn.0049af04
test eax, eax
je 0x49d988
movq xmm0, qword [eax + 4]
mov edi, dword [eax]
mov ecx, eax
movq qword [esp + 0x2c], xmm0
call fcn.00405280
test edi, edi
je 0x49d988
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x10]
mov dword [esp + 0x88], edi
mov edx, esi
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], esi
call fcn.0049c5f8
mov ebx, dword [esp + 0x18]
imul ecx, esi, 0xe0
imul eax, ebx, 0xe0
add eax, dword [esp + 0x10]
push ecx
push edi
push eax
call fcn.004ba8e0
add esp, 0xc
add ebx, esi
mov esi, dword [esp + 4]
and dword [esp + 0x90], 0
lea ecx, [esp + 0x88]
mov dword [esp + 0x18], ebx
call fcn.00498f8a
jmp 0x49d8f2
lea ecx, [esp + 0x168]
call fcn.0049aee0
mov edi, dword [esp + 0x10]
imul ecx, dword [esp + 0x18], 0xe0
mov eax, dword [esp + 0x14]
lea edx, [esi + 0x10]
mov dword [esp + 0x58], edx
lea ebx, [edi + ecx]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], edi
mov dword [esp + 0x5c], ebx
test ecx, ecx
je 0x49dbe9
mov eax, dword [edi]
cmp eax, 2
je 0x49dbe3
mov ebx, dword [edi + 0xc4]
mov dword [esp + 0x20], eax
mov dword [esp + 0x70], ecx
lea eax, [edi + 4]
push 0xc0
push eax
lea eax, [esp + 0x170]
push eax
call fcn.004ba8e0
add esp, 0xc
movsd xmm0, qword [edi + 0xc8]
movsd xmm1, qword [edi + 0xd0]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov dword [esp + 0x24], ebx
movsd qword [esp + 0x40], xmm0
movsd qword [esp + 0x48], xmm1
movsd xmm0, qword [edi + 0xd8]
mov dword [esp + 0x2c], ebx
movsd qword [esp + 0x50], xmm0
push ebx
push dword [esi + 0x1c]
push dword [esi + 0x18]
call fcn.004998f0
add esp, 0xc
cmp dword [esi + 8], 0
mov dword [esp], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
je 0x49dbd3
mov ecx, dword [esi]
mov edx, dword [esi + 4]
lea eax, [esp + 0x10]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], esi
push 0x49ce10
lea ebx, [esp + 0x8c]
push ebx
push dword [esp + 0x14]
push dword [esp + 0xc]
call fcn.0049cc7a
add esp, 0x10
mov ecx, ebx
mov ebx, esi
mov esi, edx
test eax, eax
je 0x49db27
mov eax, dword [esp + 0x2c]
mov ecx, ebx
mov edx, esi
mov dword [esp + 0x6c], eax
mov eax, dword [ebx]
movzx eax, byte [eax + esi]
push dword [esp + 0xc]
push dword [esp + 4]
push eax
call fcn.0049cd7a
add esp, 0xc
mov eax, dword [ebx]
neg esi
imul ecx, esi, 0xe8
lea esi, [eax + ecx - 0xdc]
mov eax, dword [esp + 0x6c]
mov dword [esi - 0xc], eax
mov eax, dword [esp + 0x20]
mov dword [esi - 4], eax
push 0xc0
lea eax, [esp + 0x16c]
push eax
push esi
call fcn.004ba8e0
add esp, 0xc
mov eax, dword [esp + 0x24]
mov dword [esi + 0xc0], eax
movsd xmm0, qword [esp + 0x40]
movsd xmm1, qword [esp + 0x48]
movsd qword [esi + 0xc4], xmm0
movsd qword [esi + 0xcc], xmm1
movq xmm0, qword [esp + 0x50]
movq qword [esi + 0xd4], xmm0
jmp 0x49dbba
mov ebx, dword [ebx]
neg esi
imul eax, esi, 0xe8
mov dword [esp], eax
lea esi, [ebx + eax - 0xe0]
push 0xe0
push esi
push ecx
call fcn.004ba8e0
add esp, 0xc
mov eax, dword [esp + 0x20]
mov dword [esi], eax
mov eax, dword [esp]
lea esi, [ebx + eax - 0xdc]
push 0xc0
lea eax, [esp + 0x16c]
push eax
push esi
call fcn.004ba8e0
add esp, 0xc
mov eax, dword [esp + 0x24]
mov dword [esi + 0xc0], eax
movsd xmm0, qword [esp + 0x40]
movsd xmm1, qword [esp + 0x48]
movsd qword [esi + 0xc4], xmm0
movsd qword [esi + 0xcc], xmm1
movq xmm0, qword [esp + 0x50]
movq qword [esi + 0xd4], xmm0
cmp dword [esp + 0x88], 2
je 0x49dbba
lea ecx, [esp + 0x88]
call fcn.00498fd9
mov ecx, dword [esp + 0x70]
mov esi, dword [esp + 4]
add edi, 0xe0
add ecx, 0xffffff20
jmp 0x49d9ba
mov edx, dword [esp + 0x58]
mov ecx, esi
call fcn.004cc352
jmp 0x49da54
add edi, 0xe0
mov eax, dword [esp + 0x5c]
mov ecx, 0xe0
xor edx, edx
sub eax, edi
div ecx
mov ecx, edi
mov edx, eax
call fcn.00498fbc
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
call fcn.00498fa7
mov eax, dword [esi]
mov ecx, dword [esi + 4]
lea edi, [esp + 0x88]
mov ebx, 0xe8
movdqa xmm0, xmmword [eax]
lea ecx, [ecx + eax + 1]
mov dword [edi], eax
add eax, 0x10
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
mov ecx, dword [esi + 0xc]
pmovmskb eax, xmm0
not eax
mov word [edi + 0xc], ax
mov dword [edi + 0x10], ecx
mov ecx, edi
call fcn.0049cacc
test eax, eax
je 0x49dc7a
cmp byte [eax - 4], 0
mov esi, eax
mov byte [eax - 4], 0
jne 0x49dc42
mov ecx, dword [esp + 4]
mov eax, dword [ecx]
sub eax, esi
cdq
idiv ebx
mov edx, eax
call fcn.0049ce65
add esi, 0xffffff20
mov ecx, esi
call fcn.00498fd9
jmp 0x49dc42
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x68]
call fcn.004a8f7f
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 4
pop ecx
mov edx, 0x7d0
call fcn.004c8580
ud2
push 0x2f
pop edx
mov ecx, str.assertion_failed:_vec.capacity_____start___lenC:UsersAdministrator.WIN7_2021OVWRCZ.cargo_registry_srcmirrors.ustc.edu.cn_12df342d903acd47_rayon_1.7.0_src_vec.rs
push 0x4ec7c8
call fcn.004c88c0
pop eax
ud2