Function at 0x4565e8
Capabilities:
Get number of processors

Disassembly:
sub esp, 0x64
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x68]
mov eax, ebp
mov dword [esp + 0xc], ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edi
mov ecx, dword [ebp]
call dword [ecx + 0x28]
call fcn.004184c4
mov edx, dword [eax]
mov ebx, eax
call dword [edx + 0x20]
imul eax, dword [esp + 0x6c]
mov dword [esp + 0x5c], eax
mov esi, dword [ebp]
cmp dword [esi], 0x469730
sete cl
mov edi, 0
mov byte [esp + 0x60], cl
je 0x45663e
mov eax, dword [esp + 0x70]
call fcn.00419294
mov edi, eax
test edi, edi
mov dword [esp + 0x58], edi
je 0x45664a
mov esi, edi
jmp 0x456662
mov ecx, dword [esp + 0x70]
lea edx, [esp + 0x3c]
mov dword [esp + 4], ecx
mov dword [esp], edx
call fcn.004193a0
lea esi, [esp + 0x3c]
lea edi, [esp + 0x48]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp dword [esp + 0x48], 0
je 0x45680c
test dword [esp + 0x50], 8
je 0x45680c
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x5c]
lea edx, [eax + ecx]
lea esi, [esp + 0x48]
lea edi, [esp + 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, 0x10
test dword [esp + 0x4c], 0xfffff000
jne 0x4566a9
xor esi, esi
add esi, dword [esp + 0x48]
sub edx, esi
mov dword [esp + 0x54], edx
mov edx, dword [ebx]
cmp dword [edx], 0x466df0
jne 0x45671b
cmp dword [ebx + 0x2c], 0
je 0x45671b
lea edi, [esp + 0x48]
mov eax, ebx
push edi
call fcn.00457528
cmp dword [esp + 0x5c], eax
jae 0x45671b
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x5c]
lea edi, [ecx + edx]
sub eax, dword [esp + 0x5c]
mov esi, edi
add esi, eax
mov ecx, dword [ebx]
mov eax, ebx
call dword [ecx + 0x20]
mov edx, eax
sub esi, edx
mov ebp, eax
cmp esi, edi
jb 0x45671b
mov ecx, dword [ebx + 0x2c]
test ecx, ecx
je 0x456715
test dword [ebx + 0x28], 2
je 0x456711
push esi
mov eax, ebx
call dword [ebx + 0x2c]
jmp 0x456715
mov eax, esi
call ecx
sub esi, ebp
cmp esi, edi
jae 0x4566f9
lea esi, [esp + 0x48]
mov eax, 0xffffffff
push esi
push dword [esp + 0x58]
push 0
push ebx
call fcn.004186f0
xor al, 1
je 0x456742
call fcn.0044e3d0
mov dword [esp], eax
call fcn.00413d00
movsx ecx, byte [esp + 0x60]
xor cl, 1
je 0x45680c
cmp dword [esp + 0x58], 0
jne 0x45680c
lea esi, [esp + 0x48]
lea edi, [esp + 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edx, dword [0x477d38]
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + edx*4]
cmp dword [ecx + 0x1030], 0
jne 0x4567b5
mov esi, pe_nt_image_headers32
mov dword [esp], esi
call fcn.004599b0
mov edi, dword [0x477d38]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + edi*4]
mov dword [ecx + 0x1030], eax
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.0045a258
mov eax, dword [0x477d38]
mov esi, dword fs:[0x2c]
mov edi, dword [esi + eax*4]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + eax*4]
mov esi, dword [ecx + 0x1034]
inc esi
mov ebx, dword [edi + 0x1030]
mov edi, dword fs:[0x2c]
mov eax, dword [edi + eax*4]
and esi, 7
mov dword [eax + 0x1034], esi
mov dword [esp + 0x20], esi
mov ecx, dword [esp + 0x20]
lea edi, [ecx + ecx*2]
lea edi, [edi*4]
lea esi, [esp + 0x30]
add edi, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
add esp, 0x64
ret