Function at 0x549f80
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x743f96
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x22c
push ebx
push ebp
mov ebp, dword [esp + 0x244]
mov eax, dword [ebp + 0x29c]
push esi
lea ecx, [ebp + 0x29c]
push edi
call dword [eax + 0x2c]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x30], eax
je 0x54a559
mov ebx, dword [esp + 0x250]
lea ebx, [ebx]
mov edx, dword [ebp + 0x29c]
lea ecx, [ebp + 0x29c]
lea eax, [esp + 0x30]
push eax
call dword [edx + 0x34]
mov esi, dword [eax]
mov edx, dword [esi]
mov eax, edx
shr eax, 0x18
sub eax, edi
mov dword [esp + 0x2c], esi
je 0x54a01f
sub eax, 1
je 0x54a011
sub eax, 1
jne 0x54a541
mov ecx, dword [0x912e94]
mov ecx, dword [ecx + 0x2e4]
jmp 0x54a02b
mov ecx, dword [0x912e94]
mov ecx, dword [ecx + 0x2e0]
jmp 0x54a02b
mov ecx, dword [0x912e94]
mov ecx, dword [ecx + 0x2dc]
mov eax, dword [ecx]
push edx
call dword [eax + 0x18]
cmp eax, edi
je 0x54a541
lea ecx, [eax - 0x18]
cmp ecx, edi
je 0x54a541
mov edx, dword [ecx]
call dword [edx + 0x30]
cmp eax, edi
mov dword [esp + 0x10], eax
je 0x54a541
mov edx, dword [eax]
push edi
mov ecx, eax
call dword [edx + 0xd4]
push eax
call fcn.00659110
add esp, 8
cmp eax, edi
je 0x54a541
mov cl, byte [esi + 4]
test cl, cl
je 0x54a54f
cmp cl, 0x64
jb 0x54a088
mov byte [esp + 0x14], 0x64
jmp 0x54a0af
cmp cl, 0x4b
jb 0x54a094
mov byte [esp + 0x14], 0x4b
jmp 0x54a0af
cmp cl, 0x32
jb 0x54a0a0
mov byte [esp + 0x14], 0x32
jmp 0x54a0af
cmp cl, 0x19
sbb cl, cl
and cl, 0xe7
add cl, 0x19
mov byte [esp + 0x14], cl
cmp word [esi + 0x38], di
lea ecx, [esi + 0x38]
je 0x54a421
mov edx, dword [0x912e94]
cmp dword [edx + 0x188], 0
mov ebp, dword [esi + 0xc]
mov edi, dword [esi + 8]
je 0x54a0fa
cmp byte [esi + 5], 0
je 0x54a0dd
movzx eax, word [eax + 0x20]
jmp 0x54a0e4
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x44]
push 0x7bf190
push ecx
call fcn.0071f52c
add esp, 0x10
jmp 0x54a10d
push ecx
lea edx, [esp + 0x40]
push 0x79656c
push edx
call fcn.0071f52c
add esp, 0xc
cmp byte [esi + 5], 0
je 0x54a122
mov eax, dword [esp + 0x24c]
mov esi, dword [eax + 0x2b0]
jmp 0x54a12f
mov ecx, dword [esp + 0x24c]
mov esi, dword [ecx + 0x2b4]
mov eax, dword [esp + 0x14]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x34]
mov ecx, dword [esp + 0x2c]
cmp byte [ecx + 6], 0
je 0x54a3a9
xor eax, eax
mov dword [esp + 0x18], vtable.CBArray_class_CBStr_.0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], eax
push 0xffffffffffffffff
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x24c], eax
call fcn.00413870
lea ecx, [esp + 0x18]
push ecx
push 0x25
mov ecx, eax
mov byte [esp + 0x24c], 1
call fcn.00413d40
lea ecx, [esp + 0x34]
mov byte [esp + 0x244], 0
call fcn.00412de0
mov edx, dword [esp + 0x18]
push 0
lea ecx, [esp + 0x1c]
call dword [edx + 0x14]
mov eax, dword [eax]
push 0
push eax
push 0
sub esp, 8
mov eax, esp
mov dword [esp + 0x24], esp
mov dword [eax], edi
mov dword [eax + 4], ebp
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x40]
mov edx, dword [esp + 0x18]
push 0
lea ecx, [esp + 0x1c]
call dword [edx + 0x14]
mov eax, dword [eax]
push 0
push eax
mov eax, dword [0x914218]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
push 0
push 0xa8
push 0xe3
push 0xf5
call dword [edx + 0x20]
push eax
sub esp, 8
mov eax, esp
mov dword [esp + 0x24], esp
mov dword [eax], edi
mov dword [eax + 4], ebp
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x40]
mov edx, dword [esp + 0x18]
push 0
lea ecx, [esp + 0x1c]
call dword [edx + 0x14]
mov eax, dword [eax]
mov edx, dword [esi]
push 0
push eax
mov ecx, esi
call dword [edx + 0x1c]
add edi, eax
mov eax, dword [esp + 0x18]
push 1
lea ecx, [esp + 0x1c]
call dword [eax + 0x14]
mov eax, dword [eax]
test eax, eax
je 0x54a2e1
cmp word [eax], 0
je 0x54a2e1
mov edx, dword [esp + 0x18]
push 1
lea ecx, [esp + 0x1c]
call dword [edx + 0x14]
mov eax, dword [eax]
push 0
add eax, 2
push eax
push 0
sub esp, 8
mov eax, esp
mov dword [esp + 0x24], esp
mov dword [eax], edi
mov dword [eax + 4], ebp
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x40]
mov edx, dword [esp + 0x18]
push 1
lea ecx, [esp + 0x1c]
call dword [edx + 0x14]
mov eax, dword [eax]
push 0
add eax, 2
push eax
mov eax, dword [0x914218]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
push 0
push 0
push 0
push 0xc0
call dword [edx + 0x20]
push eax
sub esp, 8
mov eax, esp
mov dword [esp + 0x24], esp
mov dword [eax], edi
mov dword [eax + 4], ebp
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x40]
mov edx, dword [esp + 0x18]
push 1
lea ecx, [esp + 0x1c]
call dword [edx + 0x14]
mov eax, dword [eax]
mov edx, dword [esi]
push 0
add eax, 2
push eax
mov ecx, esi
call dword [edx + 0x1c]
add edi, eax
mov eax, dword [esp + 0x18]
push 2
lea ecx, [esp + 0x1c]
call dword [eax + 0x14]
mov eax, dword [eax]
test eax, eax
je 0x54a36b
cmp word [eax], 0
je 0x54a36b
mov edx, dword [esp + 0x18]
push 2
lea ecx, [esp + 0x1c]
call dword [edx + 0x14]
mov eax, dword [eax]
push 0
push eax
push 0
sub esp, 8
mov eax, esp
mov dword [esp + 0x24], esp
mov dword [eax], edi
mov dword [eax + 4], ebp
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x40]
mov edx, dword [esp + 0x18]
push 2
lea ecx, [esp + 0x1c]
call dword [edx + 0x14]
mov eax, dword [eax]
push 0
push eax
mov eax, dword [0x914218]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
push 0
push 0xa8
push 0xe3
push 0xf5
call dword [edx + 0x20]
push eax
sub esp, 8
mov eax, esp
mov dword [esp + 0x24], esp
mov dword [eax], edi
mov dword [eax + 4], ebp
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x40]
mov eax, dword [esp + 0x1c]
test eax, eax
mov dword [esp + 0x244], 0xffffffff
mov dword [esp + 0x18], vtable.CBArray_class_CBStr_.0
je 0x54a40b
mov ecx, dword [eax - 4]
lea edi, [eax - 4]
push fcn.00412de0
push ecx
push 8
push eax
call fcn.0071f0d2
push edi
call fcn.0040fa80
add esp, 4
jmp 0x54a40b
push 0
lea edx, [esp + 0x40]
push edx
push 0
sub esp, 8
mov eax, esp
lea ecx, [ebp + 1]
lea edx, [edi + 1]
mov dword [eax + 4], ecx
mov dword [esp + 0x24], esp
mov dword [eax], edx
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x40]
mov edx, dword [0x914218]
push 0
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [edx + 0xc]
mov eax, dword [ecx]
push 0
push 0xa8
push 0xe3
push 0xf5
call dword [eax + 0x20]
push eax
sub esp, 8
mov eax, esp
mov dword [esp + 0x24], esp
mov dword [eax], edi
mov dword [eax + 4], ebp
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx + 0x40]
mov eax, dword [esi]
push 0x64
mov ecx, esi
call dword [eax + 0x34]
mov esi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24c]
xor edi, edi
cmp dword [esi + 0x104], edi
je 0x54a4c7
cmp byte [esi + 4], 0x64
jae 0x54a446
movzx eax, byte [esp + 0x14]
mov ecx, dword [esi + 0x104]
mov edx, dword [ecx]
push eax
push 1
call dword [edx + 0x38]
mov al, byte [esi + 6]
test al, al
je 0x54a461
mov ecx, dword [esi + 0x104]
mov edx, dword [ecx]
movzx eax, al
sub eax, 1
push eax
push 7
call dword [edx + 0x38]
mov ecx, dword [esi + 0x18]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov edx, dword [esi + 0x1c]
mov dword [eax + 4], edx
mov ecx, dword [esi + 0x20]
mov dword [eax + 8], ecx
mov edx, dword [esi + 0x24]
mov dword [esp + 0x20], esp
mov dword [eax + 0xc], edx
sub esp, 8
mov eax, esp
mov dword [eax], edi
mov dword [eax + 4], edi
mov ecx, dword [esi + 0x104]
mov eax, dword [ebx]
mov dword [esp + 0x28], esp
push ecx
mov ecx, ebx
call dword [eax + 0x3c]
cmp byte [esi + 6], 0
je 0x54a4b2
mov ecx, dword [esi + 0x104]
mov edx, dword [ecx]
push 0xffffffffffffffff
push 7
call dword [edx + 0x38]
cmp byte [esi + 4], 0x64
jae 0x54a4c7
mov ecx, dword [esi + 0x104]
mov eax, dword [ecx]
push 0x64
push 1
call dword [eax + 0x38]
cmp dword [esi + 0x10c], edi
je 0x54a54f
cmp byte [esi + 4], 0x64
jae 0x54a4ec
movzx eax, byte [esp + 0x14]
mov ecx, dword [esi + 0x10c]
mov edx, dword [ecx]
push eax
push 1
call dword [edx + 0x38]
mov ecx, dword [esi + 0x28]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov edx, dword [esi + 0x2c]
mov dword [eax + 4], edx
mov ecx, dword [esi + 0x30]
mov dword [eax + 8], ecx
mov edx, dword [esi + 0x34]
mov dword [esp + 0x20], esp
mov dword [eax + 0xc], edx
sub esp, 8
mov eax, esp
mov dword [eax], edi
mov dword [eax + 4], edi
mov ecx, dword [esi + 0x10c]
mov eax, dword [ebx]
mov dword [esp + 0x28], esp
push ecx
mov ecx, ebx
call dword [eax + 0x3c]
cmp byte [esi + 4], 0x64
jae 0x54a54f
mov esi, dword [esi + 0x10c]
mov edx, dword [esi]
push 0x64
push 1
mov ecx, esi
call dword [edx + 0x38]
jmp 0x54a54f
mov ecx, dword [esi]
mov eax, dword [ebp]
push ecx
mov ecx, ebp
call dword [eax + 0x260]
cmp dword [esp + 0x30], edi
jne 0x549fd0
mov ecx, dword [esp + 0x23c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x238
ret