Function at 0x465310
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x577ee6
push eax
mov eax, 0x3bea8
mov dword fs:[0], esp
call fcn.0053f480
mov eax, dword [0x733f14]
push ebx
push ebp
push esi
xor esi, esi
push edi
xor ebp, ebp
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x3bec0], esi
mov dword [esp + 0x18], eax
mov ecx, 0xeef8
xor eax, eax
lea edi, [esp + 0x2d8]
lea edx, [esp + 0x44]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
push ecx
lea eax, [esp + 0x50]
push edx
lea ecx, [esp + 0x34]
push eax
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x34]
push edx
lea ecx, [esp + 0x2f0]
push eax
lea edx, [esp + 0x54]
push ecx
lea eax, [esp + 0x60]
push edx
lea ecx, [esp + 0x70]
push eax
lea edx, [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x3befc]
lea eax, [esp + 0x80]
push edx
push eax
push ecx
mov byte [esp + 0x3bef8], 1
xor ebx, ebx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x5c], esi
call fcn.00465040
add esp, 0x38
cmp eax, esi
je 0x46578a
push eax
call fcn.0041a250
lea edx, [esp + 0x24]
push edx
call fcn.004f7d50
mov ebx, eax
add esp, 8
cmp ebx, esi
je 0x46578a
mov eax, dword [esp + 0x18]
push 0x73768c
push eax
call fcn.0053fb55
add esp, 8
cmp eax, esi
je 0x465428
lea ecx, [esp + 0x18]
push ecx
call fcn.004f7d50
add esp, 4
cmp eax, esi
mov dword [esp + 0x14], eax
je 0x46578a
mov edx, dword [esp + 0x3becc]
mov ecx, dword [esp + 0x3bec8]
mov edi, 1
push edx
mov dword [esp + 0x20], edi
call fcn.004f5e00
cmp eax, esi
mov dword [esp + 0x3c], eax
je 0x46578a
push ebx
call fcn.0053f454
mov ecx, dword [0x78ca5c]
add esp, 4
cmp ecx, edi
lea eax, [eax + eax + 0x1428]
jne 0x465470
add eax, 0x20000
push eax
call fcn.004f56f0
mov ebp, eax
add esp, 4
cmp ebp, esi
je 0x46578a
mov eax, dword [esp + 0x34]
mov dword [ebp + 0xc], eax
mov ecx, dword [esp + 0x4c]
mov dword [ebp + 0x10], ecx
mov edx, dword [esp + 0x40]
mov dword [ebp + 0x14], edx
mov eax, dword [esp + 0x38]
mov dword [ebp + 0x18], eax
cmp word [esp + 0x54], si
je 0x4654b7
lea edi, [ebp + 0x1c]
mov ecx, 0x10
lea esi, [esp + 0x54]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
xor esi, esi
mov ecx, dword [esp + 0x2e4]
mov dword [ebp + 0x60], ecx
mov ecx, dword [esp + 0x2e4]
cmp ecx, esi
mov edi, ecx
jle 0x46551b
mov eax, dword [esp + ecx*4 + 0x4f0]
lea edx, [esp + ecx*4 + 0x4f0]
cmp eax, esi
jne 0x4654fe
mov eax, dword [esp + ecx*4 + 0xcbc]
add eax, dword [esp + ecx*4 + 0x4ec]
mov dword [edx], eax
mov dl, byte [esp + edi + 0x2fb]
mov byte [esp + edi + 0x2fc], dl
cmp dword [esp + 0x34], 3
je 0x46551b
cmp edi, 1
jne 0x46551b
cmp eax, 0x6cc3c
jle 0x46551b
mov dword [esp + 0x2e4], esi
mov dword [ebp + 0x60], esi
lea edi, [ebp + 0x64]
mov ecx, 0x19
lea esi, [esp + 0x2fc]
rep movsd dword es:[edi], dword [esi]
lea edi, [ebp + 0xc8]
mov ecx, 0x64
lea esi, [esp + 0x4f0]
rep movsd dword es:[edi], dword [esi]
lea edi, [ebp + 0x258]
mov ecx, 0x64
lea esi, [esp + 0x680]
rep movsd dword es:[edi], dword [esi]
lea edi, [ebp + 0x3e8]
mov ecx, 0x64
lea esi, [esp + 0x810]
rep movsd dword es:[edi], dword [esi]
lea edi, [ebp + 0x578]
mov ecx, 0x64
lea esi, [esp + 0x9a0]
rep movsd dword es:[edi], dword [esi]
lea edi, [ebp + 0x708]
mov ecx, 0x64
lea esi, [esp + 0xb30]
rep movsd dword es:[edi], dword [esi]
lea edi, [ebp + 0x898]
mov ecx, 0x64
lea esi, [esp + 0xcc0]
rep movsd dword es:[edi], dword [esi]
lea edi, [ebp + 0xa28]
mov ecx, 0xc8
lea esi, [esp + 0x1170]
rep movsd dword es:[edi], dword [esi]
lea edi, [ebp + 0xd48]
mov ecx, 0xc8
lea esi, [esp + 0xe50]
rep movsd dword es:[edi], dword [esi]
lea edi, [ebp + 0x1068]
mov ecx, 0x64
lea esi, [esp + 0x1490]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x48]
mov dword [ebp + 0x1400], eax
mov ecx, dword [esp + 0x44]
mov dword [ebp + 0x13fc], ecx
mov eax, dword [0x78ca5c]
cmp eax, 1
jne 0x46562a
push 0x20000
call fcn.004f56f0
add esp, 4
lea edx, [esp + 0x50]
mov esi, eax
push edx
push esi
push 0x10000
push ebx
call dword [0x7363cc]
push ebx
call fcn.004f5720
add esp, 4
mov ebx, esi
cmp word [ebx], 0x5c
jne 0x46565a
cmp word [ebx + 2], 0x5c
lea edi, [ebx + 2]
lea esi, [ebp + 0x1406]
jne 0x46564e
push str.__UNC
push esi
call fcn.0053f406
push edi
jmp 0x46566c
push ebx
push esi
call fcn.0053f406
add esp, 8
jmp 0x465675
lea esi, [ebp + 0x1406]
push 0x69f88c
push esi
call fcn.0053f406
push ebx
push esi
call fcn.0053f3dc
add esp, 0x10
push esi
call fcn.0053f454
mov edi, dword [esp + 0x40]
lea eax, [eax + eax + 2]
push edi
mov word [ebp + 0x1404], ax
mov byte [ebp + 8], 1
call fcn.004633b0
add esp, 8
mov dword [esp + 0x2c], eax
test eax, eax
je 0x465788
lea ecx, [esp + 0x30]
push 0
push ecx
xor ecx, ecx
mov cx, word [ebp + 0x1404]
lea edx, [esp + 0x18]
push 4
add ecx, 0x140c
push edx
push ecx
push ebp
push 0x80002000
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x465788
mov edx, dword [edi + 0x2c]
lea eax, [esp + 0xd8]
push edx
push str.ImageName
push str._s_d
push eax
call fcn.0053f7f2
mov eax, dword [esp + 0x38]
add esp, 0x10
mov esi, 1
cmp eax, esi
push str.SoftwarePowerISOSCDEmu_
jne 0x465715
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0xdc]
push ecx
push edx
jmp 0x46571e
lea eax, [esp + 0xdc]
push ebx
push eax
call fcn.004f64f0
mov cx, word [edi + 0x14]
add esp, 0xc
push esi
push ecx
call fcn.00466ad0
add esp, 8
mov dword [esp + 0x24], esi
xor esi, esi
cmp dword [esp + 0x10], esi
je 0x4657b6
cmp dword [0x78ca5c], esi
jne 0x4657b6
mov edi, dword [esp + 0x3bed0]
cmp edi, esi
je 0x465775
cmp dword [esp + 0x14], esi
jne 0x465766
push edi
call fcn.0053f4af
add esp, 4
mov dword [esp + 0x14], eax
cmp ebx, esi
jne 0x465775
push edi
call fcn.0053f4af
add esp, 4
mov ebx, eax
cmp dword [esp + 0x28], 1
jne 0x4657a8
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push edx
push eax
jmp 0x4657ae
xor esi, esi
cmp dword [esp + 0x1c], 1
jne 0x46573a
cmp dword [esp + 0x10], esi
jne 0x465740
cmp dword [esp + 0x30], 4
je 0x4657b6
mov dword [esp + 0x10], 0xd
jmp 0x465740
mov ecx, dword [esp + 0x10]
push ecx
push ebx
call fcn.00464f30
add esp, 8
mov edx, dword [esp + 0x2c]
push edx
call fcn.004f5730
push ebp
call fcn.004f5720
push ebx
call fcn.004f5720
mov eax, dword [esp + 0x20]
push eax
call fcn.004f5720
add esp, 0x10
lea ecx, [esp + 0x18]
mov byte [esp + 0x3bec0], 0
call fcn.0055adeb
lea ecx, [esp + 0x20]
mov dword [esp + 0x3bec0], 0xffffffff
call fcn.0055adeb
mov ecx, dword [esp + 0x3beb8]
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3beb4
ret