Function at 0x45774c
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x457c7a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 8]
mov al, byte [eax + 0x30]
mov byte [ebp - 0x19], al
mov byte [ebp - 0x1b], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x10], eax
cmp byte [ebp - 0x19], 0
je 0x45797c
cmp dword [ebp - 0x10], 0
jne 0x45797c
mov eax, dword [ebp - 4]
cmp dword [eax + 0x30], 0
je 0x457892
mov eax, dword [ebp - 8]
cmp word [eax + 0xaa], 0
jne 0x457804
mov eax, dword [ebp - 8]
cmp word [eax + 0xb2], 0
jne 0x457804
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x9c]
mov edx, dword [0x44ea34]
call fcn.00403070
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x30]
mov ebx, dword [eax]
call dword [ebx + 0xc8]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
add eax, 0x30
call fcn.00403bbc
jmp 0x457841
mov eax, dword [ebp - 8]
cmp word [eax + 0xba], 0
je 0x457841
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x9c]
mov ebx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x30]
mov eax, dword [ebx + 0xbc]
call dword [ebx + 0xb8]
mov eax, dword [ebp - 4]
add eax, 0x30
mov edx, dword [ebp - 0x28]
call fcn.00403bbc
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00407dc0
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x114]
mov ecx, dword [eax]
call dword [ecx + 0x50]
inc eax
jne 0x45788e
mov eax, dword [ebp - 4]
add eax, 0x40
push eax
lea eax, [ebp - 0x1a]
push eax
lea eax, [ebp - 0x1b]
push eax
mov eax, dword [ebp - 4]
lea ecx, [eax + 0x48]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
call fcn.0045b854
mov dword [ebp - 0x10], eax
jmp 0x457892
mov byte [ebp - 0x1b], 1
cmp dword [ebp - 0x10], 0
jne 0x457901
cmp byte [ebp - 0x1b], 0
je 0x4578d4
mov eax, dword [0x47783c]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [0x47783c]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov eax, dword [eax + 0x114]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x30]
mov ebx, dword [eax]
call dword [ebx + 0x38]
jmp 0x45797c
mov eax, dword [0x477930]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [0x477930]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [0x477b8c]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x48], 1
jmp 0x45797c
mov eax, dword [ebp - 0x10]
mov edx, dword [0x4634e0]
call fcn.00403058
test al, al
je 0x457973
cmp byte [ebp - 0x1a], 0
je 0x457939
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x4634e0]
call fcn.00464838
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x10], eax
jmp 0x457942
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 9], 0
jne 0x457964
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov eax, dword [eax + 0xe8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x3c]
call fcn.0040d91c
jmp 0x45797c
xor edx, edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.004650a4
jmp 0x45797c
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
cmp byte [ebp - 0x19], 0
jne 0x45798c
mov eax, dword [0x47783c]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [0x4634e0]
call fcn.00403058
test al, al
je 0x4579b2
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x18], eax
jmp 0x4579c8
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2c], 0
jne 0x457b4a
mov eax, dword [0x477930]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
je 0x457b05
mov eax, dword [0x47783c]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x10]
je 0x457b05
mov eax, dword [ebp - 4]
cmp byte [eax + 0x20], 0
je 0x457a41
push 0x64
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
push eax
mov eax, dword [ebp + 8]
push eax
call sub.kernel32.dll_MulDiv
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x18], 0
je 0x457a33
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 4]
mov dword [edx + 0x24], eax
jmp 0x457b4a
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov dword [edx + 0x24], eax
jmp 0x457b4a
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1c], 0
je 0x457a77
mov eax, dword [ebp - 4]
cmp dword [eax + 0x18], 0
je 0x457a77
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 4]
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x2c], 1
jmp 0x457b4a
mov eax, dword [ebp - 4]
cmp dword [eax + 0x18], 0
je 0x457ab2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 4]
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
push eax
call sub.kernel32.dll_MulDiv
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x2c], 1
jmp 0x457b4a
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1c], 0
je 0x457aea
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
push eax
call sub.kernel32.dll_MulDiv
mov edx, dword [ebp - 4]
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x2c], 1
jmp 0x457b4a
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x2c], 1
jmp 0x457b4a
mov eax, dword [ebp - 4]
cmp dword [eax + 0x18], 0
je 0x457b38
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1c], 0
je 0x457b38
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 4]
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x2c], 1
jmp 0x457b4a
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
cmp byte [ebp - 0x19], 0
je 0x457b6f
mov eax, dword [0x477930]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x10]
je 0x457b6f
mov eax, dword [0x47783c]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x457c0d
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2c], 0
jne 0x457c0d
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
mov edx, 0x457c90
call fcn.00415144
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
mov edx, 8
call fcn.004151bc
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
je 0x457bcc
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x34]
mov eax, dword [ebp - 0xc]
call fcn.00415e54
add eax, 2
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x34]
mov eax, dword [ebp - 0xc]
call fcn.00415e70
mov dword [ebp - 0x24], eax
jmp 0x457bd6
xor eax, eax
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
add edx, 0x18
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
call fcn.0046b6ec
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov edx, dword [ebp - 0x24]
mov eax, 0x18
call fcn.0046b6ec
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.0046b6ec
mov edx, dword [ebp - 4]
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 4]
cmp dword [eax], 0
je 0x457c3c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x39], 0
je 0x457c40
xor eax, eax
jmp 0x457c42
mov al, 1
mov edx, dword [ebp - 4]
mov byte [edx + 0x4b], al
mov eax, dword [ebp - 4]
cmp byte [eax + 0x4b], 0
je 0x457c5f
mov eax, dword [ebp - 4]
add dword [eax + 0x10], 2
mov eax, dword [ebp - 4]
add dword [eax + 0x14], 2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457c81
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00403b8c
ret