Function at 0x4e4120
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5422b8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x595c60]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x595c60]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x38], esi
lea ecx, [esp + 0x5c]
mov dword [esp + 0x80], 1
call fcn.004dfd60
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
sub esp, 0x18
mov byte [esp + 0x98], 3
mov ecx, esp
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esp + 0x7c]
push eax
call fcn.0047c410
lea edx, [esp + 0x44]
mov ecx, 0x2f
call fcn.004784e0
mov ebx, dword [esp + 0xac]
xor edi, edi
add esp, 0x18
mov dword [esp + 0x40], edi
test ebx, ebx
je 0x4e41df
mov eax, dword [ebx]
mov edi, ebx
push ebx
call dword [eax + 4]
mov dword [esp + 0x40], edi
mov ebp, dword [esp + 0x30]
mov eax, 0x2aaaaaab
mov ebx, dword [esp + 0x2c]
mov ecx, ebp
sub ecx, ebx
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [esp + 0x20], ecx
je 0x4e4519
xor eax, eax
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], 0
mov word [esp + 0x44], ax
xor ebp, ebp
mov byte [esp + 0x80], 5
lea eax, [ecx - 1]
mov dword [esp + 0x24], eax
lea edx, [ebp + 3]
test eax, eax
je 0x4e4346
mov eax, ebx
mov dword [esp + 0x3c], ebx
nop
cmp ecx, ebp
jbe 0x4e434d
lea ecx, [esp + 0x44]
cmp ecx, eax
je 0x4e425f
push 0xffffffffffffffff
push 0
push eax
call fcn.0047c410
mov edx, 3
lea eax, [esp + 0x44]
push eax
sub esp, 0x10
lea ecx, [esp + 0x9c]
mov eax, esp
mov word [eax], dx
mov dword [eax + 8], 1
lea eax, [esp + 0x30]
push eax
call fcn.00500ea0
mov esi, dword [eax]
cmp edi, esi
je 0x4e42a6
test esi, esi
je 0x4e4294
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, edi
mov edi, esi
mov dword [esp + 0x40], edi
test eax, eax
je 0x4e42a6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4e42b4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor esi, esi
mov dword [esp + 0x18], esi
test edi, edi
je 0x4e42ca
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov esi, edi
mov dword [esp + 0x18], esi
mov ebx, dword [esp + 0x94]
test ebx, ebx
je 0x4e430d
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x1c]
call fcn.00501a50
push 0
mov byte [esp + 0x84], 7
push dword [eax]
mov ecx, dword [ebx]
push ebx
call dword [ecx + 0x54]
mov byte [esp + 0x80], 6
mov ebx, eax
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x4e430d
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov byte [esp + 0x80], 5
test esi, esi
je 0x4e431f
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [esp + 0x3c]
inc ebp
mov ecx, dword [esp + 0x20]
add eax, 0x18
mov edx, 3
mov dword [esp + 0x3c], eax
cmp ebp, dword [esp + 0x24]
jb 0x4e4240
mov esi, dword [esp + 0x38]
mov ebx, dword [esp + 0x2c]
lea eax, [ecx - 1]
cmp ecx, eax
ja 0x4e4357
push str.invalid_vector_T__subscript
call fcn.005289ed
lea eax, [eax + eax*2]
lea eax, [ebx + eax*8]
lea ecx, [esp + 0x44]
cmp ecx, eax
je 0x4e436f
push 0xffffffffffffffff
push 0
push eax
call fcn.0047c410
mov eax, dword [esi + 4]
xor ebp, ebp
mov ecx, dword [esi]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x4e44fd
cmp eax, ebp
jbe 0x4e434d
mov eax, dword [ecx + ebp*4]
mov ecx, 3
mov dword [esp + 0x28], eax
lea eax, [esp + 0x44]
push eax
sub esp, 0x10
mov eax, esp
mov word [eax], cx
lea ecx, [esp + 0x9c]
mov dword [eax + 8], 1
lea eax, [esp + 0x2c]
push eax
call fcn.00500ea0
mov byte [esp + 0x80], 8
xor esi, esi
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], esi
test eax, eax
je 0x4e43da
mov ecx, dword [eax]
mov esi, eax
push eax
call dword [ecx + 4]
mov dword [esp + 0x20], esi
test edi, edi
je 0x4e4416
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x24]
call fcn.00501a50
push 0
mov byte [esp + 0x84], 0xa
push dword [eax]
mov ecx, dword [edi]
push edi
call dword [ecx + 0x54]
mov byte [esp + 0x80], 9
mov ebx, eax
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x4e4416
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov byte [esp + 0x80], 8
test esi, esi
je 0x4e4428
mov eax, dword [esi]
push esi
call dword [eax + 8]
push 1
push ecx
push esp
lea ecx, [esp + 0x24]
call fcn.00501630
push ecx
mov ebx, esp
mov dword [ebx], 0
mov esi, dword [esp + 0x24]
test esi, esi
je 0x4e445a
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [ebx]
mov dword [ebx], esi
test eax, eax
je 0x4e445a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
sub esp, 0xc
mov esi, esp
mov dword [esi], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov ebx, dword [esp + 0xa0]
cmp dword [esi], ebx
je 0x4e4493
test ebx, ebx
je 0x4e4485
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
mov eax, dword [esi]
mov dword [esi], ebx
test eax, eax
je 0x4e4493
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, byte [esp + 0xa8]
mov byte [esi + 8], al
mov ebx, dword [esp + 0xa4]
cmp dword [esi + 4], ebx
je 0x4e44c3
test ebx, ebx
je 0x4e44b3
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
mov eax, dword [esi + 4]
mov dword [esi + 4], ebx
test eax, eax
je 0x4e44c3
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x40]
call fcn.004e07a0
mov byte [esp + 0x80], 5
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4e44e2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [esp + 0x38]
inc ebp
mov eax, dword [esi + 4]
mov ecx, dword [esi]
sub eax, ecx
sar eax, 2
cmp eax, ebp
ja 0x4e4387
mov ebx, dword [esp + 0x2c]
cmp dword [esp + 0x58], 8
jb 0x4e4515
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4e4515
push eax
call fcn.005074d4
add esp, 4
mov ebp, dword [esp + 0x30]
mov byte [esp + 0x80], 3
test edi, edi
je 0x4e452b
mov eax, dword [edi]
push edi
call dword [eax + 8]
test ebx, ebx
je 0x4e456d
mov esi, ebx
cmp ebx, ebp
je 0x4e4564
cmp dword [esi + 0x14], 8
jb 0x4e454a
mov eax, dword [esi]
test eax, eax
je 0x4e454a
push eax
call fcn.005074d4
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
add esi, 0x18
cmp esi, ebp
jne 0x4e4535
push ebx
call fcn.005074d4
add esp, 4
cmp dword [esp + 0x70], 8
jb 0x4e4585
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4e4585
push eax
call fcn.005074d4
add esp, 4
xor eax, eax
mov dword [esp + 0x70], 7
mov byte [esp + 0x80], al
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x6c], 0
mov word [esp + 0x5c], ax
test ecx, ecx
je 0x4e45b4
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esp + 0x88]
test ecx, ecx
je 0x4e45c5
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esp + 0x80], 0xffffffff
mov ebx, dword [esp + 0x94]
test ebx, ebx
je 0x4e45e1
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00506c7d
add esp, 0x70
ret