Function at 0x10128135
Capabilities:
Encrypt data using speck

Disassembly:
push 0x13c
mov eax, 0x1014fd9d
call fcn.101439bc
mov ebx, ecx
mov dword [ebp - 0x110], ebx
mov eax, dword [ebx + 8]
mov edi, dword [ebp + 8]
mov dword [ebp - 0xc4], edi
push 0xc
pop edx
test eax, eax
je 0x1012818c
xor ecx, ecx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
mov dword [ebx + 0x30], eax
pop ecx
test eax, eax
je 0x10129490
imul ecx, dword [ebx + 8], 0xc
push ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
call sym.rt3d.dll_public:_static_class_e3_MEM____stdcall_e3_MEM::Create_void_
mov dword [ebx + 0x34], eax
test eax, eax
je 0x10129490
push 0x40
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
mov dword [ebx + 0x38], eax
pop ecx
test eax, eax
je 0x10129490
push 0x40
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [ebx + 0x38]
add esp, 0xc
mov eax, dword [ebx + 4]
mov dword [ecx + 0x38], eax
mov ecx, dword [ebx + 0x38]
mov eax, dword [ebx + 0x34]
mov dword [ecx + 4], eax
mov ecx, dword [ebx + 0x38]
mov eax, dword [ebx]
mov dword [ecx], eax
mov ecx, dword [ebx + 0x38]
mov eax, dword [ebx + 0x30]
mov dword [ecx + 0x10], eax
mov eax, dword [ebx + 0x38]
mov dword [eax + 0x3c], edi
mov eax, dword [ebx + 0x34]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 4]
mov ecx, esi
call dword [0x10151aac]
call esi
mov eax, dword [ebx + 0x38]
mov dword [edi + 0x2c], eax
push dword [ebx + 0x38]
mov ecx, dword [ebx]
push edi
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
xor edx, edx
mov esi, eax
inc edx
mov dword [ebp - 0xf8], esi
cmp esi, edx
jge 0x10128246
mov ecx, dword [ebx]
cmp dword [ecx + 0xbe], 0
je 0x1012822b
test dword [edi + 0x28], 0x800
jne 0x10128246
mov eax, dword [ecx]
push edi
push ecx
mov esi, dword [eax + 0xac]
mov ecx, esi
call dword [0x10151aac]
call esi
xor eax, eax
jmp 0x10129493
mov eax, dword [edi + 0x28]
test al, 0x40
je 0x1012832b
test esi, esi
je 0x1012832b
mov ecx, dword [ebx]
cmp dword [ecx + 0x112], 0
jne 0x101282a8
mov eax, dword [ecx + 0x122]
xor ecx, ecx
push 0xc
pop edx
mov dword [ebp - 0xb8], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
mov dword [ebp - 0xb8], eax
pop ecx
mov ecx, dword [ebx]
mov dword [ecx + 0x112], eax
mov ecx, dword [ebx]
cmp dword [ecx + 0x112], 0
je 0x10129490
mov eax, dword [edi + 0x28]
xor edx, edx
inc edx
test eax, 0x200
je 0x10128310
cmp dword [edi + 0x24], 0
je 0x10128310
mov eax, dword [ecx + 0x66]
xor ecx, ecx
push 0xc
pop edx
mov dword [ebp - 0xb8], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
mov esi, eax
mov dword [ebp - 0xb8], esi
pop ecx
test esi, esi
je 0x10129490
mov ecx, dword [ebx]
push dword [ecx + 0x66]
push esi
push dword [ecx + 0x62]
push dword [edi + 0x24]
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
push dword [edi + 0x24]
mov ecx, dword [ebx]
push esi
push 7
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
push esi
call fcn.1014371d
mov esi, dword [ebp - 0xf8]
pop ecx
jmp 0x1012832b
push 0
push dword [ecx + 0x62]
push edx
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
mov ecx, dword [ebx]
push 0
push dword [ecx + 0x62]
push 2
pop eax
push eax
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
mov eax, dword [ebx]
xor edx, edx
mov cl, dl
mov dword [ebp - 0x108], ecx
cmp dword [eax + 0x6e], edx
je 0x10128357
cmp dword [eax + 0xa2], edx
je 0x10128357
test byte [edi + 0x28], 0x80
push 1
movzx ecx, cl
pop eax
cmovne ecx, eax
mov dword [ebp - 0x108], ecx
push 0x64
push edx
lea eax, [ebp - 0x94]
mov dword [ebp - 0xf0], edx
push eax
mov dword [ebp - 0xe0], edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
test dword [edi + 0x28], 0x20080
push 3
pop ecx
je 0x10128514
test esi, esi
je 0x1012858b
test dword [edi + 0x28], 0x20000
je 0x10128436
mov ecx, dword [ebx]
and dword [ebp - 0xb8], 0
cmp dword [ecx + 0x54], 0
jbe 0x1012841a
mov edi, dword [ebp - 0xb8]
xor edx, edx
mov eax, dword [ecx + 0x50]
mov dword [ebp - 0xb8], 0x3e8
movzx esi, word [eax + edx]
cmp si, word [ebp - 0xb8]
jb 0x101283eb
mov dword [ebp - 0xb8], 0x44c
cmp si, word [ebp - 0xb8]
jae 0x101283eb
mov eax, esi
or byte [ebp + eax - 0x47c], 1
mov eax, dword [ecx + 0x50]
movzx esi, word [edx + eax]
lea eax, [esi - 0x384]
cmp ax, 0x63
ja 0x10128405
mov eax, esi
or byte [ebp + eax - 0x418], 2
inc edi
add edx, 0x1c
cmp edi, dword [ecx + 0x54]
jb 0x101283b1
mov edi, dword [ebp - 0xc4]
mov esi, dword [ebp - 0xf8]
xor ecx, ecx
mov edx, ecx
cmp byte [ebp + ecx - 0x94], 3
lea eax, [edx + 1]
cmovne eax, edx
inc ecx
mov edx, eax
cmp ecx, 0x64
jb 0x1012841e
jmp 0x1012844e
cmp byte [ebp - 0x108], 0
je 0x10128514
xor eax, eax
mov byte [ebp - 0x94], cl
lea edx, [eax + 1]
mov dword [ebp - 0xf0], edx
test edx, edx
je 0x10128514
xor ecx, ecx
mov eax, edx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
mov dword [ebx + 0xc], eax
pop ecx
test eax, eax
je 0x10129490
mov eax, dword [ebp - 0xf0]
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
mov dword [ebx + 0x10], eax
pop ecx
test eax, eax
je 0x10129490
mov eax, dword [ebp - 0xf0]
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
mov dword [ebx + 0x14], eax
pop ecx
test eax, eax
je 0x10129490
test byte [edi + 0x28], 0x10
je 0x101284f6
mov eax, dword [ebp - 0xf0]
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
mov dword [ebx + 0x18], eax
pop ecx
test eax, eax
je 0x10129490
mov eax, dword [ebx + 0x38]
mov edx, dword [ebp - 0xf0]
mov dword [eax + 0x2c], edx
mov ecx, dword [ebx + 0x38]
mov eax, dword [ebx + 0x14]
mov dword [ecx + 0x20], eax
mov ecx, dword [ebx + 0x38]
mov eax, dword [ebx + 0x18]
mov dword [ecx + 0x24], eax
test esi, esi
je 0x1012858b
xor edi, edi
xor edx, edx
mov dword [ebp - 0xec], edx
cmp byte [ebp + edi - 0x94], 3
jne 0x10128579
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx]
add eax, edx
push eax
mov eax, dword [ebx + 0x10]
add eax, edx
mov esi, dword [ecx]
push eax
push edi
push ecx
mov esi, dword [esi + 0x19c]
mov ecx, esi
call dword [0x10151aac]
call esi
mov edx, dword [ebp - 0xec]
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebp - 0xe0]
push 4
mov dword [edx + eax], edi
pop eax
add edx, eax
test edi, edi
lea eax, [ecx + 1]
mov dword [ebp - 0xec], edx
cmove eax, ecx
mov dword [ebp - 0xe0], eax
inc edi
cmp edi, 0x64
jb 0x10128522
mov edi, dword [ebp - 0xc4]
mov esi, dword [ebp - 0xf8]
mov ecx, dword [edi + 0x28]
mov eax, ecx
test ecx, 0x40000
je 0x101285c8
mov edx, dword [ebx]
cmp dword [edx + 0xaa], 0
je 0x101285a9
cmp dword [edx + 0x7e], 0
jne 0x101285b4
cmp dword [edx + 0x8a], 0
mov eax, ecx
je 0x101285c8
xor edx, edx
mov eax, ecx
inc edx
test esi, esi
je 0x101285cb
mov eax, dword [ebx + 0x38]
mov byte [eax + 0x36], dl
mov eax, dword [edi + 0x28]
jmp 0x101285cb
xor edx, edx
inc edx
test al, 0x20
je 0x10128e3f
mov eax, dword [ebx + 0x38]
mov ecx, dword [ebp - 0x108]
mov byte [eax + 0x35], cl
test byte [edi + 0x28], 0x40
je 0x101285eb
mov eax, dword [ebx + 0x38]
mov byte [eax + 0x34], dl
mov ecx, dword [ebx + 0x38]
push 6
pop eax
push 3
cmp byte [ecx + 0x34], 0
pop edx
cmove eax, edx
cmp byte [ecx + 0x36], 0
lea esi, [eax + 4]
cmove esi, eax
mov eax, dword [ebp - 0xf0]
test eax, eax
je 0x10128615
mov dword [ecx + 0x30], esi
lea esi, [esi + eax*2]
call sym.rt3d.dll_public:_static_class_e3_MEM____stdcall_e3_MEM::Create_void_
mov ecx, dword [ebx + 0x38]
mov dword [ecx + 8], eax
mov eax, dword [ebx + 0x38]
cmp dword [eax + 8], 0
je 0x10129490
push 0x20
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
pop ecx
mov dword [ebp - 0xb8], eax
and dword [ebp - 4], 0
test eax, eax
je 0x10128653
mov ecx, dword [ebx + 0x38]
push esi
push dword [ecx + 8]
mov ecx, eax
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
jmp 0x10128655
xor eax, eax
mov ecx, dword [ebx + 0x38]
or dword [ebp - 4], 0xffffffff
mov dword [ecx + 0xc], eax
mov ecx, dword [ebx + 0x38]
cmp dword [ecx + 0xc], 0
je 0x10129490
xor ecx, ecx
mov eax, esi
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
mov dword [ebx + 0x20], eax
pop ecx
test eax, eax
je 0x10129490
xor edx, edx
mov dword [ebp - 0xe4], edx
cmp dword [ebx + 8], edx
jbe 0x10128e12
xor ecx, ecx
mov dword [ebp - 0x114], 0x11
mov dword [ebp - 0x118], ecx
mov eax, dword [ebx + 0x30]
add eax, ecx
mov dword [ebp - 0x108], eax
test byte [eax + 8], 2
jne 0x10128df2
mov esi, dword [ebx]
mov ecx, esi
push edx
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
mov ecx, dword [ebx + 0x38]
mov edx, dword [ebp - 0xe4]
mov dword [ebp - 0xdc], eax
cmp byte [ecx + 0x36], 0
je 0x101286f0
mov ecx, dword [esi + 0xaa]
lea eax, [ecx + edx*4]
jmp 0x101286f2
xor eax, eax
mov dword [ebp - 0xd0], eax
test eax, eax
je 0x10128709
xor ecx, ecx
cmp dword [eax], ecx
cmove eax, ecx
mov dword [ebp - 0xd0], eax
mov eax, dword [esi + 0x9e]
mov ecx, edx
shl ecx, 2
add eax, ecx
mov dword [ebp - 0xd8], ecx
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x108]
test byte [eax + 8], 1
je 0x10128ad2
and dword [ebp - 0xbc], 0
cmp dword [eax + 4], 0
jle 0x10128df2
push dword [ebx + 0x3c]
push 3
pop esi
push esi
push edi
call fcn.10126d53
add esp, 0xc
test eax, eax
js 0x10129493
mov ecx, dword [ebx + 0x38]
push esi
push dword [ebp - 0xe4]
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
mov esi, eax
mov dword [ebp - 0xd4], esi
test esi, esi
je 0x10129490
mov ecx, dword [ebp - 0x108]
mov eax, dword [ebp - 0xbc]
mov ecx, dword [ecx]
mov eax, dword [ecx + eax*4]
mov ecx, dword [ebx]
mov dword [ebp - 0xb8], eax
sub eax, dword [ecx + 0x102]
cdq
idiv dword [ebp - 0x114]
imul edx, eax, 6
add edx, dword [ecx + 0x10a]
mov dword [esi + 8], eax
xor esi, esi
mov dword [ebp - 0xc8], edx
mov dword [ebp - 0xcc], esi
mov edx, dword [ebx]
mov eax, dword [ebp - 0xe0]
cmp dword [edx + 0x10a], 0
mov ecx, dword [eax]
je 0x101287dc
mov eax, dword [ebp - 0xc8]
movzx eax, word [eax + esi*2]
mov eax, dword [ecx + eax*4]
jmp 0x101287df
mov eax, dword [ecx + esi*4]
test dword [edi + 0x28], 0x200
mov dword [ebp - 0xc0], eax
je 0x10128808
imul eax, eax, 0xc
lea ecx, [ebp - 0x128]
push 1
push ecx
add eax, dword [edx + 0x62]
push eax
push dword [edi + 0x24]
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
jmp 0x10128837
cmp dword [edx + 0x10a], 0
lea edi, [ebp - 0x128]
je 0x10128827
mov eax, dword [ebp - 0xc8]
movzx eax, word [eax + esi*2]
imul esi, dword [ecx + eax*4], 0xc
jmp 0x1012882b
imul esi, dword [ecx + esi*4], 0xc
add esi, dword [edx + 0x62]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0xcc]
mov eax, dword [ebx + 0x20]
movss xmm0, dword [ebp - 0x128]
push 3
movss dword [eax], xmm0
mov eax, dword [ebx + 0x20]
movss xmm0, dword [ebp - 0x124]
movss dword [eax + 4], xmm0
mov eax, dword [ebx + 0x20]
movss xmm0, dword [ebp - 0x120]
movss dword [eax + 8], xmm0
pop eax
mov edx, eax
mov eax, dword [ebx + 0x38]
cmp byte [eax + 0x34], 0
je 0x101288a9
mov eax, dword [ebp - 0xb8]
push 6
mov ecx, dword [eax + esi*4 + 5]
mov eax, dword [ebx]
mov eax, dword [eax + 0xf6]
mov edx, dword [eax + ecx*8]
mov ecx, dword [ebx + 0x20]
mov eax, dword [edx]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebx + 0x20]
mov eax, dword [edx + 4]
mov dword [ecx + 0x10], eax
mov ecx, dword [ebx + 0x20]
mov eax, dword [edx + 8]
pop edx
mov dword [ecx + 0x14], eax
mov eax, dword [ebx + 0x38]
cmp byte [eax + 0x36], 0
je 0x10128998
mov eax, dword [ebp - 0xd0]
test eax, eax
je 0x10128968
mov edi, dword [ebx]
mov ecx, dword [eax]
cmp dword [edi + 0x10a], 0
je 0x101288de
mov eax, dword [ebp - 0xc8]
movzx eax, word [eax + esi*2]
imul esi, dword [ecx + eax*4], 0xc
jmp 0x101288e2
imul esi, dword [ecx + esi*4], 0xc
add esi, dword [edi + 0x7e]
lea edi, [ebp - 0x148]
mov eax, dword [ebx + 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movss xmm0, dword [ebp - 0x148]
mov esi, dword [ebp - 0xcc]
movss dword [eax + edx*4], xmm0
mov eax, dword [ebx + 0x20]
movss xmm0, dword [ebp - 0x144]
movss dword [eax + edx*4 + 4], xmm0
mov eax, dword [ebx + 0x20]
movss xmm0, dword [ebp - 0x140]
movss dword [eax + edx*4 + 8], xmm0
mov eax, dword [ebx]
mov edi, dword [eax + 0x6a]
test edi, edi
je 0x10128956
cmp dword [eax + 0x10a], 0
je 0x10128947
mov eax, dword [ebp - 0xc8]
movzx eax, word [eax + esi*2]
mov eax, dword [ecx + eax*4]
jmp 0x1012894a
mov eax, dword [ecx + esi*4]
mov ecx, dword [ebx + 0x20]
mov eax, dword [edi + eax*4]
mov dword [ecx + edx*4 + 0xc], eax
jmp 0x10128961
mov eax, dword [ebx + 0x20]
mov dword [eax + edx*4 + 0xc], 0x3f800000
push 4
pop eax
add edx, eax
jmp 0x1012899e
mov eax, dword [ebx + 0x20]
push 4
mov dword [eax + edx*4], 0x3f800000
mov eax, dword [ebx + 0x20]
mov dword [eax + edx*4 + 4], 0x3f800000
mov eax, dword [ebx + 0x20]
mov dword [eax + edx*4 + 8], 0x3f800000
mov eax, dword [ebx + 0x20]
mov dword [eax + edx*4 + 0xc], 0x3f800000
pop eax
add edx, eax
mov esi, dword [ebp - 0xcc]
xor edi, edi
cmp dword [ebp - 0xf0], edi
jle 0x10128a42
shl edx, 2
mov dword [ebp - 0xec], edx
mov eax, dword [ebx + 0xc]
mov edx, dword [eax + edi*4]
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + edi*4]
add eax, dword [ebp - 0xd8]
mov ecx, dword [eax]
test ecx, ecx
je 0x10128a0f
mov eax, dword [ebx]
cmp dword [eax + 0x10a], 0
je 0x101289e7
mov eax, dword [ebp - 0xc8]
movzx eax, word [eax + esi*2]
mov ecx, dword [ecx + eax*4]
jmp 0x101289ea
mov ecx, dword [ecx + esi*4]
mov eax, dword [edx + ecx*8]
mov dword [ebp - 0x104], eax
mov eax, dword [edx + ecx*8 + 4]
movss xmm1, dword [ebp - 0x104]
mov dword [ebp - 0x100], eax
movss xmm0, dword [ebp - 0x100]
jmp 0x10128a15
xorps xmm0, xmm0
xorps xmm1, xmm1
mov ecx, dword [ebp - 0xec]
mov eax, dword [ebx + 0x20]
movss dword [ecx + eax], xmm1
mov eax, dword [ebx + 0x20]
movss dword [ecx + eax + 4], xmm0
add ecx, 8
inc edi
mov dword [ebp - 0xec], ecx
cmp edi, dword [ebp - 0xf0]
jl 0x101289b5
push dword [ebp - 0xdc]
push dword [ebx + 0x20]
push dword [ebp - 0xc0]
push dword [ebx + 0x38]
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
mov esi, dword [ebp - 0xcc]
add esp, 0x10
mov ecx, dword [ebp - 0xd4]
mov dword [ecx + esi*4 + 0x14], eax
cmp eax, 0xffffffff
je 0x10129490
mov ecx, dword [ecx + 0xc]
test ecx, ecx
je 0x10128a99
mov eax, dword [ebx]
cmp dword [eax + 0x10a], 0
je 0x10128a96
mov eax, dword [ebp - 0xc8]
movzx eax, word [eax + esi*2]
mov dword [ecx + esi*4], eax
jmp 0x10128a99
mov dword [ecx + esi*4], esi
mov edi, dword [ebp - 0xc4]
inc esi
push 3
pop eax
mov dword [ebp - 0xcc], esi
cmp esi, eax
jl 0x101287ba
mov esi, dword [ebp - 0xbc]
mov eax, dword [ebp - 0x108]
inc esi
mov dword [ebp - 0xbc], esi
cmp esi, dword [eax + 4]
jl 0x10128743
jmp 0x10128dec
push edx
mov ecx, esi
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
push dword [ebx + 0x3c]
movzx esi, ax
push esi
push edi
mov dword [ebp - 0xbc], esi
call fcn.10126d53
add esp, 0xc
test eax, eax
js 0x10129493
mov ecx, dword [ebx + 0x38]
push esi
push dword [ebp - 0xe4]
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
mov esi, eax
mov dword [ebp - 0xd4], esi
test esi, esi
je 0x10129490
mov eax, dword [ebp - 0x108]
mov ecx, dword [eax]
mov eax, dword [ecx]
mov ecx, dword [ebx]
sub eax, dword [ecx + 0x102]
cdq
idiv dword [ebp - 0x114]
imul edx, eax, 6
add edx, dword [ecx + 0x10a]
mov dword [esi + 8], eax
xor esi, esi
mov dword [ebp - 0xb8], edx
mov dword [ebp - 0xe8], esi
cmp dword [ebp - 0xbc], esi
jbe 0x10128dec
mov edx, dword [ebx]
mov eax, dword [ebp - 0xe0]
cmp dword [edx + 0x10a], 0
mov ecx, dword [eax]
je 0x10128b78
mov eax, dword [ebp - 0xb8]
movzx eax, word [eax + esi*2]
mov eax, dword [ecx + eax*4]
jmp 0x10128b7b
mov eax, dword [ecx + esi*4]
test dword [edi + 0x28], 0x200
mov dword [ebp - 0xc0], eax
je 0x10128ba4
imul eax, eax, 0xc
lea ecx, [ebp - 0x13c]
push 1
push ecx
add eax, dword [edx + 0x62]
push eax
push dword [edi + 0x24]
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
jmp 0x10128bba
imul esi, dword [ecx + esi*4], 0xc
lea edi, [ebp - 0x13c]
add esi, dword [edx + 0x62]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0xe8]
mov eax, dword [ebx + 0x20]
movss xmm0, dword [ebp - 0x13c]
push 3
movss dword [eax], xmm0
mov eax, dword [ebx + 0x20]
movss xmm0, dword [ebp - 0x138]
movss dword [eax + 4], xmm0
mov eax, dword [ebx + 0x20]
movss xmm0, dword [ebp - 0x134]
movss dword [eax + 8], xmm0
pop eax
mov edx, eax
mov eax, dword [ebx + 0x38]
cmp byte [eax + 0x34], 0
je 0x10128c56
mov ecx, dword [ebx]
push esi
mov eax, dword [ecx + 0x9e]
add eax, dword [ebp - 0xd8]
push eax
push dword [ebp - 0x108]
push ecx
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
mov edx, dword [ebx + 0x20]
add esp, 0x10
mov edi, eax
push 0xc
pop eax
test edi, edi
je 0x10128c3b
mov ecx, dword [edi]
mov dword [edx + eax], ecx
mov ecx, dword [ebx + 0x20]
mov eax, dword [edi + 4]
mov dword [ecx + 0x10], eax
mov ecx, dword [ebx + 0x20]
mov eax, dword [edi + 8]
mov dword [ecx + 0x14], eax
jmp 0x10128c50
and dword [edx + eax], 0
mov eax, dword [ebx + 0x20]
and dword [eax + 0x10], 0
mov eax, dword [ebx + 0x20]
mov dword [eax + 0x14], 0x3f800000
mov eax, dword [ebx + 0x38]
push 6
pop edx
cmp byte [eax + 0x36], 0
je 0x10128d0e
mov eax, dword [ebp - 0xd0]
test eax, eax
je 0x10128cde
mov ecx, dword [eax]
lea edi, [ebp - 0x1c]
mov eax, dword [ebx]
imul ecx, dword [ecx + esi*4], 0xc
mov esi, dword [eax + 0x7e]
mov eax, dword [ebx + 0x20]
add esi, ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movss xmm0, dword [ebp - 0x1c]
mov esi, dword [ebp - 0xe8]
movss dword [eax + edx*4], xmm0
mov eax, dword [ebx + 0x20]
movss xmm0, dword [ebp - 0x18]
movss dword [eax + edx*4 + 4], xmm0
mov eax, dword [ebx + 0x20]
movss xmm0, dword [ebp - 0x14]
movss dword [eax + edx*4 + 8], xmm0
mov eax, dword [ebx]
mov edi, dword [eax + 0x6a]
test edi, edi
je 0x10128ccc
mov ecx, dword [ebp - 0xd0]
mov eax, dword [ecx]
mov ecx, dword [ebx + 0x20]
mov eax, dword [eax + esi*4]
mov eax, dword [edi + eax*4]
mov dword [ecx + edx*4 + 0xc], eax
jmp 0x10128cd7
mov eax, dword [ebx + 0x20]
mov dword [eax + edx*4 + 0xc], 0x3f800000
push 4
pop eax
add edx, eax
jmp 0x10128d14
mov eax, dword [ebx + 0x20]
push 4
mov dword [eax + edx*4], 0x3f800000
mov eax, dword [ebx + 0x20]
mov dword [eax + edx*4 + 4], 0x3f800000
mov eax, dword [ebx + 0x20]
mov dword [eax + edx*4 + 8], 0x3f800000
mov eax, dword [ebx + 0x20]
mov dword [eax + edx*4 + 0xc], 0x3f800000
pop eax
add edx, eax
mov esi, dword [ebp - 0xe8]
xor edi, edi
cmp dword [ebp - 0xf0], edi
jle 0x10128d96
shl edx, 2
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [ebp - 0xec], eax
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + edi*4]
add eax, dword [ebp - 0xd8]
mov ecx, dword [eax]
test ecx, ecx
je 0x10128d73
mov ecx, dword [ecx + esi*4]
mov eax, dword [ebp - 0xec]
mov eax, dword [eax + ecx*8]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0xec]
movss xmm1, dword [ebp - 0x130]
mov eax, dword [eax + ecx*8 + 4]
mov dword [ebp - 0x12c], eax
movss xmm0, dword [ebp - 0x12c]
jmp 0x10128d79
xorps xmm0, xmm0
xorps xmm1, xmm1
mov eax, dword [ebx + 0x20]
movss dword [edx + eax], xmm1
mov eax, dword [ebx + 0x20]
movss dword [edx + eax + 4], xmm0
add edx, 8
inc edi
cmp edi, dword [ebp - 0xf0]
jl 0x10128d21
push dword [ebp - 0xdc]
push dword [ebx + 0x20]
push dword [ebp - 0xc0]
push dword [ebx + 0x38]
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
mov esi, dword [ebp - 0xe8]
add esp, 0x10
mov ecx, dword [ebp - 0xd4]
mov dword [ecx + esi*4 + 0x14], eax
cmp eax, 0xffffffff
je 0x10129490
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x10128dd3
mov dword [eax + esi*4], esi
mov edi, dword [ebp - 0xc4]
inc esi
mov dword [ebp - 0xe8], esi
cmp esi, dword [ebp - 0xbc]
jl 0x10128b56
mov edx, dword [ebp - 0xe4]
push 0xc
inc edx
pop eax
add dword [ebp - 0x118], eax
mov dword [ebp - 0xe4], edx
cmp edx, dword [ebx + 8]
jae 0x10128e12
mov ecx, dword [ebp - 0x118]
jmp 0x101286b1
mov eax, dword [ebx + 0x38]
cmp dword [eax + 0x1c], 0
je 0x10128e2e
push dword [ebx + 0x3c]
push edi
call fcn.101273f1
pop ecx
pop ecx
test eax, eax
js 0x10129493
push dword [ebx + 0x20]
call fcn.1014371d
and dword [ebx + 0x20], 0
jmp 0x1012a376
xor eax, eax
mov dword [ebp - 0xec], eax
mov dword [ebp - 0x118], eax
mov dword [ebp - 0xe8], eax
cmp dword [edi + 0x14], eax
jg 0x1012a36c
cmp dword [edi + 0x1c], eax
jg 0x1012a36c
push 0x164
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
pop ecx
mov dword [ebp - 0xb8], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x10128e95
push dword [ebx + 0x3c]
mov ecx, eax
call fcn.100c998d
mov edi, eax
mov dword [ebp - 0xcc], eax
jmp 0x10128e9d
xor edi, edi
mov dword [ebp - 0xcc], edi
or dword [ebp - 4], 0xffffffff
test edi, edi
je 0x10129490
mov eax, dword [ebp - 0xc4]
mov dword [eax + 0xc], edi
mov eax, dword [edi + 0x148]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x10151aac]
call esi
mov ecx, dword [ebx + 0x34]
mov dword [edi + 0x148], ecx
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x10151aac]
call esi
mov eax, dword [ebx + 0x38]
push dword [eax]
push edi
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
mov esi, dword [edi]
xor eax, eax
pop ecx
pop ecx
inc eax
mov esi, dword [esi + 0x118]
mov ecx, esi
push eax
mov eax, dword [ebx]
push dword [eax + 0x66]
push edi
call dword [0x10151aac]
call esi
test eax, eax
js 0x10129493
cmp dword [ebp - 0xe0], 0
jne 0x10128f2c
mov eax, dword [ebx + 0x38]
cmp byte [eax + 0x36], 0
jne 0x10128f2c
mov eax, dword [ebp - 0xc4]
jmp 0x10128f39
mov eax, dword [ebp - 0xc4]
or dword [eax + 0x28], 0x3000
mov edx, dword [eax + 0x28]
mov ecx, dword [ebx]
test edx, 0x200
je 0x10128f59
push dword [ecx + 0x66]
push dword [edi + 0x62]
push dword [ecx + 0x62]
push dword [eax + 0x24]
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
jmp 0x10128f6c
imul eax, dword [ecx + 0x66], 0xc
push eax
push dword [ecx + 0x62]
push dword [edi + 0x62]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov esi, dword [edi]
xor eax, eax
inc eax
push eax
push 0xffffffffffffffff
push dword [ebp - 0xf8]
mov esi, dword [esi + 0x128]
mov ecx, esi
push edi
call dword [0x10151aac]
call esi
test eax, eax
js 0x10129493
and dword [ebp - 0xd0], 0
cmp dword [edi + 0xb2], 0
je 0x1012912f
cmp byte [ebp - 0x108], 0
je 0x10128ffe
mov eax, dword [ebp - 0xc4]
test byte [eax + 0x28], 0x10
je 0x10128fdf
mov eax, dword [0x107d05a8]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0xc4]
mov ecx, esi
call dword [0x10151aac]
call esi
mov dword [ebx + 0x2c], eax
test eax, eax
je 0x10129490
mov eax, dword [edi]
push 1
push 0
push edi
mov esi, dword [eax + 0x12c]
mov ecx, esi
call dword [0x10151aac]
call esi
test eax, eax
js 0x10129493
mov eax, dword [ebp - 0xc4]
test byte [eax + 0x28], 0x40
je 0x10129045
mov eax, dword [0x107d05a8]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0xc8]
mov ecx, esi
call dword [0x10151aac]
call esi
xor ecx, ecx
mov dword [ebx + 0x24], eax
mov eax, dword [edi]
inc ecx
push ecx
push ecx
push edi
mov esi, dword [eax + 0x130]
mov ecx, esi
call dword [0x10151aac]
call esi
test eax, eax
js 0x10129493
mov eax, dword [ebx]
cmp dword [eax + 0x96], 0
je 0x1012906b
mov eax, dword [edi]
push edi
mov esi, dword [eax + 0x14c]
mov ecx, esi
call dword [0x10151aac]
call esi
test eax, eax
js 0x10129493
mov esi, dword [ebp - 0xc4]
test dword [esi + 0x28], 0x1000
je 0x10129092
lea eax, [ebp - 0xec]
mov ecx, edi
push eax
push 0x14
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
test eax, eax
js 0x10129493
test dword [esi + 0x28], 0x4000
je 0x101290b3
lea eax, [ebp - 0x118]
mov ecx, edi
push eax
push 0x15
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
test eax, eax
js 0x10129493
test dword [esi + 0x28], 0x2000
je 0x10129102
xor eax, eax
mov ecx, edi
inc eax
push eax
push eax
push 0
push 0x16
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
test eax, eax
js 0x10129493
mov eax, dword [edi]
push 0x16
push edi
mov esi, dword [eax + 0x158]
mov ecx, esi
call dword [0x10151aac]
call esi
mov eax, dword [eax + 0x14]
test eax, eax
je 0x101290fb
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0xe8], ecx
jmp 0x10129102
and dword [ebp - 0xe8], 0
mov eax, dword [ebx]
cmp dword [eax + 0x9a], 0
je 0x10129129
mov eax, dword [edi]
push edi
mov esi, dword [eax + 0x13c]
mov ecx, esi
call dword [0x10151aac]
call esi
test eax, eax
jns 0x1012912f
jmp 0x10129493
mov eax, dword [eax + 0x5c]
mov dword [edi + 0x5c], eax
xor edx, edx
mov dword [ebp - 0xf8], edx
cmp dword [ebx + 8], edx
jbe 0x1012979b
mov dword [ebp - 0x114], 0x11
imul eax, edx, 0xc
add eax, dword [ebx + 0x30]
mov dword [ebp - 0xd8], eax
test byte [eax + 8], 2
jne 0x1012978b
mov esi, dword [ebx]
mov ecx, esi
push edx
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
cmp byte [ebp - 0x108], 0
mov edx, dword [ebp - 0xf8]
mov dword [ebp - 0xbc], eax
je 0x1012918a
mov ecx, dword [esi + 0xa2]
lea eax, [ecx + edx*4]
jmp 0x1012918c
xor eax, eax
mov dword [ebp - 0xe4], eax
test eax, eax
je 0x101291a3
xor ecx, ecx
cmp dword [eax], ecx
cmove eax, ecx
mov dword [ebp - 0xe4], eax
mov eax, dword [esi + 0x9e]
mov ecx, edx
shl ecx, 2
add eax, ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xd8]
test byte [eax + 8], 1
je 0x1012959b
xor ecx, ecx
mov dword [ebp - 0xb8], ecx
cmp dword [eax + 4], ecx
jle 0x1012978b
mov esi, dword [ebp - 0xd0]
mov eax, dword [eax]
push 3
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebx]
mov dword [ebp - 0x100], eax
sub eax, dword [ecx + 0x102]
cdq
idiv dword [ebp - 0x114]
imul eax, eax, 6
add eax, dword [ecx + 0x10a]
pop ecx
mov dword [ebp - 0xc8], eax
mov eax, dword [edi]
push ecx
push esi
push edi
mov esi, dword [eax + 0xfc]
mov ecx, esi
call dword [0x10151aac]
call esi
test eax, eax
js 0x10129493
mov edx, dword [ebp - 0xd0]
mov eax, dword [edi + 0x9e]
shl edx, 2
add eax, edx
cmp dword [ebx + 0x24], 0
mov dword [ebp - 0xf4], eax
je 0x10129259
mov eax, dword [edi + 0xa6]
add eax, edx
mov dword [ebp - 0xdc], eax
jmp 0x10129260
and dword [ebp - 0xdc], 0
mov ecx, dword [ebp - 0xec]
test ecx, ecx
je 0x10129275
mov eax, dword [ebp - 0x100]
mov eax, dword [eax]
mov dword [ecx + edx], eax
mov esi, dword [ebp - 0x118]
test esi, esi
je 0x1012929c
mov ecx, dword [ebx]
mov eax, dword [ebp - 0x100]
push 0x11
sub eax, dword [ecx + 0x102]
pop ecx
cdq
idiv ecx
mov ecx, dword [ebp - 0xd0]
mov dword [esi + ecx*4], eax
mov eax, dword [ebx]
mov ebx, dword [ebp - 0xf4]
cmp dword [eax + 0x10a], 0
je 0x101293bb
mov edi, dword [ebp - 0xc8]
xor esi, esi
mov eax, dword [ebp - 0xc0]
movzx edx, word [edi]
mov ecx, dword [ebx]
push 2
mov eax, dword [eax]
mov eax, dword [eax + edx*4]
mov dword [esi + ecx], eax
pop eax
push 4
add edi, eax
pop eax
add esi, eax
push 0xc
pop eax
cmp esi, eax
jl 0x101292b9
cmp dword [ebp - 0xe8], 0
mov ebx, dword [ebp - 0x110]
mov edi, dword [ebp - 0xcc]
je 0x1012932c
mov esi, dword [ebp - 0xc8]
xor edx, edx
mov ebx, dword [ebp - 0xd0]
mov edi, dword [ebp - 0xe8]
mov eax, dword [edi + ebx*4]
movzx ecx, word [esi]
push 2
mov dword [edx + eax], ecx
pop eax
push 4
add esi, eax
pop eax
add edx, eax
push 0xc
pop eax
cmp edx, eax
jl 0x10129306
mov ebx, dword [ebp - 0x110]
mov edi, dword [ebp - 0xcc]
mov esi, dword [ebp - 0xd0]
mov eax, dword [ebx]
mov eax, dword [eax + 0x96]
test eax, eax
je 0x10129360
mov ecx, dword [ebp - 0x100]
mov edx, dword [ebp - 0x11c]
movzx ecx, byte [ecx + 4]
xor ecx, dword [edx + eax]
and ecx, 7
xor ecx, dword [edx + eax]
mov eax, dword [edi + 0x96]
mov dword [eax + esi*4], ecx
cmp dword [ebp - 0xe4], 0
je 0x101294f1
push esi
mov ecx, edi
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
mov ecx, eax
mov dword [ebp - 0xf4], ecx
test ecx, ecx
je 0x10129490
mov eax, dword [ebp - 0xc8]
xor esi, esi
mov dword [ebp - 0xd4], esi
cmp dword [ebx + 0x2c], 0
mov edx, dword [ebx]
je 0x1012949b
cmp dword [edx + 0x10a], 0
mov edx, dword [edx + 0x6e]
je 0x1012941f
movzx ecx, word [eax]
mov eax, dword [ebp - 0xe4]
mov eax, dword [eax]
mov ecx, dword [eax + ecx*4]
jmp 0x1012942a
mov edi, dword [ebp - 0xc0]
xor edx, edx
mov eax, dword [edi]
mov ecx, dword [ebx]
push 4
mov eax, dword [edx + eax]
mov dword [edx + ecx], eax
pop eax
add edx, eax
push 0xc
pop eax
cmp edx, eax
jl 0x101293c3
cmp dword [ebp - 0xe8], 0
mov ebx, dword [ebp - 0x110]
mov edi, dword [ebp - 0xcc]
je 0x1012932c
mov esi, dword [ebp - 0xd0]
xor ecx, ecx
mov edi, dword [ebp - 0xe8]
push 3
pop ebx
mov eax, dword [edi + esi*4]
mov dword [eax + ecx*4], ecx
inc ecx
cmp ecx, ebx
jl 0x10129403
mov ebx, dword [ebp - 0x110]
mov edi, dword [ebp - 0xcc]
jmp 0x10129332
mov eax, dword [ebp - 0xe4]
mov eax, dword [eax]
mov ecx, dword [esi + eax]
mov eax, dword [edx + ecx*8]
mov dword [ebp - 0x130], eax
mov eax, dword [edx + ecx*8 + 4]
lea ecx, [ebp - 0x144]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0xbc]
push 0
push ecx
lea ecx, [ebp - 0x130]
mov esi, dword [eax]
push ecx
push eax
mov esi, dword [esi + 0x98]
mov ecx, esi
call dword [0x10151aac]
call esi
mov ecx, dword [ebx + 0x2c]
lea eax, [ebp - 0x144]
push eax
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
mov edx, dword [ebp - 0xf4]
mov esi, dword [ebp - 0xd4]
mov ecx, dword [edx]
mov dword [esi + ecx], eax
mov ecx, edx
mov eax, dword [ecx]
cmp dword [esi + eax], 0xffffffff
jne 0x101294ca
push 0xfffffffffffffff4
pop eax
call fcn.10143966
ret 8
cmp dword [edx + 0x102], 0
mov ecx, dword [ecx]
je 0x101294b6
movzx edx, word [eax]
mov eax, dword [ebp - 0xe4]
mov eax, dword [eax]
mov eax, dword [eax + edx*4]
jmp 0x101294c1
mov eax, dword [ebp - 0xe4]
mov eax, dword [eax]
mov eax, dword [esi + eax]
mov dword [esi + ecx], eax
mov ecx, dword [ebp - 0xf4]
mov eax, dword [ebp - 0xc8]
push 2
pop edx
add eax, edx
push 4
pop edx
add esi, edx
mov dword [ebp - 0xc8], eax
push 0xc
pop edx
mov dword [ebp - 0xd4], esi
cmp esi, edx
jl 0x10129393
cmp dword [ebp - 0xdc], 0
je 0x1012953c
xor esi, esi
mov eax, dword [ebp - 0x100]
mov ecx, dword [eax + esi + 5]
mov eax, dword [ebx]
mov eax, dword [eax + 0xf6]
push dword [eax + ecx*8]
mov ecx, dword [ebx + 0x24]
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
mov edx, dword [ebp - 0xdc]
mov ecx, dword [edx]
mov dword [esi + ecx], eax
mov eax, dword [edx]
cmp dword [esi + eax], 0xffffffff
je 0x10129490
push 4
pop eax
add esi, eax
push 0xc
pop eax
cmp esi, eax
jl 0x101294fc
mov eax, dword [edi + 0x9a]
mov esi, dword [ebp - 0xd0]
test eax, eax
je 0x10129555
mov ecx, dword [ebp - 0xbc]
mov dword [eax + esi*4], ecx
mov ecx, dword [edi + 0x92]
test ecx, ecx
je 0x10129573
mov eax, dword [ebx]
mov edx, dword [ebp - 0x11c]
mov eax, dword [eax + 0x92]
mov eax, dword [edx + eax]
mov dword [ecx + esi*4], eax
mov ecx, dword [ebp - 0xb8]
inc esi
mov eax, dword [ebp - 0xd8]
inc ecx
mov dword [ebp - 0xd0], esi
mov dword [ebp - 0xb8], ecx
cmp ecx, dword [eax + 4]
jl 0x101291e3
jmp 0x10129785
push edx
mov ecx, esi
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
movzx ecx, ax
mov dword [ebp - 0xc8], ecx
mov ecx, dword [edi]
push eax
push dword [ebp - 0xd0]
mov esi, dword [ecx + 0xfc]
mov ecx, esi
push edi
call dword [0x10151aac]
call esi
test eax, eax
js 0x10129493
mov eax, dword [ebp - 0xc8]
mov esi, dword [ebp - 0xd0]
shl eax, 2
push eax
mov eax, dword [ebp - 0xc0]
shl esi, 2
mov dword [ebp - 0xdc], esi
push dword [eax]
mov eax, dword [edi + 0x9e]
push dword [esi + eax]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebx]
add esp, 0xc
mov eax, dword [eax + 0x96]
test eax, eax
je 0x1012961e
mov edx, dword [ebp - 0x11c]
mov ecx, dword [edi + 0x96]
mov eax, dword [edx + eax]
mov dword [esi + ecx], eax
mov ecx, dword [ebp - 0xec]
mov esi, dword [ebp - 0x118]
test ecx, ecx
jne 0x10129632
test esi, esi
je 0x10129674
mov edx, dword [ebp - 0xd8]
mov edx, dword [edx]
test edx, edx
je 0x10129674
mov edx, dword [edx]
test ecx, ecx
je 0x10129655
mov esi, dword [ebp - 0xd0]
mov eax, dword [edx]
mov dword [ecx + esi*4], eax
mov esi, dword [ebp - 0x118]
test esi, esi
je 0x10129674
mov ecx, dword [ebx]
push 0x11
sub edx, dword [ecx + 0x102]
mov eax, edx
cdq
pop ecx
idiv ecx
mov edx, dword [ebp - 0xd0]
mov dword [esi + edx*4], eax
jmp 0x1012967a
mov edx, dword [ebp - 0xd0]
cmp dword [ebp - 0xe8], 0
mov esi, dword [ebp - 0xc8]
je 0x101296a6
xor ecx, ecx
test esi, esi
je 0x101296a6
mov edi, dword [ebp - 0xe8]
mov eax, dword [edi + edx*4]
mov dword [eax + ecx*4], ecx
inc ecx
cmp ecx, esi
jb 0x10129695
mov edi, dword [ebp - 0xcc]
cmp dword [ebp - 0xe4], 0
je 0x101296d7
push edx
mov ecx, edi
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
mov ecx, eax
mov dword [ebp - 0xb8], ecx
test ecx, ecx
je 0x10129490
xor eax, eax
mov dword [ebp - 0xd4], eax
test esi, esi
jne 0x101297ee
mov ecx, dword [ebp - 0xc8]
cmp dword [ebx + 0x24], 0
mov edx, dword [ebp - 0xdc]
je 0x1012974e
mov eax, dword [edi + 0xa6]
xor esi, esi
add eax, edx
mov dword [ebp - 0xb8], eax
test ecx, ecx
je 0x1012974e
mov eax, dword [edi + 0x9e]
add eax, dword [ebp - 0x11c]
push esi
push eax
push dword [ebp - 0xd8]
push dword [ebx]
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
add esp, 0x10
test eax, eax
je 0x1012973f
mov ecx, dword [ebx + 0x24]
push eax
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
mov edx, dword [ebp - 0xb8]
mov ecx, dword [edx]
mov dword [ecx + esi*4], eax
mov eax, dword [edx]
cmp dword [eax + esi*4], 0xffffffff
je 0x10129490
inc esi
cmp esi, dword [ebp - 0xc8]
jb 0x101296fd
mov edx, dword [ebp - 0xdc]
mov eax, dword [edi + 0x9a]
test eax, eax
je 0x10129761
mov ecx, dword [ebp - 0xbc]
mov dword [edx + eax], ecx
mov ecx, dword [edi + 0x92]
test ecx, ecx
je 0x1012977f
mov eax, dword [ebx]
mov esi, dword [ebp - 0x11c]
mov eax, dword [eax + 0x92]
mov eax, dword [esi + eax]
mov dword [edx + ecx], eax
inc dword [ebp - 0xd0]
mov edx, dword [ebp - 0xf8]
inc edx
mov dword [ebp - 0xf8], edx
cmp edx, dword [ebx + 8]
jb 0x1012914a
cmp byte [ebp - 0x108], 0
je 0x101298dc
mov ecx, dword [ebx + 0x2c]
test ecx, ecx
je 0x101298a1
mov eax, dword [ecx]
push edi
push ecx
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0x10151aac]
call esi
test eax, eax
js 0x10129493
mov eax, dword [ebx + 0x2c]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x10151aac]
call esi
and dword [ebx + 0x2c], 0
jmp 0x101298dc
mov ecx, dword [ebp - 0xb8]
mov edx, eax
mov eax, dword [ebp - 0xe4]
shl edx, 2
mov dword [ebp - 0xc0], edx
mov esi, dword [eax]
add esi, edx
cmp dword [ebx + 0x2c], 0
je 0x1012987a
mov eax, dword [ebx]
mov ecx, dword [esi]
push 0
mov edx, dword [eax + 0x6e]
mov eax, dword [edx + ecx*8]
mov dword [ebp - 0x138], eax
mov eax, dword [edx + ecx*8 + 4]
lea ecx, [ebp - 0x124]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0xbc]
push ecx
lea ecx, [ebp - 0x138]
push ecx
mov esi, dword [eax]
push eax
mov esi, dword [esi + 0x98]
mov ecx, esi
call dword [0x10151aac]
call esi
mov ecx, dword [ebx + 0x2c]
lea eax, [ebp - 0x124]
push eax
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
mov esi, dword [ebp - 0xb8]
mov edx, dword [ebp - 0xc0]
mov ecx, dword [esi]
mov dword [edx + ecx], eax
mov eax, dword [esi]
cmp dword [edx + eax], 0xffffffff
je 0x10129490
jmp 0x10129881
mov ecx, dword [ecx]
mov eax, dword [esi]
mov dword [edx + ecx], eax
mov eax, dword [ebp - 0xd4]
mov ecx, dword [ebp - 0xc8]
inc eax
mov dword [ebp - 0xd4], eax
cmp eax, ecx
jb 0x101297e8
jmp 0x101296dd
mov esi, dword [edi]
xor eax, eax
inc eax
push eax
mov eax, dword [ebx]
mov esi, dword [esi + 0x11c]
mov ecx, esi
push dword [eax + 0x72]
push edi
call dword [0x10151aac]
call esi
test eax, eax
js 0x10129493
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x72]
shl eax, 3
push eax
push dword [ecx + 0x6e]
push dword [edi + 0x6e]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, dword [ebx + 0x24]
test ecx, ecx
je 0x1012997d
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x10151aac]
call esi
mov ecx, dword [ebx + 0x24]
mov edi, eax
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 0xc]
mov ecx, esi
call dword [0x10151aac]
call esi
mov ecx, dword [ebp - 0xcc]
mov dword [ebp - 0xb8], eax
xor eax, eax
inc eax
push eax
mov ecx, dword [ecx]
push edi
mov edi, dword [ebp - 0xcc]
push edi
mov esi, dword [ecx + 0x120]
mov ecx, esi
call dword [0x10151aac]
call esi
test eax, eax
js 0x10129493
mov eax, dword [ebp - 0xb8]
test eax, eax
je 0x10129966
push 0xc
xor ecx, ecx
pop edx
mov edi, dword [edi + 0x76]
mov esi, eax
add edi, ecx
add ecx, edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [eax + 0xc]
mov edi, dword [ebp - 0xcc]
test eax, eax
jne 0x1012994d
mov eax, dword [ebx + 0x24]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x10151aac]
call esi
and dword [ebx + 0x24], 0
mov ecx, dword [ebx]
mov eax, dword [ebp - 0xc4]
mov esi, dword [ecx + 0xbe]
test esi, esi
je 0x10129ccd
test dword [eax + 0x28], 0x800
je 0x10129ccd
mov eax, dword [eax + 0x20]
xor edx, edx
mov dword [ebp - 0xb8], edx
mov dword [ebp - 0xc0], eax
cmp eax, 2
jne 0x10129a21
cmp dword [ecx + 0xb6], eax
je 0x10129a21
xor eax, eax
mov dword [ebp - 0xd4], eax
test esi, esi
je 0x101299ff
mov edi, ecx
push eax
mov ecx, edi
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
mov edx, dword [ebp - 0xb8]
movzx eax, ax
dec edx
add edx, eax
mov eax, dword [ebp - 0xd4]
inc eax
mov dword [ebp - 0xb8], edx
mov dword [ebp - 0xd4], eax
cmp eax, esi
jb 0x101299cc
mov edi, dword [ebp - 0xcc]
mov ecx, dword [ebx]
mov eax, dword [ebp - 0xc0]
push 2
pop esi
cmp dword [ecx + 0xb6], esi
je 0x10129a25
cmp eax, esi
je 0x10129a25
xor cl, cl
xor eax, eax
mov byte [ebp - 0xf9], cl
inc eax
jmp 0x10129a30
mov edx, esi
jmp 0x10129a05
xor eax, eax
inc eax
mov cl, al
mov byte [ebp - 0xf9], al
mov esi, dword [edi]
push eax
push 2
or eax, 0xffffffff
test cl, cl
mov esi, dword [esi + 0x10c]
pop ecx
cmovne eax, ecx
mov ecx, esi
push eax
push edx
push edi
call dword [0x10151aac]
call esi
test eax, eax
js 0x10129493
mov eax, dword [ebx]
cmp dword [eax + 0xd2], 0
je 0x10129a7f
mov eax, dword [edi]
push edi
mov esi, dword [eax + 0x140]
mov ecx, esi
call dword [0x10151aac]
call esi
test eax, eax
js 0x10129493
mov eax, dword [ebx]
cmp dword [eax + 0xc2], 0
je 0x10129aa5
mov eax, dword [edi]
push edi
mov esi, dword [eax + 0x114]
mov ecx, esi
call dword [0x10151aac]
call esi
test eax, eax
js 0x10129493
mov ecx, dword [ebx]
xor edx, edx
xor esi, esi
mov dword [ebp - 0xb8], edx
mov dword [ebp - 0xc8], esi
cmp dword [ecx + 0xbe], edx
jbe 0x10129cc7
and dword [ebp - 0xd8], edx
mov eax, edx
shl eax, 2
mov dword [ebp - 0x100], eax
mov eax, dword [ecx + 0xca]
add eax, dword [ebp - 0x100]
push edx
mov dword [ebp - 0xdc], eax
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
mov cx, ax
mov eax, dword [ebp - 0xc4]
movzx edx, cx
mov dword [ebp - 0xd4], edx
cmp dword [eax + 0x20], 2
jne 0x10129bee
and dword [ebp - 0xbc], 0
lea ecx, [edx - 1]
mov dword [ebp - 0xf4], ecx
test ecx, ecx
jle 0x10129ca3
imul eax, esi, 0xc
mov dword [ebp - 0xc0], eax
mov edx, dword [edi + 0xca]
mov eax, esi
mov esi, dword [ebp - 0xbc]
shl eax, 2
add edx, eax
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax]
mov ecx, dword [edx]
mov eax, dword [eax + esi*4]
mov dword [ecx], eax
mov eax, dword [ebp - 0xdc]
mov ecx, dword [edx]
mov edx, esi
mov esi, dword [ebp - 0xc8]
mov eax, dword [eax]
mov eax, dword [eax + edx*4 + 4]
mov dword [ecx + 4], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 0xd2]
mov dword [ebp - 0xd4], ecx
test ecx, ecx
je 0x10129b96
mov edx, dword [ebp - 0xd4]
mov eax, dword [ebp - 0x100]
mov ecx, dword [edi + 0xd2]
mov eax, dword [eax + edx]
mov edx, dword [ebp - 0xbc]
mov dword [ecx + esi*4], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 0xc2]
mov eax, dword [ebp - 0xc0]
test ecx, ecx
je 0x10129bc6
mov edi, dword [edi + 0xc2]
mov esi, dword [ebp - 0xd8]
add edi, eax
lea esi, [ecx + esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0xcc]
mov esi, dword [ebp - 0xc8]
inc esi
add eax, 0xc
inc edx
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], edx
cmp edx, dword [ebp - 0xf4]
jl 0x10129b29
jmp 0x10129c9d
cmp byte [ebp - 0xf9], 0
jne 0x10129c20
mov eax, dword [edi]
push ecx
push esi
push edi
mov esi, dword [eax + 0x110]
mov ecx, esi
call dword [0x10151aac]
call esi
test eax, eax
js 0x10129493
mov esi, dword [ebp - 0xc8]
mov edx, dword [ebp - 0xd4]
mov ecx, dword [edi + 0xca]
mov eax, esi
shl eax, 2
add ecx, eax
mov eax, edx
shl eax, 2
push eax
mov eax, dword [ebp - 0xdc]
push dword [eax]
push dword [ecx]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebx]
add esp, 0xc
mov edx, dword [eax + 0xd2]
test edx, edx
je 0x10129c65
mov eax, dword [ebp - 0x100]
mov ecx, dword [edi + 0xd2]
mov eax, dword [eax + edx]
mov dword [ecx + esi*4], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc2]
test eax, eax
je 0x10129c96
mov esi, dword [ebp - 0xd8]
mov edi, dword [edi + 0xc2]
lea esi, [eax + esi]
imul eax, dword [ebp - 0xc8], 0xc
add edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0xcc]
mov esi, dword [ebp - 0xc8]
inc esi
mov dword [ebp - 0xc8], esi
mov eax, dword [ebp - 0xc4]
mov edx, dword [ebp - 0xb8]
mov ecx, dword [ebx]
inc edx
add dword [ebp - 0xd8], 0xc
mov dword [ebp - 0xb8], edx
cmp edx, dword [ecx + 0xbe]
jb 0x10129ac9
jmp 0x10129ccd
mov eax, dword [ebp - 0xc4]
mov eax, dword [eax + 0x28]
test eax, 0x8000
je 0x10129cff
push edi
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
pop ecx
test eax, eax
je 0x10129490
xor ecx, ecx
cmp dword [edi + 0x66], ecx
jbe 0x10129cf6
mov dword [eax + ecx*4], ecx
inc ecx
cmp ecx, dword [edi + 0x66]
jb 0x10129ced
mov eax, dword [ebp - 0xc4]
mov eax, dword [eax + 0x28]
test al, 4
je 0x10129d20
mov eax, dword [edi]
push 1
push edi
mov esi, dword [eax + 0x17c]
mov ecx, esi
call dword [0x10151aac]
call esi
test eax, eax
js 0x10129493
mov eax, dword [ebx + 0x38]
cmp byte [eax + 0x36], 0
jne 0x10129d36
cmp dword [ebp - 0xe0], 0
je 0x1012a377
call sym.rt3d.dll_public:_static_class_e3_MEM____stdcall_e3_MEM::Create_void_
mov ecx, dword [ebx + 0x38]
mov dword [ecx + 8], eax
mov eax, dword [ebx + 0x38]
cmp dword [eax + 8], 0
je 0x10129490
push 0x20
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
pop ecx
mov dword [ebp - 0xb8], eax
push 2
pop ecx
mov dword [ebp - 4], ecx
test eax, eax
je 0x10129d7b
push 4
pop ecx
push ecx
mov ecx, dword [ebx + 0x38]
push dword [ecx + 8]
mov ecx, eax
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
mov ecx, eax
jmp 0x10129d7d
xor ecx, ecx
mov eax, dword [ebx + 0x38]
or dword [ebp - 4], 0xffffffff
mov dword [eax + 0xc], ecx
mov eax, dword [ebx + 0x38]
cmp dword [eax + 0xc], 0
je 0x10129490
cmp byte [eax + 0x36], 0
je 0x1012a03b
mov eax, dword [edi]
xor ecx, ecx
inc ecx
push ecx
push ecx
mov esi, dword [eax + 0x134]
mov ecx, esi
push edi
call dword [0x10151aac]
call esi
test eax, eax
js 0x10129493
mov eax, dword [edi]
push 0x14
push edi
mov esi, dword [eax + 0x158]
mov ecx, esi
call dword [0x10151aac]
call esi
mov eax, dword [eax + 0x14]
test eax, eax
je 0x10129ddf
mov eax, dword [eax + 0x10]
jmp 0x10129de1
xor eax, eax
mov dword [ebp - 0xbc], eax
mov eax, dword [edi]
push 0x16
push edi
mov esi, dword [eax + 0x158]
mov ecx, esi
call dword [0x10151aac]
call esi
xor eax, eax
mov dword [ebp - 0xd8], eax
cmp dword [edi + 0xb2], eax
jbe 0x10129f87
mov esi, dword [ebp - 0xbc]
push eax
mov ecx, edi
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
movzx eax, ax
xor edx, edx
mov dword [ebp - 0xb8], eax
mov eax, dword [ebx]
mov dword [ebp - 0xdc], edx
mov ecx, dword [eax + 0xaa]
test ecx, ecx
je 0x10129e57
mov eax, dword [esi]
lea edx, [ecx + eax*4]
mov dword [ebp - 0xdc], edx
test edx, edx
je 0x10129e57
xor eax, eax
cmp dword [edx], eax
cmove edx, eax
mov dword [ebp - 0xdc], edx
xor ecx, ecx
xor eax, eax
cmp cx, word [ebp - 0xb8]
jmp 0x10129f57
movss xmm1, dword [0x1015cbe8]
mov dword [ebp - 0x120], 0x3f800000
mov dword [ebp - 0x124], 0x3f800000
mov dword [ebp - 0x128], 0x3f800000
test edx, edx
je 0x10129ebe
movzx ecx, ax
lea edi, [ebp - 0x128]
mov eax, dword [edx]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ebx]
imul esi, ecx, 0xc
add esi, dword [eax + 0x7e]
mov eax, dword [eax + 0x6a]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0xcc]
test eax, eax
je 0x10129ede
movss xmm1, dword [eax + ecx*4]
jmp 0x10129ede
mov eax, dword [ebx]
mov eax, dword [eax + 0x8a]
test eax, eax
je 0x10129ede
imul esi, dword [esi], 0xc
lea edi, [ebp - 0x128]
add esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0xcc]
movss xmm0, dword [ebp - 0x128]
mov eax, dword [edi + 0xaa]
mov edx, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xc0]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [ebp - 0x124]
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [ebp - 0x120]
movss dword [ebp - 0x18], xmm0
movss dword [ebp - 0x14], xmm1
mov eax, dword [eax + edx*4]
movzx ecx, cx
lea eax, [eax + ecx*4]
mov ecx, dword [ebx + 0x38]
push eax
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ecx + 0xc]
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
test eax, eax
je 0x10129490
mov eax, dword [ebp - 0xc0]
mov edx, dword [ebp - 0xdc]
inc eax
cmp ax, word [ebp - 0xb8]
mov esi, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], eax
jb 0x10129e67
push 4
pop eax
add esi, eax
mov eax, dword [ebp - 0xd8]
inc eax
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0xd8], eax
cmp eax, dword [edi + 0xb2]
jb 0x10129e16
mov esi, dword [edi]
xor eax, eax
inc eax
push eax
mov eax, dword [ebx + 0x38]
mov esi, dword [esi + 0x124]
mov ecx, esi
mov eax, dword [eax + 0xc]
push dword [eax + 0x10]
push edi
call dword [0x10151aac]
call esi
test eax, eax
js 0x10129493
mov eax, dword [edi]
push edi
mov esi, dword [eax + 0x190]
mov ecx, esi
call dword [0x10151aac]
call esi
test eax, eax
js 0x10129493
mov eax, dword [ebx + 0x38]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0x14]
test edx, edx
je 0x1012a03b
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0xb8], eax
mov edi, dword [edi + 0x7e]
lea esi, [ebp - 0x1c]
movss xmm0, dword [edx + 0x1c]
add edi, eax
movss xmm1, dword [edx + 0x20]
movss xmm2, dword [edx + 0x24]
movss dword [ebp - 0x1c], xmm0
movss dword [ebp - 0x18], xmm1
movss dword [ebp - 0x14], xmm2
movsd dword es:[edi], dword [esi]
push 0xc
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0xcc]
mov eax, dword [edx + 0x28]
mov ecx, dword [edi + 0x6a]
mov dword [ebx + ecx], eax
mov eax, dword [ebp - 0xb8]
mov edx, dword [edx]
pop ecx
add eax, ecx
push 4
pop ecx
add ebx, ecx
mov dword [ebp - 0xb8], eax
test edx, edx
jne 0x10129fe1
mov ebx, dword [ebp - 0x110]
cmp dword [ebp - 0xe0], 0
je 0x1012a377
xor ecx, ecx
mov dword [ebp - 0x114], ecx
cmp dword [ebp - 0xf0], ecx
jle 0x1012a377
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0xc0], eax
test ecx, ecx
je 0x1012a357
mov eax, dword [edi]
and dword [ebp - 0xd8], 0
and dword [ebp - 0xdc], 0
push 0x14
mov esi, dword [eax + 0x158]
mov ecx, esi
push edi
call dword [0x10151aac]
call esi
mov eax, dword [eax + 0x14]
test eax, eax
je 0x1012a0a5
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x100], eax
jmp 0x1012a0ac
and dword [ebp - 0x100], 0
mov eax, dword [edi]
push 0x16
push edi
mov esi, dword [eax + 0x158]
mov ecx, esi
call dword [0x10151aac]
call esi
mov ecx, dword [ebp - 0x114]
mov eax, dword [ebx + 0x10]
mov esi, dword [edi]
mov eax, dword [eax + ecx*4]
mov esi, dword [esi + 0x194]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + ecx*4]
mov ecx, esi
mov dword [ebp - 0xb8], eax
xor eax, eax
inc eax
push eax
push eax
push dword [ebp - 0xc0]
push edi
call dword [0x10151aac]
call esi
test eax, eax
js 0x10129493
mov eax, dword [0x107d05a8]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0xc4]
mov ecx, esi
call dword [0x10151aac]
call esi
mov dword [ebx + 0x28], eax
test eax, eax
je 0x10129490
mov eax, dword [ebp - 0xc0]
mov ecx, dword [edi]
movzx eax, ax
mov dword [ebp - 0x11c], eax
add eax, 0x384
push eax
mov esi, dword [ecx + 0x158]
mov ecx, esi
push edi
call dword [0x10151aac]
call esi
mov eax, dword [eax + 0x14]
test eax, eax
je 0x1012a162
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0xd4], ecx
jmp 0x1012a169
and dword [ebp - 0xd4], 0
xor eax, eax
mov dword [ebp - 0xf4], eax
cmp dword [edi + 0xb2], eax
jbe 0x1012a320
push eax
mov ecx, edi
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
mov edx, dword [ebp - 0x100]
movzx eax, ax
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0xf8]
mov edx, dword [edx]
lea ecx, [eax + edx*4]
mov dword [ebp - 0xbc], ecx
test ecx, ecx
je 0x1012a1b6
xor eax, eax
cmp dword [ecx], eax
cmove ecx, eax
mov dword [ebp - 0xbc], ecx
mov eax, dword [ebp - 0xc4]
test byte [eax + 0x28], 0x10
je 0x1012a211
mov ecx, dword [ebx]
push edx
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
mov edx, dword [ebp - 0xd8]
mov esi, eax
cmp edx, esi
je 0x1012a209
and dword [ebp - 0xdc], 0
lea edx, [esi + 0x88]
xor ecx, ecx
movzx eax, word [edx]
cmp eax, dword [ebp - 0xc0]
je 0x1012a1fb
inc ecx
add edx, 0x60
cmp ecx, 0x1a
jl 0x1012a1e5
jmp 0x1012a201
mov dword [ebp - 0xdc], ecx
mov edx, esi
mov dword [ebp - 0xd8], edx
mov ecx, dword [ebp - 0xbc]
jmp 0x1012a217
mov edx, dword [ebp - 0xd8]
xor esi, esi
mov dword [ebp - 0xe0], esi
cmp dword [ebp - 0x110], esi
jbe 0x1012a2fe
test ecx, ecx
je 0x1012a29e
mov eax, dword [ecx]
mov ecx, dword [eax + esi*4]
mov eax, dword [ebp - 0xb8]
mov eax, dword [eax + ecx*8]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0xb8]
mov eax, dword [eax + ecx*8 + 4]
mov dword [ebp - 0x108], eax
test edx, edx
je 0x1012a2b1
push dword [ebp - 0xdc]
mov esi, dword [edx]
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x10c]
push eax
mov esi, dword [esi + 0x98]
mov ecx, esi
push edx
call dword [0x10151aac]
call esi
mov eax, dword [ebp - 0x138]
mov esi, dword [ebp - 0xe0]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x108], eax
jmp 0x1012a2b1
xorps xmm0, xmm0
movss dword [ebp - 0x10c], xmm0
movss dword [ebp - 0x108], xmm0
mov ecx, dword [ebx + 0x28]
lea eax, [ebp - 0x10c]
push eax
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
mov edx, eax
cmp edx, 0xffffffff
je 0x10129490
mov eax, dword [ebp - 0xf4]
mov ecx, dword [ebp - 0xd4]
mov ecx, dword [ecx + eax*4]
mov dword [ecx + esi*4], edx
inc esi
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ebp - 0xd8]
mov dword [ebp - 0xe0], esi
cmp esi, dword [ebp - 0x110]
jl 0x1012a22b
jmp 0x1012a304
mov eax, dword [ebp - 0xf4]
push 4
pop ecx
add dword [ebp - 0x100], ecx
inc eax
mov dword [ebp - 0xf4], eax
cmp eax, dword [edi + 0xb2]
jb 0x1012a17d
mov eax, dword [ebx + 0x28]
push dword [ebp - 0x11c]
push edi
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 0x20]
mov ecx, esi
call dword [0x10151aac]
call esi
mov eax, dword [ebx + 0x28]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x10151aac]
call esi
and dword [ebx + 0x28], 0
mov ecx, dword [ebp - 0x114]
inc ecx
mov dword [ebp - 0x114], ecx
cmp ecx, dword [ebp - 0xf0]
jl 0x1012a05c
jmp 0x1012a377
push str.This_combination_of_e3_CONVERT.flags_not_yet_realized
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
pop ecx
mov eax, dword [ebx + 0x38]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x1012a39b
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10151aac]
call esi
mov eax, dword [ebx + 0x38]
and dword [eax + 8], 0
mov eax, dword [ebx + 0x38]
cmp dword [eax + 0xc], 0
je 0x1012a3b4
push 0x20
push dword [eax + 0xc]
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
mov eax, dword [ebx + 0x38]
pop ecx
pop ecx
and dword [eax + 0xc], 0
cmp dword [ebx + 0x10], 0
je 0x1012a3c7
push dword [ebx + 0x10]
call fcn.1014371d
and dword [ebx + 0x10], 0
pop ecx
cmp dword [ebx + 0xc], 0
je 0x1012a3da
push dword [ebx + 0xc]
call fcn.1014371d
and dword [ebx + 0xc], 0
pop ecx
cmp dword [ebx + 0x14], 0
je 0x1012a3ed
push dword [ebx + 0x14]
call fcn.1014371d
and dword [ebx + 0x14], 0
pop ecx
cmp dword [ebx + 0x18], 0
je 0x1012a400
push dword [ebx + 0x18]
call fcn.1014371d
and dword [ebx + 0x18], 0
pop ecx
mov esi, dword [ebp - 0xc4]
cmp dword [esi + 0x18], 0
jle 0x1012a8ce
mov edi, dword [esi + 8]
test edi, edi
je 0x1012a6e5
mov edi, dword [edi + 0x24]
push 0x10
push edi
mov dword [ebp - 0xd4], edi
call sym.rt3d.dll_public:_static_class_e3_COLLECTION____stdcall_e3_COLLECTION::Create_int__int_
mov dword [ebx + 0x44], eax
test eax, eax
je 0x10129490
xor edx, edx
mov dword [ebp - 0xb8], edx
test edi, edi
jle 0x1012a487
mov eax, dword [ebx + 0x44]
push edx
mov edi, dword [eax]
mov eax, dword [esi + 8]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x10]
mov ecx, esi
call dword [0x10151aac]
call esi
mov ecx, dword [edi + 0x30]
push eax
push dword [ebx + 0x44]
call dword [0x10151aac]
call dword [edi + 0x30]
mov edx, dword [ebp - 0xb8]
mov esi, dword [ebp - 0xc4]
inc edx
mov dword [ebp - 0xb8], edx
cmp edx, dword [ebp - 0xd4]
jl 0x1012a443
mov eax, dword [esi + 8]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x28]
mov ecx, esi
call dword [0x10151aac]
call esi
mov ecx, dword [ebx + 0x44]
xor edx, edx
mov dword [ebp - 0xc0], edx
cmp dword [ecx + 0x24], edx
jle 0x1012a6b3
mov eax, dword [ecx]
push edx
push ecx
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x10151aac]
call esi
mov ecx, dword [ebx + 0x44]
mov edi, eax
push 0
push dword [ebp - 0xc0]
mov dword [ebp - 0xec], edi
mov edx, dword [ecx]
push ecx
mov esi, dword [edx + 0x20]
mov ecx, esi
call dword [0x10151aac]
call esi
mov eax, dword [0x107d05a8]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0xa8]
mov ecx, esi
call dword [0x10151aac]
call esi
mov dword [ebx + 0x40], eax
test eax, eax
je 0x10129490
mov ecx, dword [edi]
push 1
push eax
push edi
mov esi, dword [ecx + 0xe4]
mov ecx, esi
call dword [0x10151aac]
call esi
mov eax, dword [ebx + 0x40]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0xb8], eax
cmp eax, 1
jle 0x1012a661
and dword [ebp - 0xbc], 0
push 0x164
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
pop ecx
mov dword [ebp - 0xd4], eax
push 3
pop ecx
mov dword [ebp - 4], ecx
test eax, eax
je 0x1012a562
mov ecx, dword [ebx]
push dword [ecx + 0x28]
mov ecx, eax
call fcn.100c998d
mov edi, eax
jmp 0x1012a564
xor edi, edi
or dword [ebp - 4], 0xffffffff
test edi, edi
je 0x10129490
mov eax, dword [ebp - 0xc4]
push edi
mov eax, dword [eax + 8]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x30]
mov ecx, esi
call dword [0x10151aac]
call esi
test eax, eax
js 0x1012a6cc
push dword [ebp - 0xec]
push edi
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
mov eax, dword [edi + 0x148]
pop ecx
pop ecx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x10151aac]
call esi
mov ecx, dword [ebx + 0x34]
mov dword [edi + 0x148], ecx
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x10151aac]
call esi
mov ecx, dword [ebx + 0x40]
push 2
pop eax
push eax
mov eax, dword [ecx]
push dword [ebp - 0xbc]
push ecx
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x10151aac]
call esi
mov ecx, dword [ebp - 0xec]
push eax
push edi
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
test eax, eax
js 0x10129493
push dword [ebp - 0xbc]
lea eax, [ebp - 0x30]
push str.sub__02zd
push eax
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
mov eax, dword [edi]
lea ecx, [ebp - 0x30]
add esp, 0xc
mov esi, dword [eax + 0x48]
push ecx
push edi
mov ecx, esi
call dword [0x10151aac]
call esi
mov esi, dword [ebp - 0xbc]
inc esi
mov dword [ebp - 0xbc], esi
cmp esi, dword [ebp - 0xb8]
jl 0x1012a537
mov esi, dword [ebp - 0xec]
mov ecx, esi
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
push 0x164
push esi
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
pop ecx
pop ecx
jmp 0x1012a67f
mov eax, dword [ebp - 0xc4]
push edi
mov eax, dword [eax + 8]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x30]
mov ecx, esi
call dword [0x10151aac]
call esi
test eax, eax
js 0x1012a6cc
mov ecx, dword [ebx + 0x40]
test ecx, ecx
je 0x1012a69a
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10151aac]
call esi
and dword [ebx + 0x40], 0
mov edx, dword [ebp - 0xc0]
mov ecx, dword [ebx + 0x44]
inc edx
mov dword [ebp - 0xc0], edx
cmp edx, dword [ecx + 0x24]
jl 0x1012a4ae
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10151aac]
call esi
and dword [ebx + 0x44], 0
jmp 0x1012a8ce
mov ecx, edi
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
push 0x164
push edi
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
pop ecx
pop ecx
jmp 0x10129490
mov eax, dword [0x107d05a8]
mov edi, dword [esi + 0xc]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0xa8]
mov ecx, esi
call dword [0x10151aac]
call esi
mov dword [ebx + 0x40], eax
test eax, eax
je 0x10129490
mov ecx, dword [edi]
push 1
push eax
push edi
mov esi, dword [ecx + 0xe4]
mov ecx, esi
call dword [0x10151aac]
call esi
mov ecx, dword [ebx + 0x40]
xor eax, eax
inc eax
cmp dword [ecx + 0x24], eax
jle 0x1012a898
mov ecx, dword [ebp - 0xc4]
xor edx, edx
mov dword [ebp - 0xe0], edx
mov dword [ecx + 0xc], edx
mov eax, dword [ebx + 0x40]
mov dword [ecx + 8], eax
mov eax, dword [ebx + 0x40]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0xb8], eax
mov dword [ebx + 0x40], edx
test eax, eax
jle 0x1012a882
push 0x164
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
pop ecx
mov dword [ebp - 0xd4], eax
push 4
pop ecx
mov dword [ebp - 4], ecx
test eax, eax
je 0x1012a787
mov ecx, dword [ebx]
push dword [ecx + 0x28]
mov ecx, eax
call fcn.100c998d
jmp 0x1012a789
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0xbc], eax
test eax, eax
je 0x10129490
mov eax, dword [eax + 0x148]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x10151aac]
call esi
mov ecx, dword [ebx + 0x34]
mov eax, dword [ebp - 0xbc]
push ecx
mov dword [eax + 0x148], ecx
mov eax, dword [ecx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x10151aac]
call esi
push edi
push dword [ebp - 0xbc]
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
mov eax, dword [ebp - 0xc4]
pop ecx
pop ecx
push 2
mov ecx, dword [eax + 8]
pop eax
push eax
push dword [ebp - 0xe0]
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x10151aac]
call esi
mov esi, dword [ebp - 0xbc]
mov ecx, edi
push eax
push esi
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
test eax, eax
js 0x10129493
mov eax, dword [ebp - 0xc4]
push esi
push dword [ebp - 0xe0]
mov eax, dword [eax + 8]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x20]
mov ecx, esi
call dword [0x10151aac]
call esi
push dword [ebp - 0xe0]
lea eax, [ebp - 0xb4]
push str.sub__02zd
push eax
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
mov eax, dword [edi]
lea ecx, [ebp - 0xb4]
add esp, 0xc
mov esi, dword [eax + 0x48]
push ecx
push edi
mov ecx, esi
call dword [0x10151aac]
call esi
mov esi, dword [ebp - 0xe0]
inc esi
mov dword [ebp - 0xe0], esi
cmp esi, dword [ebp - 0xb8]
jl 0x1012a75e
mov ecx, edi
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
push 0x164
push edi
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
pop ecx
pop ecx
jmp 0x1012a8ce
test ecx, ecx
je 0x1012a8ce
cmp dword [ecx + 0x24], 0
je 0x1012a8ba
mov eax, dword [ecx]
push 0
push ecx
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x10151aac]
call esi
mov dword [edi + 0x5c], eax
mov ecx, dword [ebx + 0x40]
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10151aac]
call esi
and dword [ebx + 0x40], 0
mov edi, dword [ebp - 0xc4]
test dword [edi + 0x28], 0x100
je 0x1012a980
mov ecx, dword [ebx]
cmp dword [ecx + 0xee], 0
je 0x1012a980
cmp dword [ecx + 0xf6], 0
je 0x1012a980
mov eax, dword [ecx]
push 0
push ecx
mov esi, dword [eax + 0x188]
mov ecx, esi
call dword [0x10151aac]
call esi
mov dword [ebx + 0x1c], eax
test eax, eax
je 0x1012a980
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x1012a968
xor edx, edx
mov dword [ebp - 0xb8], edx
cmp dword [ecx + 0x24], edx
jle 0x1012a973
mov eax, dword [ecx]
push edx
push ecx
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x10151aac]
call esi
push dword [ebx + 0x1c]
push eax
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
pop ecx
pop ecx
test eax, eax
js 0x10129493
mov edx, dword [ebp - 0xb8]
mov ecx, dword [edi + 8]
inc edx
mov dword [ebp - 0xb8], edx
cmp edx, dword [ecx + 0x24]
jl 0x1012a92d
jmp 0x1012a973
push eax
push dword [edi + 0xc]
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
pop ecx
pop ecx
push dword [ebx + 0x1c]
call fcn.1014371d
and dword [ebx + 0x1c], 0
pop ecx
xor eax, eax
inc eax
jmp 0x10129493