Function at 0x4ad6b0
Capabilities:
Access peb ldr_data
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4dee5b
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5265f0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2c]
mov edi, dword [esi + 0xc]
push 0x4ed5d0
lea eax, [esi + 0x1c]
push 0x20
push eax
call fcn.004c5045
mov dword [esi + 0x18], 8
movzx ecx, byte [edi + 9]
movzx edx, byte [edi + 0xa]
mov dword [esp + 0x38], ecx
mov al, byte [edi + 0xb]
movzx eax, al
fild dword [esp + 0x38]
mov dword [esp + 0x38], edx
mov dword [esp + 0x1c], eax
fild dword [esp + 0x38]
fdivp st(1)
fstp dword [esp + 0x38]
fld dword [esp + 0x38]
fild dword [esp + 0x1c]
fmulp st(1)
fld qword [0x505b98]
fdiv st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fld st(0)
call fcn.004c51b0
fadd st(0), st(0)
mov dword [esi + 0x1d0], eax
fmul qword [0x4e78e0]
fdiv qword [0x505ba8]
fld qword [0x4e3028]
fadd st(1), st(0)
fxch st(1)
call fcn.004c51b0
fld qword [0x4e78e8]
fdivrp st(2)
mov ebx, eax
imul ebx, ebx, 0x64
faddp st(1)
mov dword [esi + 0x1cc], ebx
call fcn.004c51b0
push ebx
push 0x4f1a60
lea ecx, [esi + 0x3c]
push 0x20
push ecx
mov dword [esi + 0x1d4], eax
call fcn.00422580
movzx edx, byte [edi + 0xe]
mov dword [esp + 0x30], edx
push 0xc
fild dword [esp + 0x34]
fmul dword [esp + 0x4c]
fstp dword [esp + 0x34]
call fcn.004b3e57
add esp, 0x20
mov dword [esp + 0x18], eax
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x24], ebx
je 0x4ad7c6
mov ecx, eax
call fcn.004a5db0
mov ebx, eax
fld dword [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
fst dword [ebx + 8]
fmul dword [esp + 0x14]
fdiv qword [0x505b98]
fadd qword [0x4f1a70]
call fcn.004c51b0
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
push ebx
fstp dword [ebx + 4]
mov ecx, dword [esi + 0x1d8]
call fcn.004aac30
movzx eax, byte [edi + 0x13]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fld dword [esp + 0x2c]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esi + 0x1dc]
movzx ecx, byte [edi + 0x15]
mov dword [esp + 0x2c], ecx
fild dword [esp + 0x2c]
fmul st(1)
fstp dword [esi + 0x1e4]
movzx edx, byte [edi + 0x17]
mov dword [esp + 0x2c], edx
fild dword [esp + 0x2c]
fmul st(1)
fstp dword [esi + 0x1e8]
movzx eax, byte [edi + 0x18]
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
fmulp st(1)
fstp dword [esi + 0x1ec]
movzx ebx, byte [edi + 0x75]
and ebx, 0x7f
cmp ebx, 7
jle 0x4ad86a
mov ebx, 7
xor eax, eax
test ebx, ebx
jle 0x4ad881
push ebx
lea eax, [esi + 0x5c]
push 0x7f
push eax
call fcn.004c43d0
add esp, 0xc
mov eax, ebx
mov cl, byte [edi + 0x76]
lea edx, [esi + 0x64]
mov byte [eax + esi + 0x5c], cl
push edx
lea eax, [esi + 0x5c]
push eax
call fcn.004a8540
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 + 0x34], edx
add ecx, 9
mov edx, 1
shl edx, cl
and eax, 3
add esp, 8
cmp eax, 3
mov dword [esp + 0x14], edx
ja case.default.0x4ad8cd
jmp dword [eax*4 + 0x4ad9a4]
mov dword [esi + 0x1c4], 4
jmp case.default.0x4ad8cd
mov dword [esi + 0x1c4], 8
jmp case.default.0x4ad8cd
mov dword [esi + 0x1c4], 0x10
jmp case.default.0x4ad8cd
mov dword [esi + 0x1c4], 0x20
fild dword [esp + 0x2c]
mov al, byte [edi + 7]
shr al, 3
and al, 7
fmul qword [0x4e78e0]
movzx ecx, al
mov dword [esp + 0x2c], ecx
fimul dword [esp + 0x14]
fimul dword [esi + 0x1c4]
fild dword [esp + 0x2c]
fmulp st(1)
fmul qword [0x505bc0]
call fcn.004c51b0
mov dword [esi + 0x184], 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 + 0x200], al
mov cl, byte [edi + 0x79]
mov al, cl
shr al, 4
imul dl
and cl, 0xf
add al, cl
mov byte [esi + 0x201], al
movzx eax, byte [edi + 0x7a]
movzx ecx, byte [edi + 0x7b]
movzx edx, byte [edi + 0x7c]
shl eax, 8
add eax, ecx
movzx ecx, byte [edi + 0x7d]
shl eax, 8
add eax, edx
shl eax, 8
add eax, ecx
mov dword [esi + 0x188], eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret 4