Function at 0x41f990
Capabilities:
Get number of processors
Get process heap flags
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4a0a8b
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4da22c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, dword [esp + 0x30]
mov edi, dword [esi + 8]
push str.FB_DDR2
lea eax, [esi + 0x18]
push 0x20
push eax
call fcn.00488d0e
mov dword [esi + 0x14], 8
movzx ecx, byte [edi + 9]
movzx edx, byte [edi + 0xa]
mov dword [esp + 0x3c], ecx
mov al, byte [edi + 0xb]
movzx eax, al
fild dword [esp + 0x3c]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x20], eax
fild dword [esp + 0x3c]
fdivp st(1)
fstp dword [esp + 0x3c]
fld dword [esp + 0x3c]
fild dword [esp + 0x20]
fmulp st(1)
fld qword [0x4a7288]
fdiv st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fld st(0)
call fcn.00488e00
fadd st(0), st(0)
mov ebp, eax
mov dword [esi + 0x1cc], ebp
fmul qword [0x4b2e98]
fdiv qword [0x4a7248]
fld qword [0x4b2ed0]
fadd st(1), st(0)
fxch st(1)
call fcn.00488e00
fld qword [0x4b2f30]
fdivrp st(2)
mov ebx, eax
imul ebx, ebx, 0x64
faddp st(1)
mov dword [esi + 0x1c8], ebx
call fcn.00488e00
push ebx
push 0x4b2fbc
lea ecx, [esi + 0x38]
push 0x20
push ecx
mov dword [esi + 0x1d0], eax
call fcn.00434330
movzx edx, byte [edi + 0xe]
mov dword [esp + 0x34], edx
push 0xc
fild dword [esp + 0x38]
fmul dword [esp + 0x50]
fstp dword [esp + 0x38]
call fcn.00479967
add esp, 0x20
mov dword [esp + 0x1c], eax
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x28], ebx
je 0x41faa9
mov ecx, eax
call fcn.00418570
mov ebx, eax
fld dword [esp + 0x18]
mov dword [esp + 0x28], 0xffffffff
fmul dword [esp + 0x14]
mov dword [ebx + 8], ebp
fdiv qword [0x4a7288]
fadd qword [0x4b2fd0]
call fcn.00488e00
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
push ebx
fstp dword [ebx + 4]
mov ecx, dword [esi + 0x1d4]
call fcn.0041cf80
movzx eax, byte [edi + 0x13]
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fld dword [esp + 0x30]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esi + 0x1d8]
movzx ecx, byte [edi + 0x15]
mov dword [esp + 0x30], ecx
fild dword [esp + 0x30]
fmul st(1)
fstp dword [esi + 0x1e0]
movzx edx, byte [edi + 0x17]
mov dword [esp + 0x30], edx
fild dword [esp + 0x30]
fmul st(1)
fstp dword [esi + 0x1e4]
movzx eax, byte [edi + 0x18]
mov dword [esp + 0x30], eax
fild dword [esp + 0x30]
fmulp st(1)
fstp dword [esi + 0x1e8]
movzx ebx, byte [edi + 0x75]
and ebx, 0x7f
cmp ebx, 7
jle 0x41fb4d
mov ebx, 7
xor eax, eax
test ebx, ebx
jle 0x41fb64
push ebx
lea eax, [esi + 0x58]
push 0x7f
push eax
call fcn.004890c0
add esp, 0xc
mov eax, ebx
mov cl, byte [edi + 0x76]
lea edx, [esi + 0x60]
mov byte [eax + esi + 0x58], cl
push edx
lea eax, [esi + 0x58]
push eax
call fcn.0041aad0
movzx eax, byte [edi + 4]
mov ecx, eax
shr ecx, 5
add ecx, 0xc
mov edx, 1
shl edx, cl
mov ecx, eax
shr ecx, 2
and ecx, 7
mov dword [esp + 0x38], edx
add ecx, 9
mov edx, 1
shl edx, cl
and eax, 3
add esp, 8
cmp eax, 3
mov dword [esp + 0x18], edx
ja case.default.0x41fbb0
jmp dword [eax*4 + 0x41fc88]
mov dword [esi + 0x1c0], 4
jmp case.default.0x41fbb0
mov dword [esi + 0x1c0], 8
jmp case.default.0x41fbb0
mov dword [esi + 0x1c0], 0x10
jmp case.default.0x41fbb0
mov dword [esi + 0x1c0], 0x20
fild dword [esp + 0x30]
mov al, byte [edi + 7]
shr al, 3
and al, 7
fmul qword [0x4b2e98]
movzx ecx, al
mov dword [esp + 0x30], ecx
fimul dword [esp + 0x18]
fimul dword [esi + 0x1c0]
fild dword [esp + 0x30]
fmulp st(1)
fmul qword [0x4a7818]
call fcn.00488e00
mov dword [esi + 0x180], eax
mov cl, byte [edi + 0x78]
mov al, cl
shr al, 4
mov dl, 0xa
imul dl
and cl, 0xf
add al, cl
mov byte [esi + 0x1fc], al
mov cl, byte [edi + 0x79]
mov al, cl
shr al, 4
imul dl
and cl, 0xf
add al, cl
mov byte [esi + 0x1fd], al
movzx eax, byte [edi + 0x7d]
movzx ecx, byte [edi + 0x7c]
movzx edx, byte [edi + 0x7b]
shl eax, 8
add eax, ecx
movzx ecx, byte [edi + 0x7a]
shl eax, 8
add eax, edx
shl eax, 8
add eax, ecx
mov dword [esi + 0x184], eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4