Function at 0x402110
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4daeee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
call fcn.004d6450
xor ebp, ebp
mov dword [esi + 0x24], 0x4dfba0
mov dword [esp + 0x20], ebp
mov dword [esi + 0x28], 0x64
lea edi, [esi + 0x2c]
mov byte [esp + 0x20], 1
mov ecx, edi
call fcn.004cbad0
mov al, byte [esp + 0x13]
mov dword [esi + 0x30], 0x4dfb90
mov byte [esi + 0x34], al
mov dword [esi + 0x38], ebp
mov dword [esi + 0x3c], ebp
mov dword [esi + 0x40], ebp
lea ecx, [esi + 0x4c]
mov byte [esp + 0x20], 3
call fcn.00406a60
lea ecx, [esi + 0xdc]
mov byte [esp + 0x20], 4
call fcn.004cfe10
mov ebx, 5
lea ecx, [esi + 0x97c]
mov byte [esp + 0x20], bl
call fcn.004cfe10
push ebp
lea ecx, [esi + 0x541c]
mov byte [esp + 0x24], 6
mov dword [esi + 0x121c], ebp
mov dword [esi + 0x1220], ebp
mov dword [esi + 0x1224], ebp
mov dword [esi + 0x1228], ebp
call fcn.004b4e50
mov dword [esi], 0x4dfb7c
mov dword [esi + 0x24], 0x4dfb74
mov dword [edi], 0x4dfb70
mov dword [esi + 0x30], 0x4dfb60
mov dword [esi + 0x44], ebp
mov dword [esi + 0x32ec], ebp
mov dword [esi + 0x32f0], ebp
mov dword [esi + 0x3360], ebp
mov dword [esi + 0x3328], ebx
mov dword [esi + 0x3330], ebp
mov dword [esi + 0x332c], ebx
mov dword [esi + 0x3334], ebp
mov dword [esi + 0x3338], ebp
mov dword [esi + 0x333c], 0x1a
mov dword [esi + 0x3348], ebp
mov eax, 3
mov dword [esi + 0x334c], ebx
mov dword [esi + 0x3340], eax
mov dword [esi + 0x3364], ebp
mov dword [esi + 0x3344], 0x10
mov dword [esi + 0x3350], ebp
mov dword [esi + 0x3354], ebp
mov dword [esi + 0x3358], ebp
mov dword [esi + 0x335c], 0xa9a9a9
mov dword [esi + 0x3324], ebp
mov edx, 0x20
mov dword [esi + 0x3320], ebp
mov dword [esi + 0x32e8], edx
mov byte [esp + 0x20], 7
mov dword [esi + 0x3300], eax
mov dword [esi + 0x123c], ebp
mov dword [esi + 0x1240], ebp
mov dword [esi + 0x1244], ebp
mov dword [esi + 0x48], ebp
mov ecx, 0x412
xor eax, eax
lea edi, [esi + 0x43cc]
mov dword [esi + 0x32e4], ebp
mov dword [esi + 0x32f4], ebp
rep stosd dword es:[edi], eax
mov ecx, 0x412
lea edi, [esi + 0x3384]
rep stosd dword es:[edi], eax
or eax, 0xffffffff
mov dword [esi + 0x1248], ebp
mov word [esi + 0x124c], bp
mov word [esi + 0x2294], bp
mov dword [esi + 0x32dc], ebp
mov dword [esi + 0x32e0], ebp
mov dword [esi + 0x5454], ebp
mov dword [esi + 0x3380], 0x12
mov dword [esi + 0x5418], eax
mov dword [esi + 0x5414], eax
mov dword [esi + 0x3378], ebp
mov dword [esi + 0x3368], ebp
mov dword [esi + 0x337c], edx
mov dword [esi + 0x3310], ebp
mov dword [esi + 0x32fc], ebp
mov dword [esi + 0x122c], ebp
mov dword [esi + 0x32f8], ebp
mov dword [esi + 0x3304], ebp
mov dword [esi + 0x3308], ebp
mov dword [esi + 0x330c], ebp
mov dword [esi + 0x3314], ebp
mov dword [esi + 0x336c], ebp
mov dword [esi + 0x3370], ebp
mov dword [esi + 0x1238], ebp
mov dword [esi + 0x1230], ebp
mov dword [esi + 0x1234], ebp
cmp dword [0x5117f4], ebp
jne 0x402390
mov ecx, dword [0x61052c]
push ecx
push ebp
push ebp
push ebp
push 0x759b
call fcn.00422dd0
mov ecx, eax
call fcn.00422e60
mov dword [0x5117f4], 1
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret