Function at 0x7747f1e8
Capabilities:
Get number of processors

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x7753d344]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov byte [ebp - 0x21], dl
xor ebx, ebx
mov dword [ebp - 0x44], esi
push edi
mov dword [ebp - 0x2c], ebx
test dword [esi + 0xd4], 0x4000000
mov dword [ebp - 0x34], ebx
jne 0x774c1b4e
lea eax, [esi + 0x14c]
cmp dword [eax], eax
je 0x774c1b7b
mov edi, dword [esi + 0x8c]
mov eax, dword fs:[0x30]
push edi
push 8
mov dword [ebp - 0x30], edi
push dword [eax + 0x18]
call fcn.77463940
mov dword [ebp - 0x28], eax
test eax, eax
je 0x774c1bc9
push ebx
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x50], ebx
push ecx
push edi
push eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x4c], ebx
push eax
push ebx
push ebx
push ebx
push dword [esi + 0x68]
call fcn.774929a0
mov edi, eax
test edi, edi
js 0x7747f2af
mov ecx, dword [ebp - 0x28]
cmp byte [ebp - 0x21], bl
je 0x774c1bdb
mov edi, dword [ebp - 0x30]
mov edx, ecx
mov ecx, esi
push edi
call fcn.7747f2dc
push ebx
lea eax, [ebp - 0x50]
push eax
push edi
push dword [ebp - 0x28]
lea eax, [ebp - 0x58]
push eax
push ebx
push ebx
push ebx
push dword [esi + 0x68]
call fcn.774929c0
cmp byte [ebp - 0x21], 0
mov edi, eax
je 0x774c1c67
push dword [ebp - 0x28]
mov eax, dword fs:[0x30]
push ebx
push dword [eax + 0x18]
call fcn.77461440
test edi, edi
jne 0x774c1bce
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.77494a40
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x34]
push eax
lea edx, [ebp - 0x2c]
call fcn.775145e7
mov edi, eax
test edi, edi
js 0x7747f2c3
mov eax, dword [ebp - 0x2c]
add dword [esi + 0x118], eax
mov eax, dword [ebp - 0x34]
add dword [esi + 0x114], eax
jmp 0x7747f21d
lea eax, [esi + 0x154]
cmp dword [eax], eax
jne 0x7747f22b
test dword [esi + 0xd4], 0x1000
jne 0x7747f22b
push 3
push 0x18
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x58]
push eax
push dword [esi + 0x68]
call fcn.77492df0
mov edi, eax
test edi, edi
js 0x7747f2c3
mov eax, dword [ebp - 0xc]
lea edi, [eax - 1]
add eax, 3
not edi
and edi, eax
jmp 0x7747f231
mov edi, 0xc0000017
push edi
call fcn.774762b0
mov ebx, eax
jmp 0x7747f2c9
mov eax, dword [esi + 0x88]
mov dword [ecx + 0x74], eax
mov eax, dword [esi + 0x118]
mov dword [ecx + 0x8c], eax
mov eax, dword [esi + 0x110]
add dword [ecx + 0x98], eax
mov eax, dword [esi + 0x114]
add dword [ecx + 0x174], eax
mov eax, dword [esi + 0xd4]
test eax, 0x10000
jne 0x774c1c41
mov ecx, 0x7ffe0018
lea ebx, [ecx - 4]
lea esi, [ecx + 4]
mov edx, dword [ecx]
mov edi, dword [ebx]
mov eax, dword [esi]
cmp edx, eax
je 0x774c1c2e
pause
jmp 0x774c1c20
mov ecx, dword [ebp - 0x28]
xor ebx, ebx
mov esi, dword [ebp - 0x44]
mov dword [ecx + 0x78], edi
mov dword [ecx + 0x7c], edx
jmp 0x7747f27e
test eax, 0x1000
je 0x7747f27e
push dword [ebp - 0x34]
mov edi, dword [ebp - 0x30]
mov edx, ecx
push dword [ebp - 0x2c]
mov ecx, esi
push edi
call fcn.77513bbe
mov ecx, dword [ebp - 0x28]
jmp 0x7747f281
test edi, edi
js 0x7747f2af
mov eax, dword [esi + 0xd4]
test eax, 0x4000020
je 0x7747f2af
test eax, 0x4000000
je 0x774c1c95
mov eax, dword [esi + 0xf8]
mov edx, dword [esi + 0xfc]
jmp 0x774c1cd2
test eax, 0x2000
mov ecx, 0x400
mov eax, dword [esi + 0xd0]
jne 0x774c1cac
mov ecx, 0x100000
mul ecx
mov ecx, eax
mov dword [ebp - 0x2c], edx
mov eax, dword [esi + 0x118]
mul dword [esi + 0x8c]
cmp edx, dword [ebp - 0x2c]
ja 0x7747f2af
jb 0x774c1cd2
cmp eax, ecx
jae 0x7747f2af
mov dword [ebp - 0x40], eax
or eax, edx
mov dword [ebp - 0x3c], edx
je 0x7747f2af
push 0x14
push 8
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x60]
push eax
push dword [esi + 0x68]
call fcn.77492bd0
mov edi, eax
jmp 0x7747f2af