Function at 0x45a630
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52cf66
mov eax, dword fs:[0]
push eax
sub esp, 0x3f8
mov eax, dword [0x559024]
xor eax, esp
mov dword [esp + 0x3f0], eax
push ebx
push esi
push edi
mov eax, dword [0x559024]
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 0x45aa21
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.0045ac30
test al, al
je 0x45a70a
mov byte [esp + 0x13], 1
jmp 0x45a723
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.0045ad50
test al, al
je 0x45aa14
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 0x45a7ee
cmp dword [esp + 0x24], 0
je 0x45a7ee
cmp ecx, eax
jae 0x45aa14
mov eax, dword [edi]
imul ecx, ecx, 0x32c
mov eax, dword [ecx + eax + 8]
test eax, eax
je 0x45aa14
mov ecx, dword [eax + 8]
mov dword [esp + 0x28], ecx
cmp dword [esp + 0x28], 0
je 0x45aa14
mov esi, dword [ebx + 0xcc]
mov ecx, dword [ebx + 0xd0]
test esi, esi
jle 0x45aa14
test ecx, ecx
jle 0x45aa14
mov edi, dword [esp + 0x1c]
mov eax, edi
cdq
idiv esi
mov esi, eax
test edx, edx
jle 0x45a7d0
inc esi
mov eax, dword [esp + 0x14]
cdq
idiv ecx
test edx, edx
jle 0x45a7dc
inc eax
cmp esi, eax
jge 0x45a7e2
mov esi, eax
cmp esi, 1
jge 0x45a85f
mov esi, 1
jmp 0x45a867
push 0x40
call fcn.005134b2
add esp, 4
test eax, eax
je 0x45aa14
call fcn.0046bff0
mov esi, eax
test esi, esi
je 0x45aa14
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.0045afc0
mov dword [esp + 0x28], eax
test eax, eax
je 0x45a850
lea eax, [esp + 0xcc]
mov ebx, edi
mov dword [esp + 0xd4], esi
call fcn.0045b080
mov ebx, dword [esp + 0x2c]
jmp 0x45a799
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
jmp 0x45aa14
test esi, esi
jle 0x45aa14
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.0044fb90
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.0044fd10
cmp dword [ebx + 8], 0
je 0x45a8f8
mov esi, ebx
call fcn.0044ff10
mov esi, dword [esp + 0x20]
mov dword [ebx + 8], 0
cmp byte [esp + 0x13], 0
mov byte [esp + 0x12], 1
jne 0x45a9e8
lea eax, [esp + 0x8c]
call fcn.0046bff0
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.0045afc0
mov esi, eax
xor eax, eax
cmp esi, eax
je 0x45a9d8
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 0x45a985
push 8
push esi
call dword [sym.imp.GDI32.dll_SetLayout]
mov edx, esi
mov ecx, ebx
call fcn.0044fb90
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.0044fd10
mov eax, ebx
call fcn.0044fbc0
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.0045ae90
lea ecx, [esp + 0x8c]
call fcn.0046c060
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.0046c300
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.00513498
mov esp, ebp
pop ebp
ret 0x10