Function at 0x4cffa0
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.004cac70
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 0x4d005f
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 0x4d0399
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 0x4d01c6
mov eax, ebx
mov dword [esp + 0x3c], ebx
nop
cmp ecx, ebp
jbe 0x4d01cd
lea ecx, [esp + 0x44]
cmp ecx, eax
je 0x4d00df
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 0x4d0126
test esi, esi
je 0x4d0114
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 0x4d0126
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4d0134
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor esi, esi
mov dword [esp + 0x18], esi
test edi, edi
je 0x4d014a
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 0x4d018d
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 0x4d018d
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov byte [esp + 0x80], 5
test esi, esi
je 0x4d019f
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 0x4d00c0
mov esi, dword [esp + 0x38]
mov ebx, dword [esp + 0x2c]
lea eax, [ecx - 1]
cmp ecx, eax
ja 0x4d01d7
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 0x4d01ef
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 0x4d037d
cmp eax, ebp
jbe 0x4d01cd
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 0x4d025a
mov ecx, dword [eax]
mov esi, eax
push eax
call dword [ecx + 4]
mov dword [esp + 0x20], esi
test edi, edi
je 0x4d0296
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 0x4d0296
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov byte [esp + 0x80], 8
test esi, esi
je 0x4d02a8
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 0x4d02da
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [ebx]
mov dword [ebx], esi
test eax, eax
je 0x4d02da
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 0x4d0313
test ebx, ebx
je 0x4d0305
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
mov eax, dword [esi]
mov dword [esi], ebx
test eax, eax
je 0x4d0313
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 0x4d0343
test ebx, ebx
je 0x4d0333
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
mov eax, dword [esi + 4]
mov dword [esi + 4], ebx
test eax, eax
je 0x4d0343
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x40]
call fcn.004cb050
mov byte [esp + 0x80], 5
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4d0362
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 0x4d0207
mov ebx, dword [esp + 0x2c]
cmp dword [esp + 0x58], 8
jb 0x4d0395
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4d0395
push eax
call fcn.005074d4
add esp, 4
mov ebp, dword [esp + 0x30]
mov byte [esp + 0x80], 3
test edi, edi
je 0x4d03ab
mov eax, dword [edi]
push edi
call dword [eax + 8]
test ebx, ebx
je 0x4d03ed
mov esi, ebx
cmp ebx, ebp
je 0x4d03e4
cmp dword [esi + 0x14], 8
jb 0x4d03ca
mov eax, dword [esi]
test eax, eax
je 0x4d03ca
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 0x4d03b5
push ebx
call fcn.005074d4
add esp, 4
cmp dword [esp + 0x70], 8
jb 0x4d0405
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4d0405
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 0x4d0434
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esp + 0x88]
test ecx, ecx
je 0x4d0445
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esp + 0x80], 0xffffffff
mov ebx, dword [esp + 0x94]
test ebx, ebx
je 0x4d0461
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