Function at 0x49f480
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5b1c70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0xfc]
mov ecx, dword [eax + 4]
lea esi, [edi + 0xf8]
push ecx
mov ecx, esi
mov dword [esp + 0x1c], edi
call fcn.0049ef00
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
xor ebp, ebp
mov dword [esi + 8], ebp
mov dword [eax], eax
mov esi, dword [esi + 4]
mov dword [esi + 8], esi
mov edx, dword [edi + 0x108]
mov eax, dword [edx + 4]
lea esi, [edi + 0x104]
push eax
mov ecx, esi
call fcn.0049ef40
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [esi + 8], ebp
mov dword [eax], eax
mov esi, dword [esi + 4]
push ebp
push 0x5bb9c6
lea ecx, [esp + 0x2c]
mov dword [esi + 8], esi
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebp
mov byte [esp + 0x30], 0
call fcn.004041a0
mov esi, vtable.CFilename.0
mov dword [esp + 0x20], esi
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [edi + 0x24]
mov dword [esp + 0x54], ebp
call fcn.00403eb0
mov eax, dword [esp + 0x3c]
mov ebx, 0x10
cmp eax, ebx
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x20], esi
jb 0x49f55d
mov edx, dword [esp + 0x28]
push edx
call fcn.0057ad56
add esp, 4
push ebp
push 0x5bb9c6
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebp
mov byte [esp + 0x30], 0
call fcn.004041a0
mov dword [esp + 0x20], esi
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0x2c]
push eax
lea ecx, [edi + 0x44]
mov dword [esp + 0x54], 1
call fcn.00403eb0
cmp dword [esp + 0x3c], ebx
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x20], esi
jb 0x49f5b8
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0057ad56
add esp, 4
push ebp
push 0x5bb9c6
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebp
mov byte [esp + 0x30], 0
call fcn.004041a0
mov dword [esp + 0x20], esi
push 0xffffffffffffffff
push ebp
lea edx, [esp + 0x2c]
push edx
lea ecx, [edi + 0x64]
mov dword [esp + 0x54], 2
call fcn.00403eb0
cmp dword [esp + 0x3c], ebx
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x20], esi
jb 0x49f613
mov eax, dword [esp + 0x28]
push eax
call fcn.0057ad56
add esp, 4
push 0xb
push 0x5cc3c0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebp
mov byte [esp + 0x30], 0
call fcn.004041a0
mov dword [esp + 0x20], esi
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [edi + 0x84]
mov dword [esp + 0x54], 3
call fcn.00403eb0
cmp dword [esp + 0x3c], ebx
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x20], esi
jb 0x49f672
mov edx, dword [esp + 0x28]
push edx
call fcn.0057ad56
add esp, 4
mov eax, dword [edi + 0xd8]
mov ecx, dword [eax + 4]
lea esi, [edi + 0xd4]
push ecx
mov ecx, esi
call fcn.00457bf0
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [esi + 8], ebp
mov dword [eax], eax
mov esi, dword [esi + 4]
mov dword [esi + 8], esi
mov edx, dword [edi + 0xc0]
mov eax, dword [edx + 4]
lea esi, [edi + 0xbc]
push eax
mov ecx, esi
call fcn.0049eec0
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [esi + 8], ebp
mov dword [eax], eax
mov esi, dword [esi + 4]
mov dword [esi + 8], esi
mov ecx, dword [edi + 0xf0]
mov edx, dword [ecx + 4]
lea esi, [edi + 0xec]
push edx
mov ecx, esi
call fcn.00403c50
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [esi + 8], ebp
mov dword [eax], eax
mov esi, dword [esi + 4]
mov dword [esi + 8], esi
mov eax, dword [edi + 0xe4]
mov ecx, dword [eax + 4]
lea esi, [edi + 0xe0]
push ecx
mov ecx, esi
call fcn.0049cde0
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [esi + 8], ebp
mov dword [eax], eax
mov esi, dword [esi + 4]
mov dword [esi + 8], esi
mov eax, dword [edi + 0xcc]
mov ebx, dword [eax]
cmp ebx, eax
mov dword [esp + 0x10], ebx
je 0x49f88c
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx + 0xc]
mov esi, dword [eax]
cmp esi, eax
mov dword [esp + 0x14], ecx
je 0x49f7dc
xor ebx, ebx
mov edi, dword [esi + 0x14]
test edi, edi
je 0x49f77b
mov ecx, dword [esi + 0x18]
sub ecx, edi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jae 0x49f77b
mov edx, dword [ebx + edi + 8]
push edx
call fcn.004a4610
add esp, 4
inc ebp
add ebx, 0xc
jmp 0x49f748
mov al, byte [esi + 0x21]
test al, al
jne 0x49f7c3
mov eax, dword [esi + 8]
mov cl, byte [eax + 0x21]
test cl, cl
jne 0x49f7a4
mov esi, eax
mov eax, dword [esi]
mov cl, byte [eax + 0x21]
test cl, cl
jne 0x49f7c3
mov esi, eax
mov eax, dword [esi]
mov cl, byte [eax + 0x21]
test cl, cl
je 0x49f797
jmp 0x49f7c3
mov eax, dword [esi + 4]
mov cl, byte [eax + 0x21]
test cl, cl
jne 0x49f7c1
mov edi, edi
cmp esi, dword [eax + 8]
jne 0x49f7c1
mov esi, eax
mov eax, dword [eax + 4]
mov cl, byte [eax + 0x21]
test cl, cl
je 0x49f7b0
mov esi, eax
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0xc]
xor ebp, ebp
cmp esi, eax
jne 0x49f746
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
mov esi, dword [0x628a7c]
cmp esi, ebp
mov edx, dword [0x628a80]
mov dword [esp + 0x1c], ecx
je 0x49f818
mov ecx, dword [0x628a84]
mov eax, edx
sub eax, esi
sub ecx, esi
sar eax, 2
sar ecx, 2
cmp eax, ecx
jae 0x49f818
mov ecx, dword [esp + 0x14]
mov eax, edx
add eax, 4
mov dword [edx], ecx
mov dword [0x628a80], eax
jmp 0x49f82a
lea eax, [esp + 0x1c]
push eax
push 1
push edx
mov ecx, 0x628a78
call fcn.0049be80
mov al, byte [ebx + 0x15]
test al, al
jne 0x49f880
mov ecx, dword [ebx + 8]
mov al, byte [ecx + 0x15]
test al, al
jne 0x49f855
mov eax, dword [ecx]
mov dl, byte [eax + 0x15]
test dl, dl
jne 0x49f84f
mov ecx, eax
mov eax, dword [ecx]
mov dl, byte [eax + 0x15]
test dl, dl
je 0x49f844
mov dword [esp + 0x10], ecx
jmp 0x49f87c
mov eax, dword [ebx + 4]
mov cl, byte [eax + 0x15]
test cl, cl
jne 0x49f878
jmp 0x49f865
mov ebx, dword [esp + 0x10]
cmp ebx, dword [eax + 8]
jne 0x49f878
mov dword [esp + 0x10], eax
mov eax, dword [eax + 4]
mov cl, byte [eax + 0x15]
test cl, cl
je 0x49f861
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x10]
cmp ebx, dword [edi + 0xcc]
jne 0x49f732
mov ecx, dword [edi + 0xcc]
mov esi, dword [ecx + 4]
mov al, byte [esi + 0x15]
test al, al
lea ebx, [edi + 0xc8]
mov dword [esp + 0x14], esi
jne 0x49f8cb
mov edx, dword [esi + 8]
push edx
mov ecx, ebx
call fcn.0049b210
mov eax, dword [esp + 0x14]
mov esi, dword [esi]
push eax
call fcn.0057ad56
mov al, byte [esi + 0x15]
add esp, 4
test al, al
mov dword [esp + 0x14], esi
je 0x49f8a6
mov eax, dword [ebx + 4]
mov dword [eax + 4], eax
mov eax, dword [ebx + 4]
mov dword [ebx + 8], ebp
mov dword [eax], eax
mov ebx, dword [ebx + 4]
mov ecx, edi
mov dword [ebx + 8], ebx
call fcn.0049c800
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret