Function at 0x499140
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d2688
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x513008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp + 0xc]
mov ecx, esi
mov ebx, dword [ebp + 8]
mov edx, ebx
push eax
mov dword [ebp - 0x28], eax
call fcn.00498e30
mov edi, eax
add esp, 4
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edi
mov dword [ebp - 4], 0
sub esi, 0x94
sub ebx, 0x94
push esi
mov ecx, ebx
call fcn.00418a50
lea eax, [esi + 0x18]
lea ecx, [ebx + 0x18]
push eax
mov dword [ebp - 0x14], ecx
call fcn.00418a50
lea eax, [esi + 0x30]
lea ecx, [ebx + 0x30]
push eax
mov dword [ebp - 0x18], ecx
call fcn.00418a50
lea eax, [esi + 0x48]
lea ecx, [ebx + 0x48]
push eax
mov dword [ebp - 0x1c], ecx
call fcn.00418a50
mov al, byte [esi + 0x60]
lea ecx, [ebx + 0x64]
mov byte [ebx + 0x60], al
lea eax, [esi + 0x64]
push eax
mov dword [ebp - 0x20], ecx
call fcn.00418a50
lea eax, [esi + 0x7c]
lea ecx, [ebx + 0x7c]
push eax
mov dword [ebp - 0x24], ecx
call fcn.00418a50
add edi, 0xffffff6c
sub esi, 0x94
push esi
mov ecx, edi
call fcn.0049a240
sub dword [ebp - 0x14], 0x94
sub ebx, 0x94
sub dword [ebp - 0x18], 0x94
mov ecx, ebx
sub dword [ebp - 0x1c], 0x94
sub dword [ebp - 0x20], 0x94
sub dword [ebp - 0x24], 0x94
test al, al
je 0x4992f5
push esi
call fcn.00418a50
mov ecx, dword [ebp - 0x14]
lea eax, [esi + 0x18]
push eax
call fcn.00418a50
mov ecx, dword [ebp - 0x18]
lea eax, [esi + 0x30]
push eax
call fcn.00418a50
mov ecx, dword [ebp - 0x1c]
lea eax, [esi + 0x48]
push eax
call fcn.00418a50
mov al, byte [esi + 0x60]
mov ecx, dword [ebp - 0x20]
mov byte [ebx + 0x60], al
lea eax, [esi + 0x64]
push eax
call fcn.00418a50
mov ecx, dword [ebp - 0x24]
lea eax, [esi + 0x7c]
push eax
call fcn.00418a50
cmp dword [ebp - 0x2c], esi
jne 0x499200
sub ebx, 0x94
push edi
mov ecx, ebx
call fcn.00418a50
lea eax, [edi + 0x18]
push eax
lea ecx, [ebx + 0x18]
call fcn.00418a50
lea eax, [edi + 0x30]
push eax
lea ecx, [ebx + 0x30]
call fcn.00418a50
lea eax, [edi + 0x48]
push eax
lea ecx, [ebx + 0x48]
call fcn.00418a50
mov al, byte [edi + 0x60]
lea ecx, [ebx + 0x64]
mov byte [ebx + 0x60], al
lea eax, [edi + 0x64]
push eax
call fcn.00418a50
lea eax, [edi + 0x7c]
push eax
lea ecx, [ebx + 0x7c]
call fcn.00418a50
mov ecx, dword [ebp - 0x28]
mov edx, edi
push ebx
call fcn.00498a60
add esp, 4
jmp 0x4993f9
push edi
call fcn.00418a50
mov ecx, dword [ebp - 0x14]
lea eax, [edi + 0x18]
push eax
call fcn.00418a50
mov ecx, dword [ebp - 0x18]
lea eax, [edi + 0x30]
push eax
call fcn.00418a50
mov ecx, dword [ebp - 0x1c]
lea eax, [edi + 0x48]
push eax
call fcn.00418a50
mov al, byte [edi + 0x60]
mov ecx, dword [ebp - 0x20]
mov byte [ebx + 0x60], al
lea eax, [edi + 0x64]
push eax
call fcn.00418a50
mov ecx, dword [ebp - 0x24]
lea eax, [edi + 0x7c]
push eax
call fcn.00418a50
sub edi, 0x94
cmp dword [ebp - 0x28], edi
jne 0x499206
sub ebx, 0x94
push esi
mov ecx, ebx
call fcn.00418a50
lea eax, [esi + 0x18]
push eax
lea ecx, [ebx + 0x18]
call fcn.00418a50
lea eax, [esi + 0x30]
push eax
lea ecx, [ebx + 0x30]
call fcn.00418a50
lea eax, [esi + 0x48]
push eax
lea ecx, [ebx + 0x48]
call fcn.00418a50
mov al, byte [esi + 0x60]
lea ecx, [ebx + 0x64]
mov byte [ebx + 0x60], al
lea eax, [esi + 0x64]
push eax
call fcn.00418a50
lea eax, [esi + 0x7c]
push eax
lea ecx, [ebx + 0x7c]
call fcn.00418a50
mov edx, esi
mov esi, dword [ebp - 0x2c]
push ebx
mov ecx, esi
call fcn.00498a60
mov ebx, dword [ebp - 0x28]
add esp, 4
mov ecx, esi
push ebx
call fcn.00418a50
lea eax, [ebx + 0x18]
push eax
lea ecx, [esi + 0x18]
call fcn.00418a50
lea eax, [ebx + 0x30]
push eax
lea ecx, [esi + 0x30]
call fcn.00418a50
lea eax, [ebx + 0x48]
push eax
lea ecx, [esi + 0x48]
call fcn.00418a50
mov al, byte [ebx + 0x60]
lea ecx, [esi + 0x64]
mov byte [esi + 0x60], al
lea eax, [ebx + 0x64]
push eax
call fcn.00418a50
lea eax, [ebx + 0x7c]
push eax
lea ecx, [esi + 0x7c]
call fcn.00418a50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004989c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret