Function at 0x53db54
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov ebx, ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x53de52
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
add eax, 0x48
mov edx, dword [ebp - 0x10]
mov edx, dword [edx]
mov ecx, dword [0x53b8dc]
call fcn.00406f8c
push 0
mov eax, dword [ebp - 0xc]
add eax, 0x48
mov ecx, 1
mov edx, dword [0x53b8dc]
call fcn.00406f44
add esp, 4
push 0
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
xor edx, edx
mov eax, 0x64
call fcn.00555dc0
mov eax, dword [ebp - 0xc]
mov byte [eax + 4], bl
xor edx, edx
push ebp
push 0x53de1c
push dword fs:[edx]
mov dword fs:[edx], esp
mov esi, 1
mov ebx, 1
jmp 0x53dda4
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
movzx eax, word [eax + ebx*2 - 2]
sub ax, 0xa
je 0x53dcdc
sub ax, 3
je 0x53dc99
sub ax, 0x19
je 0x53dc17
sub ax, 0x16
je 0x53dced
jmp 0x53dda3
cmp esi, ebx
jge 0x53dc27
mov ecx, esi
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.0053e420
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 8]
mov ecx, ebx
mov eax, dword [ebp - 0xc]
call fcn.0053d968
cmp dword [ebp - 8], 0
je 0x53dc7f
mov edi, dword [ebp - 8]
test edi, edi
je 0x53dc60
mov eax, edi
sub eax, 0xa
cmp word [eax], 2
je 0x53dc60
lea eax, [ebp - 8]
mov edx, dword [ebp - 8]
call fcn.004050b0
mov edi, eax
mov dword [ebp - 0x14], edi
cmp dword [ebp - 0x14], 0
je 0x53dc74
mov eax, dword [ebp - 0x14]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
add ebx, dword [ebp - 0x14]
mov esi, ebx
dec ebx
jmp 0x53dda3
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
cmp word [eax + ebx*2], 0x26
sete al
mov esi, eax
and esi, 0x7f
add esi, ebx
jmp 0x53dda3
cmp esi, ebx
jge 0x53dca9
mov ecx, esi
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.0053e420
mov esi, ebx
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x34], 0
jne 0x53dccf
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x4c]
call fcn.004361d4
mov edx, 0x53de70
call fcn.00507564
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 0xc]
call fcn.0053e09c
jmp 0x53dda3
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x14], eax
jmp 0x53dda3
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
cmp word [eax + ebx*2], 0x3c
je 0x53dd90
cmp esi, ebx
jge 0x53dd0e
mov ecx, esi
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.0053e420
lea ecx, [ebp - 4]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
mov edx, ebx
call fcn.0053b9c0
cmp dword [ebp - 4], 0
jne 0x53dd29
inc ebx
mov esi, ebx
jmp 0x53dda4
mov ecx, ebx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.0053c428
test al, al
je 0x53dd7f
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x53dd60
mov eax, dword [ebp - 0x18]
sub eax, 0xa
cmp word [eax], 2
je 0x53dd60
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.004050b0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x53dd77
mov eax, dword [ebp - 0x1c]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
add ebx, dword [ebp - 0x1c]
mov esi, ebx
dec ebx
jmp 0x53dda3
inc ebx
mov ecx, esi
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.0053e420
mov esi, ebx
jmp 0x53dda3
cmp esi, ebx
jge 0x53dda0
mov ecx, esi
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.0053e420
inc ebx
mov esi, ebx
inc ebx
mov eax, dword [ebp - 0xc]
cmp ebx, dword [eax + 0x10]
jle 0x53dbe3
cmp esi, ebx
jge 0x53ddc0
mov ecx, esi
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.0053e420
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0xc]
cmp eax, dword [edx + 0x28]
jle 0x53ddd4
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [eax + 0x30], edx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 0xc]
add eax, dword [edx + 0x34]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x2c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53de23
push 0
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x2c]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x28]
xor ecx, ecx
call fcn.00555dc0
mov eax, dword [ebp - 0xc]
mov byte [eax + 4], 0
ret