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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10142feb
mov eax, dword fs:[0]
push eax
sub esp, 0x358
mov eax, dword [0x1019c828]
xor eax, esp
mov dword [esp + 0x350], eax
push ebx
push esi
push edi
mov eax, dword [0x1019c828]
xor eax, esp
push eax
lea eax, [esp + 0x368]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x38], ecx
mov ecx, dword [ecx + 4]
push eax
push ecx
lea ecx, [esp + 0x148]
mov byte [esp + 0x1f], 0
call fcn.100260d0
mov eax, dword [esp + 0x50]
and eax, 0xfffffffb
or eax, 0x1b
and eax, 0xfffffff6
xor esi, esi
or eax, 0x10
mov dword [esp + 0x50], eax
push esi
lea eax, [esp + 0x144]
push eax
mov dword [esp + 0x378], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], 1
call fcn.10026030
cmp eax, esi
mov dword [esp + 0x30], eax
je 0x1002ae68
lea ecx, [esp + 0x44]
push ecx
push eax
call sym.rt3d.dll_class_FILETYPE____stdcall_e3GetFileFormat_unsigned_short_int_const___struct_FTINFO__
mov ebx, eax
cmp ebx, esi
mov dword [esp + 0x40], ebx
jne 0x1002ae86
lea ecx, [esp + 0x140]
mov dword [esp + 0x370], 0xffffffff
call fcn.10025f70
xor al, al
jmp 0x1002b76f
mov ecx, dword [ebx + 4]
mov eax, ecx
shr eax, 0xa
and al, 1
cmp cl, 1
sete dl
test ecx, 0x8000
jne 0x1002b754
test al, al
je 0x1002b754
test dl, dl
je 0x1002b754
cmp edi, esi
je 0x1002aee3
mov edx, dword [edi + 0xe4]
mov eax, dword [edi + 0xe8]
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], eax
mov eax, dword [0x10327408]
mov ecx, dword [eax]
lea edx, [esp + 0x54]
push edx
push 3
push eax
mov eax, dword [ecx + 0x234]
call eax
jmp 0x1002aef5
mov eax, dword [0x10327408]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x234]
push esi
push esi
push eax
call edx
mov esi, eax
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 8]
mov eax, dword [ebx + 0x60]
test eax, eax
mov dword [esp + 0x34], ecx
je 0x1002af17
cmp dword [eax + 8], 0
jne 0x1002af17
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [ebx + 0x28]
test eax, eax
mov dword [esp + 0x3c], eax
je 0x1002b74c
test edi, edi
je 0x1002b6b6
cmp dword [edi], 0xf8
je 0x1002af4a
push 0
push 0xd4f
push str..RenderingV4CRHRenderContext.cpp
call fcn.100e9acf
add esp, 0xc
fld qword [edi + 8]
push ecx
mov ecx, dword [esp + 0x38]
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fstp dword [esp]
call fcn.10026f90
mov edx, dword [esp + 0x30]
mov eax, dword [0x10327408]
mov ecx, dword [eax]
push edx
lea edx, [esp + 0x33c]
push edx
push eax
mov eax, dword [ecx + 0x40]
call eax
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x28]
xor edx, edx
cmp dword [edi + 0x5c], 2
lea eax, [esp + 0x338]
sete dl
push edx
push str.Animation
push eax
push esi
call ecx
movzx eax, byte [edi + 0x85]
mov edx, dword [esi]
mov edx, dword [edx + 0x28]
push eax
push str.Normals
lea ecx, [esp + 0x340]
push ecx
push esi
call edx
mov eax, dword [esi]
mov eax, dword [eax + 0x28]
xor ecx, ecx
cmp dword [edi + 0x88], 0x64
lea edx, [esp + 0x338]
setl cl
push ecx
push str.MeshCompression
push edx
push esi
call eax
mov eax, dword [edi + 0x88]
mov ecx, dword [esi]
lea edx, [eax + eax*4]
lea eax, [edx + edx + 1]
push eax
mov eax, dword [ecx + 0x28]
push str.MeshVertexQuality
lea edx, [esp + 0x340]
push edx
push esi
call eax
mov eax, dword [edi + 0x88]
mov ecx, dword [esi]
lea edx, [eax + eax*4]
lea eax, [edx + edx + 1]
push eax
mov eax, dword [ecx + 0x28]
push str.MeshNormalQuality
lea edx, [esp + 0x340]
push edx
push esi
call eax
mov eax, dword [edi + 0x88]
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x28]
lea edx, [eax + eax*2 + 1]
push edx
push str.MeshDiffuseQuality
lea eax, [esp + 0x340]
push eax
push esi
call ecx
mov edx, dword [esi]
mov eax, dword [edi + 0x88]
mov edx, dword [edx + 0x28]
lea eax, [eax + eax*4 + 1]
push eax
push str.MeshTexcoordQuality
lea ecx, [esp + 0x340]
push ecx
push esi
call edx
mov eax, dword [esi]
mov eax, dword [eax + 0x28]
xor ecx, ecx
cmp dword [edi + 0x8c], 1
lea edx, [esp + 0x338]
sete cl
push ecx
push str.TextureJPG
push edx
push esi
call eax
mov edx, dword [edi + 0x90]
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x28]
push edx
push str.TextureCompressionQuality
lea eax, [esp + 0x340]
push eax
push esi
call ecx
mov eax, dword [edi + 0xf0]
mov edx, dword [esi]
mov edx, dword [edx + 0x28]
push eax
push str.AcrobatVersionCompatibility
lea ecx, [esp + 0x340]
push ecx
push esi
call edx
mov eax, dword [edi + 0x5c]
sub eax, 0
je 0x1002b1c3
sub eax, 1
je 0x1002b1bf
sub eax, 1
jne 0x1002b1f1
mov eax, dword [esi]
mov edx, dword [eax + 0x28]
push 1
push str.animenable
lea ecx, [esp + 0x340]
push ecx
push esi
call edx
cmp byte [edi + 0x66], 0
je 0x1002b1da
mov eax, dword [edi + 0x68]
sub eax, 0
je 0x1002b176
sub eax, 1
jne 0x1002b1da
fld qword [edi + 0x70]
fdiv qword [0x10152788]
fst qword [esp + 0x24]
fldz
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x1002b12a
fstp qword [esp + 0x24]
jmp 0x1002b12c
fstp st(0)
mov eax, dword [esi]
mov edx, dword [eax + 0x28]
push 1
push str.anim_rescale
lea ecx, [esp + 0x340]
push ecx
push esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x28]
push 1
push str.anim_rescaletype
lea ecx, [esp + 0x340]
push ecx
push esi
call edx
fld qword [esp + 0x24]
mov eax, dword [esi]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
mov edx, dword [eax + 0x38]
push ecx
fstp dword [esp]
push str.anim_rescalepercent
jmp 0x1002b1e6
mov eax, dword [esi]
mov edx, dword [eax + 0x28]
push 1
push str.anim_rescale
lea ecx, [esp + 0x340]
push ecx
push esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x28]
push 0
push str.anim_rescaletype
lea ecx, [esp + 0x340]
push ecx
push esi
call edx
fld qword [edi + 0x78]
mov eax, dword [esi]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
mov edx, dword [eax + 0x38]
push ecx
fstp dword [esp]
push str.anim_setLengthTo
jmp 0x1002b1e6
push 1
jmp 0x1002b1c5
push 0
mov eax, dword [esi]
mov edx, dword [eax + 0x28]
push str.animenable
lea ecx, [esp + 0x340]
push ecx
push esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x28]
push 0
push str.anim_rescale
lea ecx, [esp + 0x340]
push ecx
push esi
call edx
mov ecx, dword [esp + 0x38]
call fcn.10026cd0
xor ebx, ebx
test eax, eax
mov dword [esp + 0x20], eax
mov byte [esp + 0x17], 0
jbe 0x1002b2a7
lea ecx, [ecx]
mov ecx, dword [esp + 0x38]
push ebx
call fcn.10026d30
mov ecx, dword [eax]
push 2
push 0
push 0
lea edx, [esp + 0x68]
push edx
push eax
mov eax, dword [ecx + 0xac]
call eax
test al, al
je 0x1002b296
cmp byte [esp + 0x17], 0
jne 0x1002b284
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
mov dword [esp + 0x348], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x34c], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x350], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x354], ecx
mov dword [esp + 0x358], edx
mov dword [esp + 0x35c], eax
mov byte [esp + 0x17], 1
jmp 0x1002b296
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x34c]
push edx
call sym.rt3d.dll_public:_struct_BOX3D____stdcall_BOX3D::operator_struct_BOX3D_const__
add ebx, 1
cmp ebx, dword [esp + 0x20]
jb 0x1002b210
mov eax, dword [esp + 0x20]
test eax, eax
mov dword [esp + 0x30], 0
jbe 0x1002b6a0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
push eax
call fcn.10026d30
mov ebx, eax
cmp dword [ebx + 0x64], 0
je 0x1002b2f5
mov eax, dword [ebx + 0x64]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x40]
push eax
call edx
cmp eax, 3
je 0x1002b68b
mov eax, dword [ebx + 0x64]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x40]
push eax
call edx
cmp eax, 4
je 0x1002b68b
mov eax, dword [ebx]
mov edx, dword [eax + 0x98]
push 0
lea ecx, [esp + 0x1b8]
push ecx
push ebx
call edx
cmp byte [esp + 0x17], 0
je 0x1002b451
cmp byte [edi + 0xe0], 0
je 0x1002b3ab
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x34c]
call fcn.100266f0
fld dword [eax]
fld qword [0x1014e7a8]
lea ecx, [esp + 0xbc]
fmul st(1), st(0)
push ecx
fxch st(1)
fstp dword [esp + 0x20]
fld dword [eax + 4]
fmul st(1)
fstp dword [esp + 0x1c]
fmul dword [eax + 8]
fstp dword [esp + 0x28]
fld dword [esp + 0x20]
fstp dword [esp + 0x84]
fld dword [esp + 0x1c]
fstp dword [esp + 0x88]
fld dword [esp + 0x28]
fstp dword [esp + 0x8c]
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::IdentityMatrix_void_
lea edx, [esp + 0x80]
push edx
lea eax, [esp + 0xc0]
push eax
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::Offset_struct_POINT3D_const__
mov ecx, dword [ebx]
mov eax, dword [ecx + 0xa8]
push 1
lea edx, [esp + 0xc0]
push edx
push ebx
call eax
cmp dword [edi + 0x94], 1
jne 0x1002b451
lea ecx, [esp + 0xb0]
push ecx
lea ecx, [esp + 0x34c]
call fcn.10026690
lea edx, [esp + 0xbc]
push edx
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::IdentityMatrix_void_
fld dword [esp + 0xb0]
fdivr qword [edi + 0x98]
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0xc0]
push ecx
fstp dword [esp + 0x2c]
fld dword [esp + 0xbc]
fdivr qword [edi + 0xa0]
fstp dword [esp + 0x20]
fld dword [esp + 0xc0]
fdivr qword [edi + 0xa8]
fstp dword [esp + 0x24]
fld dword [esp + 0x2c]
fstp dword [esp + 0x7c]
fld dword [esp + 0x20]
fstp dword [esp + 0x80]
fld dword [esp + 0x24]
fstp dword [esp + 0x84]
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::Scale_struct_POINT3D_const__
mov edx, dword [ebx]
mov ecx, dword [edx + 0xa8]
push 1
lea eax, [esp + 0xc0]
push eax
push ebx
call ecx
cmp dword [edi + 0x94], 0
jne 0x1002b4d0
lea edx, [esp + 0xbc]
push edx
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::IdentityMatrix_void_
fld qword [edi + 0x98]
fstp dword [esp + 0x24]
lea eax, [esp + 0x8c]
fld qword [edi + 0xa0]
push eax
fstp dword [esp + 0x1c]
lea ecx, [esp + 0xc0]
fld qword [edi + 0xa8]
push ecx
fstp dword [esp + 0x24]
fld dword [esp + 0x2c]
fstp dword [esp + 0x94]
fld dword [esp + 0x20]
fstp dword [esp + 0x98]
fld dword [esp + 0x24]
fstp dword [esp + 0x9c]
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::Scale_struct_POINT3D_const__
mov edx, dword [ebx]
mov ecx, dword [edx + 0xa8]
push 1
lea eax, [esp + 0xc0]
push eax
push ebx
call ecx
lea edx, [esp + 0xbc]
push edx
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::IdentityMatrix_void_
fld qword [edi + 0xb0]
fld qword [0x101535f0]
lea eax, [esp + 0x98]
fmul st(1), st(0)
push eax
fxch st(1)
lea ecx, [esp + 0xc0]
push ecx
fstp dword [esp + 0x2c]
fld qword [edi + 0xb8]
fmul st(1)
fstp dword [esp + 0x20]
fmul qword [edi + 0xc0]
fstp dword [esp + 0x24]
fld dword [esp + 0x2c]
fstp dword [esp + 0xa0]
fld dword [esp + 0x20]
fstp dword [esp + 0xa4]
fld dword [esp + 0x24]
fstp dword [esp + 0xa8]
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::SetRotate_struct_POINT3D_const__
mov edx, dword [ebx]
mov ecx, dword [edx + 0xa8]
push 1
lea eax, [esp + 0xc0]
push eax
push ebx
call ecx
cmp byte [edi + 0xe0], 0
jne 0x1002b5d1
lea edx, [esp + 0xbc]
push edx
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::IdentityMatrix_void_
fld qword [edi + 0xc8]
fstp dword [esp + 0x24]
lea eax, [esp + 0xa4]
fld qword [edi + 0xd0]
push eax
fstp dword [esp + 0x1c]
lea ecx, [esp + 0xc0]
fld qword [edi + 0xd8]
push ecx
fstp dword [esp + 0x24]
fld dword [esp + 0x2c]
fstp dword [esp + 0xac]
fld dword [esp + 0x20]
fstp dword [esp + 0xb0]
fld dword [esp + 0x24]
fstp dword [esp + 0xb4]
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::Offset_struct_POINT3D_const__
mov edx, dword [ebx]
mov ecx, dword [edx + 0xa8]
push 1
lea eax, [esp + 0xc0]
push eax
push ebx
call ecx
mov edx, dword [esi]
mov ecx, dword [edx + 0x24]
push 0
push str.animenable
lea eax, [esp + 0x340]
push eax
push esi
call ecx
test eax, eax
je 0x1002b68b
mov edx, dword [ebx]
mov ecx, dword [edx + 0x98]
push 0
lea eax, [esp + 0x238]
push eax
push ebx
call ecx
mov edx, dword [ebx]
mov eax, dword [edx + 0x78]
push 0x63
push ebx
call eax
mov ebx, eax
test ebx, ebx
je 0x1002b68b
cmp dword [ebx + 0x20], 0
je 0x1002b678
lea ecx, [esp + 0x1b4]
push ecx
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::Invert_void_
lea edx, [esp + 0x1b4]
push edx
lea eax, [esp + 0x238]
push eax
lea ecx, [esp + 0x2bc]
push ecx
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::SetMul_struct_MATRIX3D_const___struct_MATRIX3D_const__
lea edx, [esp + 0x2b4]
push edx
lea ecx, [esp + 0x17c]
call fcn.10026770
fldz
mov eax, dword [ebx]
mov edx, dword [eax + 0xa8]
push 0
push 1
lea ecx, [esp + 0x180]
push ecx
push ecx
fstp dword [esp]
push ebx
call edx
jmp 0x1002b68b
mov eax, dword [ebx]
mov edx, dword [eax + 0x88]
lea ecx, [esp + 0x234]
push ecx
push ebx
call edx
mov eax, dword [esp + 0x30]
add eax, 1
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x30], eax
jb 0x1002b2b7
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x58]
push 0
push eax
call edx
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
push esi
push ecx
lea edx, [esp + 0x148]
push edx
push 2
call eax
test eax, eax
setne al
test al, al
mov byte [esp + 0x17], al
jne 0x1002b6f7
mov eax, dword [esi]
mov eax, dword [eax + 0x10]
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x40]
push edx
push esi
call eax
cmp dword [esp + 0x3c], 0xfffffff4
jne 0x1002b74c
or dword [edi + 0xec], 1
jmp 0x1002b74c
mov ecx, dword [ebx + 0x2c]
mov edx, dword [ebx + 0x30]
mov eax, dword [ebx + 0x34]
mov dword [esp + 0x350], ecx
mov ecx, dword [ebx + 0x38]
mov dword [esp + 0x35c], ecx
push 0
lea ecx, [esp + 0x34c]
mov dword [esp + 0x358], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x35c], eax
push ecx
lea eax, [esp + 0x148]
push 0x110f
mov dword [esp + 0x358], edx
mov dword [esp + 0x354], eax
call fcn.100f5d4a
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
call eax
lea ecx, [esp + 0x140]
mov dword [esp + 0x370], 0xffffffff
call fcn.10025f70
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x368]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x350]
xor ecx, esp
call fcn.1013fce4
mov esp, ebp
pop ebp
ret 8