Function at 0x4779e0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x58bd29
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5ea2c4]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x5c]
mov ebx, 7
xor ebp, ebp
xor eax, eax
mov dword [edi + 0x28], ebx
mov dword [edi + 0x24], ebp
mov word [edi + 0x14], ax
mov dword [esp + 0x54], ebp
xor ecx, ecx
mov dword [edi + 0x44], ebx
mov dword [edi + 0x40], ebp
mov word [edi + 0x30], cx
xor edx, edx
mov dword [edi + 0x60], ebx
mov dword [edi + 0x5c], ebp
mov word [edi + 0x4c], dx
mov dword [edi + 0x7c], ebx
mov dword [edi + 0x78], ebp
mov word [edi + 0x68], ax
mov dword [edi + 0x98], ebx
mov dword [edi + 0x94], ebp
mov word [edi + 0x84], cx
mov dword [edi + 0xb4], ebx
mov dword [edi + 0xb0], ebp
mov word [edi + 0xa0], dx
mov dword [edi + 0xd0], ebx
mov dword [edi + 0xcc], ebp
mov word [edi + 0xbc], ax
mov dword [edi + 0xec], ebx
mov dword [edi + 0xe8], ebp
mov word [edi + 0xd8], cx
mov dword [edi + 0x108], ebx
mov dword [edi + 0x104], ebp
mov word [edi + 0xf4], dx
mov dword [edi + 0x124], ebx
mov dword [edi + 0x120], ebp
mov word [edi + 0x110], ax
mov dword [edi + 0x140], ebx
mov dword [edi + 0x13c], ebp
mov word [edi + 0x12c], cx
mov dword [edi + 0x15c], ebx
mov dword [edi + 0x158], ebp
mov word [edi + 0x148], dx
lea eax, [edi + 0x164]
push eax
mov byte [esp + 0x58], 0xb
call fcn.00477720
xor ecx, ecx
mov dword [edi + 0x390], ebx
mov dword [edi + 0x38c], ebp
mov word [edi + 0x37c], cx
lea eax, [edi + 0x394]
push eax
mov byte [esp + 0x58], 0xd
call fcn.004a1d70
xor edx, edx
mov dword [edi + 0x3cc], ebx
mov dword [edi + 0x3c8], ebp
mov word [edi + 0x3b8], dx
lea esi, [edi + 0x3d0]
xor eax, eax
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], ebp
mov word [esi + 4], ax
mov byte [esp + 0x54], 0x10
push ebp
mov dword [edi], ebp
mov dword [edi + 4], ebp
mov dword [edi + 0x3f0], 1
call fcn.0052a618
add esp, 4
push 1
push 0x59b44c
mov dword [edi + 0x3ec], eax
mov dword [edi + 8], ebp
call fcn.00406150
push 1
push 0x5aa3ac
lea esi, [edi + 0x48]
call fcn.00406150
push ebp
push 0x59b2fc
lea esi, [edi + 0x128]
call fcn.00406150
push ebp
push 0x59b2fc
lea esi, [edi + 0x144]
call fcn.00406150
push ebp
push 0x59b2fc
lea esi, [edi + 0x9c]
call fcn.00406150
push ebp
push 0x59b2fc
lea esi, [edi + 0x64]
call fcn.00406150
push ebp
push 0x59b2fc
lea esi, [edi + 0xf0]
call fcn.00406150
push ebp
push 0x59b2fc
lea esi, [edi + 0xb8]
call fcn.00406150
push 9
push 0x5aaf40
lea esi, [edi + 0x3b4]
call fcn.00406150
lea ecx, [esp + 0x14]
mov dword [edi + 0x160], 0xffffffff
call fcn.0047b230
push 0xffffffffffffffff
push ebp
push eax
lea eax, [edi + 0x2c]
mov byte [esp + 0x60], 0x11
call fcn.00405d70
mov esi, 8
mov byte [esp + 0x54], 0x10
cmp dword [esp + 0x2c], esi
jb 0x477c31
mov ecx, dword [esp + 0x18]
push ecx
call fcn.005273b8
add esp, 4
lea ecx, [esp + 0x30]
call fcn.00498420
lea edx, [esp + 0x14]
push edx
mov ecx, eax
mov byte [esp + 0x58], 0x12
call fcn.004923c0
add esp, 4
push 0xffffffffffffffff
push ebp
push eax
lea eax, [edi + 0x378]
mov byte [esp + 0x60], 0x13
call fcn.00405d70
cmp dword [esp + 0x2c], esi
jb 0x477c75
mov eax, dword [esp + 0x18]
push eax
call fcn.005273b8
add esp, 4
xor ecx, ecx
cmp dword [esp + 0x48], 0x10
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebp
mov word [esp + 0x18], cx
jb 0x477c98
mov edx, dword [esp + 0x34]
push edx
call fcn.005273b8
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 4