Function at 0x463ae0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x538d16
mov eax, dword fs:[0]
push eax
sub esp, 0x3f8
mov eax, dword [0x575494]
xor eax, esp
mov dword [esp + 0x3f0], eax
push ebx
push esi
push edi
mov eax, dword [0x575494]
xor eax, esp
push eax
lea eax, [esp + 0x408]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [esp + 0x34], eax
xor al, al
xor ecx, ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], edx
mov byte [esp + 0x12], al
cmp edx, ecx
je 0x463ed1
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x60], vtable.CMemDib.0
mov dword [esp + 0x74], vtable.CHeapMem.0
mov dword [esp + 0x78], ecx
mov byte [esp + 0x7c], cl
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x410], ecx
mov eax, dword [ebp + 0x10]
mov byte [esp + 0x13], cl
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp + 0x14]
push ecx
push eax
lea ecx, [esp + 0x68]
push ecx
push ebx
lea ecx, [esp + 0x24]
lea edi, [esp + 0x2c]
call fcn.004640e0
test al, al
je 0x463bba
mov byte [esp + 0x13], 1
jmp 0x463bd3
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x3c]
push ebx
call fcn.00464200
test al, al
je 0x463ec4
mov eax, 0x51eb851f
imul esi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, ecx
imul edx, edx, 0x64
sub esi, edx
lea edi, [ebx + 0xd8]
mov dword [esp + 0x24], esi
mov esi, dword [edi + 4]
sub esi, dword [edi]
mov eax, 0xa16b312f
imul esi
add edx, esi
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x38], edi
je 0x463c9e
cmp dword [esp + 0x24], 0
je 0x463c9e
cmp ecx, eax
jae 0x463ec4
mov eax, dword [edi]
imul ecx, ecx, 0x32c
mov eax, dword [ecx + eax + 8]
test eax, eax
je 0x463ec4
mov ecx, dword [eax + 8]
mov dword [esp + 0x28], ecx
cmp dword [esp + 0x28], 0
je 0x463ec4
mov esi, dword [ebx + 0xcc]
mov ecx, dword [ebx + 0xd0]
test esi, esi
jle 0x463ec4
test ecx, ecx
jle 0x463ec4
mov edi, dword [esp + 0x1c]
mov eax, edi
cdq
idiv esi
mov esi, eax
test edx, edx
jle 0x463c80
inc esi
mov eax, dword [esp + 0x14]
cdq
idiv ecx
test edx, edx
jle 0x463c8c
inc eax
cmp esi, eax
jge 0x463c92
mov esi, eax
cmp esi, 1
jge 0x463d0f
mov esi, 1
jmp 0x463d17
push 0x40
call fcn.0051ec07
add esp, 4
test eax, eax
je 0x463ec4
call fcn.00475530
mov esi, eax
test esi, esi
je 0x463ec4
mov edx, dword [ebx + 0xd0]
mov eax, dword [esp + 0x34]
imul edx, edx, 0x64
push edx
push eax
mov eax, dword [ebx + 0xcc]
push ebx
call fcn.00464470
mov dword [esp + 0x28], eax
test eax, eax
je 0x463d00
lea eax, [esp + 0xcc]
mov ebx, edi
mov dword [esp + 0xd4], esi
call fcn.00464530
mov ebx, dword [esp + 0x2c]
jmp 0x463c49
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
jmp 0x463ec4
test esi, esi
jle 0x463ec4
mov eax, edi
imul ecx, dword [esp + 0x24]
cdq
idiv esi
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x1c]
add ebx, 0x9c
mov dword [esp + 0x54], ecx
mov ecx, ebx
mov edi, eax
mov eax, dword [esp + 0x14]
cdq
idiv esi
mov edx, dword [esp + 0x14]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x18], edi
mov dword [esp + 0x44], edi
mov esi, eax
xor eax, eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
call fcn.00458f50
mov eax, dword [esp + 0x84]
push eax
mov dword [ebx + 0x24], 1
lea edi, [esp + 0x40]
mov eax, ebx
mov dword [ebx + 0x2c], 4
call fcn.004590d0
cmp dword [ebx + 8], 0
je 0x463da8
mov esi, ebx
call fcn.004592d0
mov esi, dword [esp + 0x20]
mov dword [ebx + 8], 0
cmp byte [esp + 0x13], 0
mov byte [esp + 0x12], 1
jne 0x463e98
lea eax, [esp + 0x8c]
call fcn.00475530
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
push esi
push ecx
push edi
lea esi, [esp + 0x98]
mov byte [esp + 0x41c], 1
call fcn.00464470
mov esi, eax
xor eax, eax
cmp esi, eax
je 0x463e88
cmp byte [edi + 0xd4], 0
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], eax
je 0x463e35
push 8
push esi
call dword [sym.imp.GDI32.dll_SetLayout]
mov edx, esi
mov ecx, ebx
call fcn.00458f50
mov ecx, dword [esp + 0x84]
mov dword [edi + 0xc0], 1
mov dword [edi + 0xc8], 4
push ecx
lea edi, [esp + 0x40]
mov eax, ebx
call fcn.004590d0
mov eax, ebx
call fcn.00458f80
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov edi, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x34]
push eax
lea ecx, [esp + 0x94]
call fcn.00464340
lea ecx, [esp + 0x8c]
call fcn.004755a0
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x24]
imul eax, eax, 0x32c
mov edi, dword [esp + 0x38]
mov edi, dword [edi]
mov ebx, dword [esp + 0x18]
lea edx, [eax + ecx*8]
lea eax, [eax + ecx*8 + 0x10]
mov ecx, dword [esp + 0x38]
mov dword [edx + edi + 0xc], ebx
mov edx, dword [ecx]
mov dword [eax + edx], esi
lea ecx, [esp + 0x60]
call fcn.00475840
mov al, byte [esp + 0x12]
mov ecx, dword [esp + 0x408]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3f0]
xor ecx, esp
call fcn.0051eb9c
mov esp, ebp
pop ebp
ret 0x10