Function at 0x4da269
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, 0x258
mov word [esp + 0xc], dx
shr edx, 0x10
mov dword [esp], ecx
mov byte [esp + 0xe], dl
call fcn.004d11a0
lea edi, [esp + 0x98]
mov esi, edx
mov edx, eax
mov ecx, edi
push 0x19db1de
push 0xd53e8000
push esi
call fcn.004d1220
add esp, 0xc
mov eax, dword [edi]
or eax, dword [edi + 4]
je 0x4da2b9
xor eax, eax
xor ecx, ecx
jmp 0x4da2c7
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0xa4]
mov edi, 0x80000
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov ecx, edi
call fcn.00441781
and dword [esp + 0x30], 0
mov ebx, eax
mov esi, edx
lea eax, [esp + 0x30]
push eax
push edi
push edx
push 5
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x4da316
mov edx, esi
mov esi, dword [esp + 0x30]
mov ecx, ebx
call fcn.004c2719
add edi, edi
lea eax, [esi + 0x2800]
test esi, esi
cmovne edi, eax
jmp 0x4da2d4
mov dword [esp + 0x58], ebx
mov dword [esp + 0x2c], esi
push 4
pop edx
mov ecx, 0x7d0
call fcn.004946d6
test eax, eax
je 0x4da83b
lea edi, [esp + 0x34]
xor edx, edx
xor esi, esi
mov dword [edi], 0x1f4
mov dword [edi + 4], eax
and dword [edi + 8], 0
mov ecx, dword [esp + 0x2c]
cmp edx, dword [esp + 0x34]
lea ebx, [ecx + esi]
jne 0x4da364
mov ecx, edi
call fcn.00481fa0
mov eax, dword [esp + 0x38]
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
jne 0x4da348
mov edi, dword [esp]
cmp byte [esp + 0xc], 0
mov dword [esp + 0x6c], edi
je 0x4da39a
lea ecx, [edi + 0x40]
xor edx, edx
xor esi, esi
call fcn.004da8e2
mov ecx, dword [edi + 0x88]
jmp 0x4da39e
xor ecx, ecx
xor esi, esi
mov ebx, dword [esp + 0x3c]
movsd xmm0, qword [esp + 0x34]
lea eax, [esp + 0x90]
and dword [esp + 0x18], 0
mov dword [esp + 0x1c], 8
and dword [esp + 0x20], 0
mov dword [eax], ecx
lea ecx, [esp + 0x6c]
mov dword [eax + 4], esi
mov dword [esp + 0xb0], ebx
movsd qword [esp + 0xa8], xmm0
mov dword [esp + 0x98], ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x9c], ecx
lea ecx, [esp + 0x70]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
mov edi, dword [esp + 0xa8]
cmp edi, ebx
jb 0x4da84a
mov eax, dword [esp + 0xac]
mov ecx, ebx
mov dword [esp + 8], eax
call fcn.004d7b60
lea esi, [esp + 0x98]
lea ecx, [esp + 0x84]
mov edx, ebx
push esi
mov esi, dword [esp + 0xc]
push ebx
push esi
push 1
push eax
push 0
call fcn.004d513f
add esp, 0x18
test edi, edi
je 0x4da456
shl edi, 2
mov ecx, esi
mov edx, edi
push 4
call fcn.00403a30
pop eax
lea ebx, [esp + 0x84]
mov ecx, ebx
call fcn.004d7ea8
lea ecx, [esp + 0x18]
mov edx, eax
call fcn.004d7d42
mov eax, dword [ebx + 8]
movq xmm0, qword [ebx]
lea ecx, [esp + 0x78]
mov dword [ecx + 8], eax
movq qword [ecx], xmm0
lea ecx, [esp + 0x40]
lea edx, [esp + 0x78]
call fcn.004d7cf7
cmp dword [esp + 0x44], 0
je 0x4da4fc
mov ebx, dword [esp + 0x48]
movq xmm0, qword [esp + 0x40]
lea ecx, [esp + 0x18]
movq qword [esp + 0x98], xmm0
mov dword [esp + 0xa0], ebx
mov edx, ebx
mov esi, dword [esp + 0x9c]
call fcn.004d7d42
mov edi, dword [esp + 0x20]
imul ecx, ebx, 0xe0
imul eax, edi, 0xe0
add eax, dword [esp + 0x1c]
push ecx
push esi
push eax
call fcn.005010b0
add esp, 0xc
and dword [esp + 0xa0], 0
add edi, ebx
lea ecx, [esp + 0x98]
mov dword [esp + 0x20], edi
call fcn.004d4bbe
jmp 0x4da481
lea ecx, [esp + 0x78]
call fcn.004d50bc
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
imul ecx, dword [esp + 0x20], 0xe0
mov dword [esp + 0x54], eax
lea eax, [esi + ecx]
mov dword [esp + 0x4c], eax
mov eax, dword [esp]
add eax, 0x10
mov dword [esp + 8], eax
lea eax, [esp + 0x1b0]
push 0xd
pop edi
lea edx, [esp + 0x17c]
mov dword [esp + 0x50], esi
test ecx, ecx
je 0x4da78d
mov ebx, dword [esi + 0xa0]
cmp ebx, 2
je 0x4da787
mov dword [esp + 0x28], ebx
mov dword [esp + 0x68], ecx
push 0xa0
push esi
push eax
mov ebx, edi
mov edi, edx
call fcn.005010b0
add esp, 0xc
mov eax, dword [esi + 0xa4]
mov dword [esp + 0x64], esi
mov ecx, ebx
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0xa8]
add esi, 0xac
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp]
mov ebx, eax
mov dword [esp + 0x40], eax
mov ecx, dword [edi]
mov edx, dword [edi + 4]
push eax
push dword [edi + 0xc]
push dword [edi + 8]
call fcn.004d68d3
add esp, 0xc
mov ecx, dword [esp + 8]
mov esi, edx
mov dword [esp + 0x10], eax
mov edx, eax
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x18], esi
push esi
call fcn.004d6973
pop ecx
pop edx
test eax, eax
je 0x4da658
mov esi, eax
lea edi, [eax + 8]
push 0xe0
push edi
lea eax, [esp + 0xa0]
push eax
call fcn.005010b0
add esp, 0xc
push 0xa0
lea eax, [esp + 0x1b4]
push eax
push edi
call fcn.005010b0
add esp, 0xc
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov dword [esi + 0xa8], eax
mov dword [esi + 0xac], ecx
mov dword [esi + 0xb0], ebx
add esi, 0xb4
push 0xd
pop ecx
lea edx, [esp + 0x17c]
mov edi, esi
mov esi, edx
rep movsd dword es:[edi], dword [esi]
cmp dword [esp + 0x138], 2
je 0x4da764
lea ecx, [esp + 0x98]
call fcn.004d4c0c
lea edx, [esp + 0x17c]
jmp 0x4da764
mov eax, dword [esp + 0x40]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x5c], eax
push 0xa0
lea eax, [esp + 0x1b4]
push eax
lea eax, [esp + 0xa4]
push eax
call fcn.005010b0
add esp, 0xc
mov ecx, dword [edi + 0x10]
mov ebx, dword [edi + 0x1c]
mov edx, ebx
push dword [esp + 0x14]
push dword [esp + 0x14]
call fcn.004a2fcf
pop ecx
pop edx
mov cl, byte [ebx + eax]
cmp dword [edi + 0x14], 0
mov esi, eax
jne 0x4da6db
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov eax, ecx
and al, 1
je 0x4da6e3
mov esi, dword [esp]
mov byte [esp + 7], cl
mov ecx, dword [esp + 8]
mov edx, esi
call fcn.00510328
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x1c]
push ebx
push edi
call fcn.004a2fcf
mov cl, byte [esp + 0xf]
add esp, 8
mov esi, eax
jmp 0x4da6e3
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
movzx eax, cl
mov ecx, dword [esp + 8]
mov edx, esi
push ebx
push edi
push eax
call fcn.004d83c7
add esp, 0xc
mov eax, dword [esp]
neg esi
imul esi, esi, 0xe8
mov ebx, dword [eax + 0x1c]
mov eax, dword [esp + 0x5c]
lea edi, [ebx + esi - 0xe4]
mov dword [edi - 4], eax
push 0xa4
lea eax, [esp + 0x9c]
push eax
push edi
call fcn.005010b0
add esp, 0xc
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x60]
mov dword [edi + 0xa4], eax
mov eax, dword [esp + 0x24]
mov dword [edi + 0xa8], eax
mov dword [edi + 0xac], ecx
lea edi, [ebx + esi - 0x34]
push 0xd
pop ecx
lea edx, [esp + 0x17c]
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x138], 2
mov esi, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
lea eax, [esp + 0x1b0]
add esi, 0xe0
add ecx, 0xffffff20
push 0xd
pop edi
jmp 0x4da53f
add esi, 0xe0
mov eax, dword [esp + 0x4c]
mov ecx, 0xe0
xor edx, edx
sub eax, esi
div ecx
mov ecx, esi
mov edx, eax
call fcn.004d4bef
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
call fcn.004d4bd8
mov edx, dword [esp]
lea esi, [esp + 0x98]
mov ebx, 0xe8
mov eax, dword [edx + 0x1c]
lea ecx, [eax + 0x10]
movdqa xmm0, xmmword [eax]
mov dword [esi], ecx
mov ecx, dword [edx + 0x10]
lea ecx, [ecx + eax + 1]
mov dword [esi + 4], ecx
mov ecx, dword [edx + 0x18]
mov dword [esi + 8], eax
pmovmskb eax, xmm0
not eax
mov word [esi + 0xc], ax
mov dword [esi + 0x10], ecx
mov ecx, esi
call fcn.004d808f
test eax, eax
je 0x4da826
cmp byte [eax - 8], 0
mov edi, eax
mov byte [eax - 8], 0
jne 0x4da7ea
mov eax, dword [esp]
mov eax, dword [eax + 0x1c]
sub eax, edi
cdq
idiv ebx
mov ecx, dword [esp + 8]
mov edx, eax
call fcn.004d8467
add edi, 0xffffff20
mov ecx, edi
call fcn.004d4c0c
jmp 0x4da7ea
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x2c]
call fcn.004c2719
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 4
pop edx
mov ecx, 0x7d0
call fcn.0050d210
ud2
push 0x2f
pop edx
mov ecx, str.assertion_failed:_vec.capacity_____start___len.cargo_registry_srcindex.crates.io_1cd66030c949c28d_rayon_1.8.0_src_vec.rs
push 0x558b00
call fcn.0050d590
pop eax
ud2