Function at 0x452510
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x62d4fe
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x6cd400]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
push edi
mov eax, dword [0x6cd400]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
mov dword [esp + 0x60], 0
call fcn.0060c302
mov dword [esp + 0x18], eax
sub eax, dword [edi + 0xa8]
mov ecx, edx
push 0
mov dword [esp + 0x20], ecx
sbb ecx, dword [edi + 0xac]
push 0x2710
push ecx
push eax
call fcn.005f08d0
test edx, edx
jg 0x4525d4
jl 0x4525b6
cmp eax, 0x3e8
jae 0x4525d4
cmp dword [ebx + 0x14], 8
jb 0x4525c0
mov eax, dword [ebx]
jmp 0x4525c2
mov eax, ebx
push eax
call fcn.005eaf27
add esp, 4
cmp eax, 0x64
jne 0x452821
mov eax, dword [esp + 0x18]
mov dword [edi + 0xa8], eax
mov eax, dword [esp + 0x1c]
mov dword [edi + 0xac], eax
mov eax, dword [case.0x79a990.0]
test al, 1
jne 0x45261b
or eax, 1
mov dword [case.0x79a990.0], eax
mov byte [esp + 0x60], 1
push ecx
call fcn.004015a0
call fcn.0042d900
push 0x639710
call fcn.005e9ef6
add esp, 4
mov byte [esp + 0x60], 0
mov eax, dword [0x6d66e8]
push 0x6807f0
push 0x6d66e8
call dword [eax + 4]
mov eax, dword [case.0x79a990.0]
add esp, 8
test al, 1
jne 0x452663
or eax, 1
mov dword [case.0x79a990.0], eax
mov byte [esp + 0x60], 2
push ecx
call fcn.004015a0
call fcn.0042d900
push 0x639710
call fcn.005e9ef6
add esp, 4
mov byte [esp + 0x60], 0
push ebx
push dword [esp + 0x18]
lea eax, [esp + 0x28]
push eax
call fcn.00492c90
cmp dword [esp + 0x34], 0x10
mov eax, dword [esp + 0x30]
push dword [esp + 0x14]
lea ecx, [esp + 0x24]
cmovae ecx, dword [esp + 0x24]
add eax, ecx
cmp dword [esp + 0x38], 0x10
lea ecx, [esp + 0x24]
cmovae ecx, dword [esp + 0x24]
push eax
xor edx, edx
push ecx
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
lea ecx, [esp + 0x44]
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], 0
mov word [esp + 0x44], dx
call fcn.004569f0
mov byte [esp + 0x60], 3
cmp byte [edi + 0xb8], 0
mov eax, dword [case.0x79a990.0]
je 0x4527a1
test al, 1
jne 0x45270f
or eax, 1
mov dword [case.0x79a990.0], eax
mov byte [esp + 0x60], 4
push ecx
call fcn.004015a0
call fcn.0042d900
push 0x639710
call fcn.005e9ef6
add esp, 4
mov byte [esp + 0x60], 3
mov eax, dword [0x6d66e8]
push 0x6807b8
push 0x6d66e8
call dword [eax + 0x10]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x2c], esp
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esp + 0x58]
push eax
call fcn.00403b10
mov byte [esp + 0x78], 5
mov eax, dword [case.0x79a990.0]
test al, 1
jne 0x452782
or eax, 1
mov dword [case.0x79a990.0], eax
mov byte [esp + 0x78], 6
push ecx
call fcn.004015a0
call fcn.0042d900
push 0x639710
call fcn.005e9ef6
add esp, 4
mov byte [esp + 0x78], 5
movzx eax, byte [edi + 0xb8]
push 0
push eax
mov byte [esp + 0x80], 3
mov ecx, dword [0x6d6d50]
call fcn.004971e0
jmp 0x4527f2
test al, 1
jne 0x4527cf
or eax, 1
mov dword [case.0x79a990.0], eax
mov byte [esp + 0x60], 7
push ecx
call fcn.004015a0
call fcn.0042d900
push 0x639710
call fcn.005e9ef6
add esp, 4
mov byte [esp + 0x60], 3
mov eax, dword [0x6d66e8]
push 0x6808b8
push 0x6d66e8
call dword [eax + 0x10]
add esp, 4
lea eax, [esp + 0x3c]
push eax
push 0xf
mov ecx, edi
call fcn.004540e0
mov byte [esp + 0x60], 0
cmp dword [esp + 0x4c], 8
jb 0x45280a
push dword [esp + 0x38]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], 0
mov word [esp + 0x38], ax
mov dword [esp + 0x60], 0xffffffff
cmp dword [esp + 0x34], 0x10
jb 0x45283c
push dword [esp + 0x20]
call fcn.004c56c2
add esp, 4
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.005e96ad
mov esp, ebp
pop ebp
ret 8