Function at 0x4584b0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4ffdac
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x23c
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], ebp
call fcn.004dcef0
mov eax, dword [0x55a6f0]
xor edi, edi
mov dword [esp + 0x254], edi
mov dword [esp + 0x34], eax
mov ebx, 1
push edi
lea ecx, [esp + 0x38]
mov byte [esp + 0x258], bl
mov dword [esp + 0x28], vtable.CFileException.0
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], 0xffffffff
call fcn.004dca0b
mov eax, dword [ebp + 0x74]
mov esi, 2
cmp eax, edi
mov dword [esp + 0x254], esi
jne 0x458534
mov ecx, ebp
call fcn.00459080
lea ecx, [ebp + 0x10]
push edi
mov dword [0x55f948], ecx
mov edx, dword [ecx]
call dword [edx + 0x2c]
mov eax, dword [esp + 0x25c]
lea ecx, [esp + 0x1c8]
push ecx
mov dword [esp + 0x60], 0
mov edi, dword [eax + 0xc]
mov dword [esp + 0x1c], edi
call fcn.00480f30
push 0x178
lea edx, [esp + 0x58]
push 0x3e
push edx
mov dword [esp + 0x60], eax
call fcn.0047fc30
lea eax, [esp + 0x60]
push eax
call fcn.00480ea0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
mov dword [esp + 0x80], ecx
mov eax, dword [eax + 8]
lea ecx, [esp + 0x64]
mov dword [esp + 0x84], eax
push ecx
mov dword [esp + 0x8c], 3
mov dword [esp + 0x90], esi
call fcn.00480680
mov eax, dword [esp + 0x27c]
add esp, 0x18
test eax, eax
je 0x4585d6
lea edx, [esp + 0x50]
push ebx
push edx
call fcn.00480900
add esp, 8
jmp 0x4585fd
mov eax, dword [esp + 0x268]
test eax, eax
je 0x4585fd
mov edx, dword [esp + 0x94]
xor ecx, ecx
cmp eax, esi
sete cl
inc ecx
mov dword [edx + 8], ecx
mov eax, dword [esp + 0x94]
mov dword [eax + 0xc], ebx
push ebx
lea ecx, [esp + 0x54]
push 0x64
push ecx
call fcn.00480660
lea edx, [esp + 0x5c]
push ebx
push edx
call fcn.004803b0
mov eax, dword [ebp + 0xc]
mov edx, dword [esp + 0x68]
push ebx
lea ecx, [esp + 0x68]
mov eax, dword [eax + 4]
imul eax, dword [esp + 0x8c]
mov esi, eax
push esi
push ebx
push ecx
mov dword [esp + 0x40], esi
call dword [edx + 8]
mov edx, dword [edi + 0x14]
mov dword [esp + 0x38], eax
mov eax, dword [edi + 8]
add esp, 0x24
lea ecx, [eax - 1]
mov dword [esp + 0x3c], ecx
mov ecx, dword [edi + 0x18]
lea edi, [eax - 1]
mov eax, dword [esp + 0x70]
imul edi, edx
mov edx, dword [esp + 0x130]
add edi, ecx
cmp edx, eax
jae 0x458731
jmp 0x458670
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
test esi, esi
mov eax, dword [eax]
jle 0x458687
mov ecx, edi
sub ecx, eax
mov dl, byte [ecx + eax]
mov byte [eax], dl
inc eax
dec esi
jne 0x45867e
mov eax, dword [esp + 0x25c]
xor esi, esi
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0x34]
mov ebp, dword [eax + 0x30]
mov eax, dword [esp + 0x14]
mov ebx, ecx
shr ebx, 8
mov eax, dword [eax]
mov edx, ecx
mov byte [esp + 0x12], bl
mov ebx, dword [esp + 0x6c]
shr edx, 0x10
test ebx, ebx
jbe 0x4586f4
mov bl, byte [eax]
mov byte [esp + 0x13], bl
mov bl, byte [eax + 2]
mov byte [eax], bl
mov bl, byte [esp + 0x13]
test ebp, ebp
mov byte [eax + 2], bl
je 0x4586e8
cmp byte [eax], 0x80
jne 0x4586e8
cmp byte [eax + 1], 0x80
jne 0x4586e8
cmp byte [eax + 2], 0x81
jne 0x4586e8
mov bl, byte [esp + 0x12]
mov byte [eax], cl
mov byte [eax + 1], bl
mov byte [eax + 2], dl
mov ebx, dword [esp + 0x6c]
add eax, 3
inc esi
cmp esi, ebx
jb 0x4586b5
mov eax, dword [esp + 0x3c]
dec eax
mov dword [esp + 0x3c], eax
js 0x458706
mov ecx, dword [esp + 0x18]
sub edi, dword [ecx + 0x14]
mov edx, dword [esp + 0x14]
push 1
lea eax, [esp + 0x54]
push edx
push eax
call fcn.00480430
mov ecx, dword [esp + 0x13c]
mov eax, dword [esp + 0x7c]
add esp, 0xc
cmp ecx, eax
jb 0x45866c
mov ebp, dword [esp + 0x20]
lea edx, [esp + 0x50]
push edx
call fcn.0047fd60
lea eax, [esp + 0x54]
push eax
call fcn.0047fd00
mov ecx, dword [esp + 0x268]
mov edx, dword [esp + 0x264]
add esp, 8
push ecx
push edx
mov ecx, ebp
call fcn.00459360
mov eax, dword [esp + 0x268]
mov ecx, ebp
push eax
call fcn.00458830
mov dword [esp + 0x24], vtable.CFileException.0
lea ecx, [esp + 0x34]
mov dword [esp + 0x254], 3
call fcn.004dc882
mov ecx, dword [esp + 0x24c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x248
ret 0x10