Function at 0x100051c0
Capabilities:
Get number of processors
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100411f8
mov eax, dword fs:[0]
push eax
sub esp, 0x1ac
mov eax, dword [0x100c2004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0x9c], edi
mov al, byte [ebp + 8]
mov dword [ebp - 0x98], edi
mov dword [ebp - 0x9c], 0
mov byte [edi], al
mov dword [edi + 0x18], 0
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movups xmmword [edi + 0x1c], xmm0
xor eax, eax
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 7
mov word [edi + 0x1c], ax
movups xmmword [edi + 0x34], xmm0
mov dword [edi + 0x44], eax
mov dword [edi + 0x48], 7
mov word [edi + 0x34], ax
movups xmmword [edi + 0x4c], xmm0
mov dword [edi + 0x5c], eax
mov dword [edi + 0x60], 7
mov word [edi + 0x4c], ax
movups xmmword [edi + 0x64], xmm0
mov dword [edi + 0x74], eax
mov dword [edi + 0x78], 7
mov word [edi + 0x64], ax
mov dword [edi + 0x7c], eax
push str.ntdll.dll
mov byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, dword [ebp + 4]
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x100059a0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtGetNextProcess
push eax
call esi
mov ecx, dword [ebp + 4]
mov dword [edi + 4], eax
test eax, eax
je 0x100059af
push str.NtGetNextThread
push dword [ebp - 0x4c]
call esi
mov ecx, dword [ebp + 4]
mov dword [edi + 8], eax
test eax, eax
je 0x100059be
lea eax, [ebp - 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [ebp - 0x88], 0
jne 0x100052e8
push str.RtlUserThreadStart
push dword [ebp - 0x4c]
call esi
xor edx, edx
jmp 0x10005306
call fcn.1000aa70
mov ecx, eax
or eax, edx
je 0x100059cd
push edx
push ecx
mov ecx, str.RtlUserThreadStart
call fcn.1000b4f0
add esp, 8
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], edx
mov eax, dword [edi + 0x10]
or eax, edx
jne 0x10005317
mov al, 1
jmp 0x10005319
xor al, al
mov ecx, dword [ebp + 4]
test al, al
jne 0x100059d8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0
call fcn.10021dd0
push 0
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 8
push eax
push 1
push str.D:P_A__GA___WD__A__GA___S_1_15_2_1__A__GA___S_1_15_2_2_S:_ML__NW___S_1_16_0_
mov dword [ebp - 0x48], 0
call dword [sym.imp.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW]
mov ecx, dword [ebp + 4]
test eax, eax
je 0x100059e7
mov eax, dword [ebp - 0x48]
xorps xmm0, xmm0
push esi
movq qword [ebp - 0x90], xmm0
push str.WindhawkSession_u
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x44]
push 0x1a
push eax
mov dword [ebp - 0x94], 0xc
mov dword [ebp - 0x8c], 0
call fcn.10008ff0
add esp, 0x10
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x4c]
lea eax, [ebp - 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_CreatePrivateNamespaceW]
mov ecx, dword [ebp + 4]
or dword [ebp - 0x9c], 1
mov dword [ebp - 0xa0], eax
mov esi, dword [ebp - 0xa0]
test esi, esi
je 0x100059f6
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x100053e4
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x100053f2
push eax
call dword [sym.imp.KERNEL32.dll_DeleteBoundaryDescriptor]
lea eax, [edi + 0x18]
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x48], eax
cmp eax, ecx
je 0x10005433
mov ecx, dword [eax]
mov dword [ebp - 0x4c], ecx
test ecx, ecx
je 0x1000542f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov byte [ebp - 4], 9
push dword [ebp - 0x4c]
call fcn.10009010
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebp - 0xa4]
mov eax, dword [ebp - 0x48]
mov dword [eax], esi
xor esi, esi
mov byte [ebp - 4], 5
test esi, esi
je 0x10005449
push esi
mov byte [ebp - 4], 0xa
call fcn.10009010
mov byte [ebp - 4], 5
mov dword [ebp - 0x48], 0
call fcn.10022280
push ecx
lea ecx, [ebp - 0x48]
push ecx
mov ecx, eax
call fcn.100223a0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x180]
mov esi, dword [ebp - 0x48]
push str.Include
push ecx
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 4]
call eax
push ecx
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0xc
push ecx
mov ecx, eax
call fcn.100068a0
push eax
lea ecx, [edi + 0x1c]
call fcn.10004df0
mov ecx, dword [ebp - 0xa8]
cmp ecx, 8
jb 0x100054d9
mov edx, dword [ebp - 0xbc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100054cf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005a05
push ecx
push edx
call fcn.1002dd79
add esp, 8
xor eax, eax
mov dword [ebp - 0xac], 0
lea ecx, [ebp - 0x180]
mov dword [ebp - 0xa8], 7
mov word [ebp - 0xbc], ax
mov byte [ebp - 4], 0xb
call fcn.10003b70
mov eax, dword [esi]
lea ecx, [ebp - 0x19c]
push str.Exclude
push ecx
mov ecx, esi
mov eax, dword [eax + 4]
call eax
push ecx
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 0xd
push ecx
mov ecx, eax
call fcn.100068a0
push eax
lea ecx, [edi + 0x34]
call fcn.10004df0
mov ecx, dword [ebp - 0xc0]
cmp ecx, 8
jb 0x10005576
mov edx, dword [ebp - 0xd4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000556c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005a0a
push ecx
push edx
call fcn.1002dd79
add esp, 8
xor eax, eax
mov dword [ebp - 0xc4], 0
lea ecx, [ebp - 0x19c]
mov dword [ebp - 0xc0], 7
mov word [ebp - 0xd4], ax
mov byte [ebp - 4], 0xb
call fcn.10003b70
mov eax, dword [esi]
lea ecx, [ebp - 0x1b8]
push str.ThreadAttachExempt
push ecx
mov ecx, esi
mov eax, dword [eax + 4]
call eax
push ecx
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 0xe
push ecx
mov ecx, eax
call fcn.100068a0
push eax
lea ecx, [edi + 0x4c]
call fcn.10004df0
mov ecx, dword [ebp - 0xd8]
cmp ecx, 8
jb 0x10005613
mov edx, dword [ebp - 0xec]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10005609
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005a0f
push ecx
push edx
call fcn.1002dd79
add esp, 8
xor eax, eax
mov dword [ebp - 0xdc], 0
lea ecx, [ebp - 0x1b8]
mov dword [ebp - 0xd8], 7
mov word [ebp - 0xec], ax
mov byte [ebp - 4], 0xb
call fcn.10003b70
cmp byte [ebp + 8], 0
je 0x10005970
xorps xmm0, xmm0
mov dword [ebp - 0x54], 0
xor eax, eax
mov dword [ebp - 0x50], 7
movups xmmword [ebp - 0x64], xmm0
mov word [ebp - 0x64], ax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xf
call fcn.10006920
mov ecx, dword [ebp + 4]
test eax, eax
js 0x10005a14
mov ecx, dword [ebp - 0x54]
mov esi, 0x7ffffffe
mov eax, esi
sub eax, ecx
cmp eax, 0xb
jb 0x1000599b
cmp dword [ebp - 0x50], 8
lea eax, [ebp - 0x64]
push 0xb
cmovae eax, dword [ebp - 0x64]
push str.lsass.exe
push ecx
push eax
push ecx
push dword [ebp - 0x98]
lea ecx, [ebp - 0x104]
call fcn.100069f0
lea ecx, [ebp - 0x104]
push ecx
lea ecx, [edi + 0x64]
call fcn.10004df0
mov ecx, dword [ebp - 0xf0]
cmp ecx, 8
jb 0x10005705
mov edx, dword [ebp - 0x104]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100056fb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005a24
push ecx
push edx
call fcn.1002dd79
add esp, 8
mov ecx, dword [ebp - 0x54]
mov eax, esi
sub eax, ecx
cmp eax, 0xe
jb 0x1000599b
cmp dword [ebp - 0x50], 8
lea eax, [ebp - 0x64]
push 0xe
cmovae eax, dword [ebp - 0x64]
push str.winlogon.exe
push ecx
push eax
push ecx
push dword [ebp - 0x98]
lea ecx, [ebp - 0x11c]
call fcn.100069f0
lea eax, [ebp - 0x11c]
mov byte [ebp - 4], 0x10
push eax
lea ecx, [edi + 0x64]
call fcn.10007bc0
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x108]
cmp ecx, 8
jb 0x10005792
mov edx, dword [ebp - 0x11c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10005788
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005a24
push ecx
push edx
call fcn.1002dd79
add esp, 8
mov ecx, dword [ebp - 0x54]
mov eax, esi
sub eax, ecx
cmp eax, 9
jb 0x1000599b
cmp dword [ebp - 0x50], 8
lea eax, [ebp - 0x64]
push 9
cmovae eax, dword [ebp - 0x64]
push str.dwm.exe
push ecx
push eax
push ecx
push dword [ebp - 0x98]
lea ecx, [ebp - 0x134]
call fcn.100069f0
lea eax, [ebp - 0x134]
mov byte [ebp - 4], 0x11
push eax
lea ecx, [edi + 0x64]
call fcn.10007bc0
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x120]
cmp ecx, 8
jb 0x1000581f
mov edx, dword [ebp - 0x134]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10005815
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005a24
push ecx
push edx
call fcn.1002dd79
add esp, 8
mov ecx, dword [ebp - 0x54]
mov eax, esi
sub eax, ecx
cmp eax, 0xd
jb 0x1000599b
cmp dword [ebp - 0x50], 8
lea eax, [ebp - 0x64]
push 0xd
cmovae eax, dword [ebp - 0x64]
push str.logonui.exe
push ecx
push eax
push ecx
push dword [ebp - 0x98]
lea ecx, [ebp - 0x14c]
call fcn.100069f0
lea eax, [ebp - 0x14c]
mov byte [ebp - 4], 0x12
push eax
lea ecx, [edi + 0x64]
call fcn.10007bc0
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x138]
cmp ecx, 8
jb 0x100058ac
mov edx, dword [ebp - 0x14c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100058a2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005a24
push ecx
push edx
call fcn.1002dd79
add esp, 8
mov ecx, dword [ebp - 0x54]
sub esi, ecx
cmp esi, 0xc
jb 0x1000599b
cmp dword [ebp - 0x50], 8
lea eax, [ebp - 0x64]
push 0xc
cmovae eax, dword [ebp - 0x64]
push str.consent.exe
push ecx
push eax
push ecx
push dword [ebp - 0x98]
lea ecx, [ebp - 0x164]
call fcn.100069f0
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 0x13
push eax
lea ecx, [edi + 0x64]
call fcn.10007bc0
mov ecx, dword [ebp - 0x150]
cmp ecx, 8
jb 0x10005933
mov edx, dword [ebp - 0x164]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10005929
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005a24
push ecx
push edx
call fcn.1002dd79
add esp, 8
mov ecx, dword [ebp - 0x50]
cmp ecx, 8
jb 0x1000596d
mov edx, dword [ebp - 0x64]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10005963
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005a24
push ecx
push edx
call fcn.1002dd79
add esp, 8
mov esi, dword [ebp - 0x48]
test esi, esi
je 0x1000597c
mov edx, dword [esi]
mov ecx, esi
push 1
call dword [edx]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002db4b
mov esp, ebp
pop ebp
ret 4
call fcn.10004e80
push str.engine_all_processes_injector.cpp
mov edx, 0x3d
call fcn.10008fa0
push str.engine_all_processes_injector.cpp
mov edx, 0x41
call fcn.10008fa0
push str.engine_all_processes_injector.cpp
mov edx, 0x45
call fcn.10008fa0
mov ecx, dword [ebp + 4]
sub esp, 8
call fcn.10007ce0
push str.engine_all_processes_injector.cpp
mov edx, 0x5b
call fcn.10008fa0
push str.engine_session_private_namespace.cpp
mov edx, 0x39
call fcn.10008fa0
push str.engine_session_private_namespace.cpp
mov edx, 0x45
call fcn.10008fa0
call fcn.10033a4a
call fcn.10033a4a
call fcn.10033a4a
push eax
push str.engine_all_processes_injector.cpp
mov edx, 0x69
call fcn.10007c70
call fcn.10033a4a
int3