Function at 0x419c28
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x41a303
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x671d34], 0
je 0x419cfb
call fcn.00423684
test al, al
je 0x419cfb
cmp dword [esi + 0xb8], 0x1000
jb 0x419ca7
mov eax, dword [esi + 0xb8]
mov edx, 1
call fcn.0041f7d4
test al, al
je 0x419ca7
mov edi, dword [esi + 0xb8]
mov eax, edi
call fcn.0041f928
cmp eax, edi
je 0x419ca7
lea edx, [ebp - 0xc]
mov eax, dword [esi + 0xb8]
call dword [0x671d34]
jmp 0x419caf
lea eax, [ebp - 0xc]
call fcn.00405dd0
cmp dword [esi + 0xb8], 0x1000
jae 0x419cf1
cmp dword [ebp - 0x38], 0x1000
jb 0x419cf1
mov edx, 1
mov eax, dword [ebp - 0x38]
call fcn.0041f7d4
test al, al
je 0x419cf1
mov edi, dword [ebp - 0x38]
mov eax, edi
call fcn.0041f928
cmp eax, edi
je 0x419cf1
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x38]
call dword [0x671d34]
jmp 0x419d0b
lea eax, [ebp - 0x10]
call fcn.00405dd0
jmp 0x419d0b
lea eax, [ebp - 0xc]
call fcn.00405dd0
lea eax, [ebp - 0x10]
call fcn.00405dd0
mov eax, ebx
test eax, eax
je 0x419d16
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
test edx, edx
je 0x419d22
sub edx, 4
mov edx, dword [edx]
mov edi, dword [ebp - 0x10]
test edi, edi
je 0x419d2e
sub edi, 4
mov edi, dword [edi]
add eax, 0x64
shl eax, 5
add edx, eax
add edi, edx
mov eax, edi
call fcn.004124d4
mov edi, eax
mov dword [ebp - 4], edi
xor eax, eax
mov dword [ebp - 8], eax
push ebp
mov eax, ebx
call fcn.00419b80
pop ecx
push ebp
mov eax, 0x41a31c
call fcn.00419b80
pop ecx
push ebp
mov eax, dword [esi]
call fcn.00419be0
pop ecx
push ebp
mov eax, ebx
call fcn.00419b80
pop ecx
push ebp
mov eax, 0x41a334
call fcn.00419b80
pop ecx
push ebp
mov eax, dword [esi + 0xc0]
call fcn.00419be0
pop ecx
push ebp
mov eax, ebx
call fcn.00419b80
pop ecx
push ebp
mov eax, 0x41a344
call fcn.00419b80
pop ecx
push ebp
mov eax, dword [esi + 0xb0]
call fcn.00419be0
pop ecx
push ebp
mov eax, ebx
call fcn.00419b80
pop ecx
push ebp
mov eax, 0x41a354
call fcn.00419b80
pop ecx
push ebp
mov eax, dword [esi + 0xa4]
call fcn.00419be0
pop ecx
push ebp
mov eax, ebx
call fcn.00419b80
pop ecx
push ebp
mov eax, 0x41a364
call fcn.00419b80
pop ecx
push ebp
mov eax, dword [esi + 0xac]
call fcn.00419be0
pop ecx
push ebp
mov eax, ebx
call fcn.00419b80
pop ecx
push ebp
mov eax, 0x41a374
call fcn.00419b80
pop ecx
push ebp
mov eax, dword [esi + 0xa8]
call fcn.00419be0
pop ecx
push ebp
mov eax, ebx
call fcn.00419b80
pop ecx
push ebp
mov eax, 0x41a384
call fcn.00419b80
pop ecx
push ebp
mov eax, dword [esi + 0x9c]
call fcn.00419be0
pop ecx
push ebp
mov eax, ebx
call fcn.00419b80
pop ecx
push ebp
mov eax, 0x41a394
call fcn.00419b80
pop ecx
push ebp
mov eax, dword [esi + 0xa0]
call fcn.00419be0
pop ecx
push ebp
mov eax, ebx
call fcn.00419b80
pop ecx
push ebp
mov eax, 0x41a3a4
call fcn.00419b80
pop ecx
push ebp
mov eax, dword [esi + 0xb4]
call fcn.00419be0
pop ecx
push ebp
mov eax, ebx
call fcn.00419b80
pop ecx
push ebp
mov eax, 0x41a3b4
call fcn.00419b80
pop ecx
push ebp
mov eax, dword [esi + 0xc4]
call fcn.00419be0
pop ecx
lea eax, [ebp - 0x38]
xor ecx, ecx
mov edx, 0x24
call fcn.0040d87c
lea eax, [ebp - 0x14]
push eax
push 0x24
lea eax, [ebp - 0x38]
push eax
mov eax, dword [esi + 0xc4]
push eax
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_ReadProcessMemory
cmp dword [ebp - 0x10], 0
je 0x419ef9
push ebp
mov eax, ebx
call fcn.00419b80
pop ecx
push ebp
mov eax, 0x41a3c4
call fcn.00419b80
pop ecx
push ebp
mov eax, dword [ebp - 0x10]
call fcn.00419bb4
pop ecx
lea eax, [ebp - 0x10]
mov edx, dword [0x4011dc]
call fcn.00406d08
jmp 0x419f18
push ebp
mov eax, ebx
call fcn.00419b80
pop ecx
push ebp
mov eax, 0x41a3c4
call fcn.00419b80
pop ecx
push ebp
mov eax, dword [ebp - 0x38]
call fcn.00419be0
pop ecx
push ebp
mov eax, ebx
call fcn.00419b80
pop ecx
push ebp
mov eax, 0x41a3d4
call fcn.00419b80
pop ecx
push ebp
mov eax, dword [ebp - 0x34]
call fcn.00419be0
pop ecx
push ebp
mov eax, ebx
call fcn.00419b80
pop ecx
push ebp
mov eax, 0x41a3e8
call fcn.00419b80
pop ecx
push ebp
mov eax, dword [ebp - 0x30]
call fcn.00419be0
pop ecx
push ebp
mov eax, ebx
call fcn.00419b80
pop ecx
push ebp
mov eax, 0x41a3fc
call fcn.00419b80
pop ecx
push ebp
mov eax, dword [ebp - 0x2c]
call fcn.00419be0
pop ecx
push ebp
mov eax, ebx
call fcn.00419b80
pop ecx
push ebp
mov eax, 0x41a410
call fcn.00419b80
pop ecx
push ebp
mov eax, dword [ebp - 0x28]
call fcn.00419be0
pop ecx
push ebp
mov eax, ebx
call fcn.00419b80
pop ecx
push ebp
mov eax, 0x41a424
call fcn.00419b80
pop ecx
push ebp
mov eax, dword [ebp - 0x24]
call fcn.00419be0
pop ecx
push ebp
mov eax, ebx
call fcn.00419b80
pop ecx
push ebp
mov eax, 0x41a438
call fcn.00419b80
pop ecx
push ebp
mov eax, dword [ebp - 0x20]
call fcn.00419be0
pop ecx
push ebp
mov eax, ebx
call fcn.00419b80
pop ecx
push ebp
mov eax, 0x41a44c
call fcn.00419b80
pop ecx
push ebp
mov eax, dword [ebp - 0x1c]
call fcn.00419be0
pop ecx
push ebp
mov eax, ebx
call fcn.00419b80
pop ecx
push ebp
mov eax, 0x41a460
call fcn.00419b80
pop ecx
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00419be0
pop ecx
cmp dword [ebp - 0xc], 0
je 0x41a045
push ebp
mov eax, ebx
call fcn.00419b80
pop ecx
push ebp
mov eax, 0x41a474
call fcn.00419b80
pop ecx
push ebp
mov eax, dword [ebp - 0xc]
call fcn.00419bb4
pop ecx
lea eax, [ebp - 0xc]
mov edx, dword [0x4011dc]
call fcn.00406d08
jmp 0x41a067
push ebp
mov eax, ebx
call fcn.00419b80
pop ecx
push ebp
mov eax, 0x41a474
call fcn.00419b80
pop ecx
push ebp
mov eax, dword [esi + 0xb8]
call fcn.00419be0
pop ecx
push ebp
mov eax, ebx
call fcn.00419b80
pop ecx
push ebp
mov eax, 0x41a484
call fcn.00419b80
pop ecx
push ebp
mov eax, dword [esi + 0xbc]
call fcn.00419be0
pop ecx
push ebp
mov eax, ebx
call fcn.00419b80
pop ecx
push ebp
mov eax, 0x41a494
call fcn.00419b80
pop ecx
push ebp
mov eax, dword [esi + 0xc8]
call fcn.00419be0
pop ecx
push ebp
mov eax, ebx
call fcn.00419b80
pop ecx
push ebp
mov eax, 0x41a4a4
call fcn.00419b80
pop ecx
push ebp
mov eax, dword [esi + 0x8c]
call fcn.00419be0
pop ecx
push ebp
mov eax, ebx
call fcn.00419b80
pop ecx
push ebp
mov eax, 0x41a4b4
call fcn.00419b80
pop ecx
push ebp
mov eax, dword [esi + 0x90]
call fcn.00419be0
pop ecx
push ebp
mov eax, ebx
call fcn.00419b80
pop ecx
push ebp
mov eax, 0x41a4c4
call fcn.00419b80
pop ecx
push ebp
mov eax, dword [esi + 0x94]
call fcn.00419be0
pop ecx
push ebp
mov eax, ebx
call fcn.00419b80
pop ecx
push ebp
mov eax, 0x41a4d4
call fcn.00419b80
pop ecx
push ebp
mov eax, dword [esi + 0x98]
call fcn.00419be0
pop ecx
push ebp
mov eax, ebx
call fcn.00419b80
pop ecx
push ebp
mov eax, 0x41a4e4
call fcn.00419bb4
pop ecx
push ebp
mov eax, ebx
call fcn.00419b80
pop ecx
push ebp
mov eax, 0x41a50c
call fcn.00419b80
pop ecx
push ebp
mov eax, dword [esi + 0x1c]
call fcn.00419be0
pop ecx
push ebp
mov eax, ebx
call fcn.00419b80
pop ecx
push ebp
mov eax, 0x41a52c
call fcn.00419b80
pop ecx
push ebp
mov eax, dword [esi + 0x20]
call fcn.00419be0
pop ecx
push ebp
mov eax, ebx
call fcn.00419b80
pop ecx
push ebp
mov eax, 0x41a54c
call fcn.00419b80
pop ecx
push ebp
mov eax, dword [esi + 0x24]
call fcn.00419be0
pop ecx
push ebp
mov eax, ebx
call fcn.00419b80
pop ecx
push ebp
mov eax, 0x41a568
call fcn.00419b80
pop ecx
push ebp
mov eax, dword [esi + 0x28]
call fcn.00419be0
pop ecx
push ebp
mov eax, ebx
call fcn.00419b80
pop ecx
push ebp
mov eax, 0x41a588
call fcn.00419b80
pop ecx
push ebp
mov eax, dword [esi + 0x2c]
call fcn.00419be0
pop ecx
push ebp
mov eax, ebx
call fcn.00419b80
pop ecx
push ebp
mov eax, 0x41a5ac
call fcn.00419b80
pop ecx
push ebp
mov eax, dword [esi + 0x30]
call fcn.00419be0
pop ecx
push ebp
mov eax, ebx
call fcn.00419b80
pop ecx
push ebp
mov eax, 0x41a5cc
call fcn.00419b80
pop ecx
push ebp
mov eax, dword [esi + 0x34]
call fcn.00419be0
pop ecx
push ebp
mov eax, ebx
call fcn.00419b80
pop ecx
push ebp
mov eax, 0x41a5ec
call fcn.00419b80
pop ecx
push ebp
mov eax, dword [esi + 4]
call fcn.00419be0
pop ecx
push ebp
mov eax, ebx
call fcn.00419b80
pop ecx
push ebp
mov eax, 0x41a5fc
call fcn.00419b80
pop ecx
push ebp
mov eax, dword [esi + 8]
call fcn.00419be0
pop ecx
push ebp
mov eax, ebx
call fcn.00419b80
pop ecx
push ebp
mov eax, 0x41a60c
call fcn.00419b80
pop ecx
push ebp
mov eax, dword [esi + 0xc]
call fcn.00419be0
pop ecx
push ebp
mov eax, ebx
call fcn.00419b80
pop ecx
push ebp
mov eax, 0x41a61c
call fcn.00419b80
pop ecx
push ebp
mov eax, dword [esi + 0x10]
call fcn.00419be0
pop ecx
push ebp
mov eax, ebx
call fcn.00419b80
pop ecx
push ebp
mov eax, 0x41a62c
call fcn.00419b80
pop ecx
push ebp
mov eax, dword [esi + 0x14]
call fcn.00419be0
pop ecx
push ebp
mov eax, ebx
call fcn.00419b80
pop ecx
push ebp
mov eax, 0x41a63c
call fcn.00419b80
pop ecx
push ebp
mov eax, dword [esi + 0x18]
call fcn.00419be0
pop ecx
mov edx, dword [ebp - 8]
sub edx, 2
mov eax, edi
call fcn.004125f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41a30a
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00405df4
ret