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

Disassembly:
push 0xffffffffffffffff
push 0x577c18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push esi
push edi
mov edi, dword [esp + 0x84]
mov eax, dword [edi + 4]
mov esi, ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.004a9060
mov ecx, dword [esp + 0x94]
push ecx
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x80], 0
call fcn.004a8790
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov ecx, dword [esi]
mov edx, dword [ecx]
add esp, 8
push eax
push 0
call dword [edx + 0x40]
mov ecx, dword [esi]
mov eax, dword [ecx]
push 4
call dword [eax + 0x7c]
mov ecx, dword [esp + 0x90]
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [esp + 0xc], edx
lea edx, [esp + 0xc]
mov dword [esp + 0x10], eax
push edx
mov eax, edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.0050f51f
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov edi, dword [esi]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x80]
fld dword [eax + 4]
mov dword [esp + 0x24], ecx
fadd dword [0x57e6a4]
mov ecx, dword [eax + 8]
mov dword [esp + 0x28], edx
mov edx, ecx
fstp dword [esp + 0x94]
push edx
fld dword [eax]
mov eax, dword [esp + 0x98]
fsub dword [0x57e6a4]
mov dword [esp + 0x88], ecx
push eax
lea edx, [esp + 0x38]
fstp dword [esp + 0x98]
mov ecx, dword [esp + 0x98]
push ecx
push edx
call fcn.005109db
mov eax, dword [edi]
lea ecx, [esp + 0x30]
push ecx
push 0
mov ecx, edi
call dword [eax + 0x84]
mov edx, dword [esp + 0x8c]
mov edi, dword [esi]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.00510c34
mov edx, dword [edi]
lea eax, [esp + 0x30]
push eax
push 0
mov ecx, edi
call dword [edx + 0x9c]
mov eax, dword [esp + 0x88]
mov edx, dword [eax]
fld dword [eax + 4]
mov ecx, dword [esi]
fstp dword [esp + 0x44]
mov dword [esp + 0x30], edx
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0x3f800000
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0x3f800000
mov eax, dword [ecx]
push 0
call dword [eax + 0x9c]
mov ecx, dword [esi]
mov eax, dword [ecx]
lea edx, [esi + 0x50]
push edx
push 0
call dword [eax + 0x9c]
mov ecx, dword [esi]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub edx, esi
mov eax, 0x2aaaaaab
imul edx
mov edi, dword [ecx]
sar edx, 2
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov eax, 0xaaaaaaab
mul ebx
push 0x18
shr edx, 1
push edx
push 3
push esi
call dword [edi + 0xac]
mov ecx, dword [esp + 0x18]
test ecx, ecx
mov esi, eax
mov dword [esp + 0x78], 0xffffffff
je 0x4a9707
mov edx, dword [esp + 0x20]
sub edx, ecx
mov eax, 0x2aaaaaab
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*2]
shl eax, 3
cmp eax, 0x80
jbe 0x4a96fd
push ecx
call fcn.0052b8dd
add esp, 4
jmp 0x4a9707
push eax
push ecx
call fcn.0050e390
add esp, 8
mov ecx, dword [esp + 0x70]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x70
ret 0x18