Function at 0x4226a0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46bf70
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x48948c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x64], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x64]
add ecx, 0x30
call fcn.00423780
mov ecx, dword [eax]
mov dword [ebp - 0x4c], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x48], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x44], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x40], edx
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x3c], ecx
mov edx, dword [eax + 0x14]
mov dword [ebp - 0x38], edx
mov byte [ebp - 4], 1
push ecx
fld dword [ebp + 0x14]
fstp dword [esp]
push ecx
fld dword [ebp + 0x10]
fstp dword [esp]
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x64]
add ecx, 4
call fcn.00422370
lea edx, [ebp - 0x60]
push edx
lea ecx, [ebp - 0x4c]
call fcn.00422430
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x64]
add ecx, 0xc
call fcn.00422110
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x60]
call fcn.0040d140
lea ecx, [ebp - 0x34]
call fcn.004221d0
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
fdiv qword [0x47eca8]
fstp dword [ebp - 0x54]
lea ecx, [ebp - 0x4c]
call fcn.004194c0
mov ecx, dword [ebp - 0x64]
fsubr dword [ecx + 4]
fstp dword [ebp - 0x58]
lea ecx, [ebp - 0x4c]
call fcn.004194d0
mov edx, dword [ebp - 0x64]
fsubr dword [edx + 8]
fstp dword [ebp - 0x28]
fld dword [ebp - 0x58]
fmul dword [ebp - 0x58]
fld dword [ebp - 0x28]
fmul dword [ebp - 0x28]
faddp st(1)
fstp dword [ebp - 0x70]
fld dword [ebp - 0x70]
push ecx
fstp dword [esp]
call fcn.004220c0
add esp, 4
fstp dword [ebp - 0x50]
mov eax, dword [ebp - 0x64]
fld dword [eax + 0x28]
fstp dword [ebp - 0x2c]
fld dword [ebp - 0x58]
fdiv dword [ebp - 0x54]
mov ecx, dword [ebp - 0x64]
fstp dword [ecx + 0x20]
fld dword [ebp - 0x28]
fdiv dword [ebp - 0x54]
mov edx, dword [ebp - 0x64]
fstp dword [edx + 0x24]
fld dword [ebp - 0x50]
fdiv dword [ebp - 0x54]
mov eax, dword [ebp - 0x64]
fstp dword [eax + 0x28]
mov ecx, dword [ebp - 0x64]
fld dword [ecx + 0x28]
fsub dword [ebp - 0x2c]
fdiv dword [ebp - 0x54]
mov edx, dword [ebp - 0x64]
fstp dword [edx + 0x2c]
mov eax, dword [ebp - 0x64]
push ecx
fld dword [eax + 8]
fstp dword [esp]
mov ecx, dword [ebp - 0x64]
push ecx
fld dword [ecx + 4]
fstp dword [esp]
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [edx + 0xc]
push ecx
lea ecx, [ebp - 0x24]
call fcn.00422280
mov byte [ebp - 4], 3
lea edx, [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x64]
add ecx, 0x30
call fcn.004237b0
mov eax, dword [ebp - 0x64]
fld dword [eax + 0x2c]
fcomp qword [0x47ec68]
fnstsw ax
test ah, 0x41
jne 0x42284a
mov ecx, dword [ebp - 0x64]
mov dword [ecx + 0x4c], 1
jmp 0x422873
mov edx, dword [ebp - 0x64]
fld dword [edx + 0x2c]
fcomp qword [0x47ec68]
fnstsw ax
test ah, 5
jp 0x422869
mov eax, dword [ebp - 0x64]
mov dword [eax + 0x4c], 2
jmp 0x422873
mov ecx, dword [ebp - 0x64]
mov dword [ecx + 0x4c], 3
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.004222f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.0040d140
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.004222f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040d140
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x10