Function at 0x100f49a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x101935e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x218], eax
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x238], ebx
test eax, eax
je 0x100f528f
cmp dword [eax + 0x1c], 0
push esi
jne 0x100f4a04
mov ecx, dword [ebx + 0x28]
push 0
mov esi, dword [ecx]
call sym.rt3d.dll_public_virtual:_void____stdcall_e3_STREAM::GetHANDLE_void_
mov ecx, dword [esi + 0x34c]
push eax
mov eax, dword [ebp - 0x218]
push eax
push dword [ebx + 0x28]
call dword [0x10151aac]
call dword [esi + 0x34c]
mov eax, dword [ebp - 0x218]
movss xmm4, dword [0x1015cbe8]
xor edx, edx
inc edx
mov byte [ebx + 0xbc], 0
push edi
test byte [ebx + 0x50], dl
je 0x100f4aa7
mov ecx, dword [ebx + 0x84]
test ecx, ecx
je 0x100f528d
cmp dword [ecx + 0xc0], 0
je 0x100f528d
lea esi, [ebx + 0x54]
lea edi, [ebp - 0x230]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
test byte [ebx + 0xb8], dl
jne 0x100f4a79
movd xmm0, dword [eax + 0x74]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebx + 0x54]
movss dword [ebp - 0x230], xmm0
movd xmm0, dword [eax + 0x78]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebx + 0x58]
movss dword [ebp - 0x22c], xmm0
movss xmm3, dword [ebp - 0x228]
xorps xmm2, xmm2
comiss xmm2, xmm3
jbe 0x100f4a8e
xorps xmm3, xmm3
jmp 0x100f4a9a
comiss xmm3, xmm4
jbe 0x100f5001
movaps xmm3, xmm4
movss dword [ebp - 0x228], xmm3
jmp 0x100f5001
mov edi, dword [ebx + 0x88]
test edi, edi
je 0x100f4cec
mov edi, dword [edi + 0x24]
xor edx, edx
mov dword [ebp - 0x210], edi
mov byte [ebp - 0x214], 0
mov dword [ebp - 0x208], edx
test edi, edi
jle 0x100f4b19
mov eax, dword [ebx + 0x88]
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x10]
mov ecx, esi
call dword [0x10151aac]
call esi
mov ecx, dword [ebp - 0x214]
push 1
pop edx
test byte [eax + 0x18], 8
movzx ecx, cl
push eax
cmovne ecx, edx
push ebx
mov dword [ebp - 0x214], ecx
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
mov edx, dword [ebp - 0x208]
inc edx
mov dword [ebp - 0x208], edx
cmp edx, edi
jl 0x100f4ad1
xor edx, edx
mov dword [ebp - 0x208], edx
test edi, edi
jle 0x100f4b94
mov eax, dword [ebx + 0x88]
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x10]
mov ecx, esi
call dword [0x10151aac]
call esi
xor ecx, ecx
inc ecx
test byte [eax + 0x18], cl
jne 0x100f4b83
test byte [eax + 0x18], 2
je 0x100f4b83
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x100f4b83
movss xmm0, dword [ecx]
addss xmm0, dword [eax]
movss xmm1, dword [ecx + 4]
movss xmm2, dword [ecx + 8]
movss dword [eax], xmm0
movss xmm0, dword [eax + 4]
addss xmm0, xmm1
movss dword [eax + 4], xmm0
movss xmm0, dword [eax + 8]
addss xmm0, xmm2
movss dword [eax + 8], xmm0
mov edx, dword [ebp - 0x208]
inc edx
mov dword [ebp - 0x208], edx
cmp edx, edi
jl 0x100f4b25
cmp byte [ebp - 0x214], 0
je 0x100f4bea
mov eax, dword [ebx + 0x8c]
test eax, eax
je 0x100f4bea
and dword [ebp - 0x20c], 0
cmp dword [eax + 0x24], 0
jle 0x100f4bea
mov edi, dword [ebp - 0x20c]
mov eax, dword [ebx + 0x8c]
push edi
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x10]
mov ecx, esi
call dword [0x10151aac]
call esi
push eax
push ebx
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
mov eax, dword [ebx + 0x8c]
inc edi
cmp edi, dword [eax + 0x24]
jl 0x100f4bba
mov edi, dword [ebp - 0x210]
and dword [ebp - 0x208], 0
xorps xmm0, xmm0
xor edx, edx
movss dword [ebp - 0x234], xmm0
movss dword [ebp - 0x210], xmm0
movss dword [ebp - 0x214], xmm0
mov dword [ebp - 0x20c], edx
test edi, edi
jle 0x100f4cef
mov eax, dword [ebx + 0x88]
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x10]
mov ecx, esi
call dword [0x10151aac]
call esi
movss xmm1, dword [ebp - 0x214]
test byte [eax + 0x18], 4
je 0x100f4c86
movss xmm3, dword [eax + 4]
movss xmm2, dword [eax + 8]
addss xmm1, dword [eax]
addss xmm3, dword [ebp - 0x210]
addss xmm2, dword [ebp - 0x234]
mov eax, dword [ebp - 0x208]
inc eax
movss dword [ebp - 0x214], xmm1
movss dword [ebp - 0x210], xmm3
movss dword [ebp - 0x234], xmm2
mov dword [ebp - 0x208], eax
jmp 0x100f4c9c
movss xmm2, dword [ebp - 0x234]
movss xmm3, dword [ebp - 0x210]
mov eax, dword [ebp - 0x208]
mov edx, dword [ebp - 0x20c]
inc edx
mov dword [ebp - 0x20c], edx
cmp edx, edi
jl 0x100f4c1c
test eax, eax
je 0x100f4cec
movd xmm0, eax
lea edi, [ebx + 0x54]
cvtdq2ps xmm0, xmm0
lea esi, [ebp - 0x224]
divss xmm1, xmm0
divss xmm3, xmm0
divss xmm2, xmm0
movss dword [ebp - 0x224], xmm1
movss dword [ebp - 0x220], xmm3
movss dword [ebp - 0x21c], xmm2
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xorps xmm0, xmm0
mov eax, dword [ebx + 0x84]
test eax, eax
je 0x100f528d
cmp dword [eax + 0xc0], 0
je 0x100f528d
mov eax, dword [ebx + 0x90]
dec eax
sub eax, 1
je 0x100f4e7b
sub eax, 1
jne 0x100f4f5c
mov ecx, dword [ebx + 0x88]
test ecx, ecx
je 0x100f4f5c
xor edx, edx
mov dword [ebp - 0x208], eax
mov dword [ebp - 0x210], edx
cmp dword [ecx + 0x24], eax
jle 0x100f4daf
lea edi, [ebp - 0x250]
mov dword [ebp - 0x20c], edi
mov eax, dword [ecx]
push edx
push ecx
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x10151aac]
call esi
xor ecx, ecx
inc ecx
test byte [eax + 0x18], cl
je 0x100f4d91
mov esi, eax
mov eax, dword [ebp - 0x208]
inc eax
mov dword [ebp - 0x208], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x20c]
add edi, 0xc
mov dword [ebp - 0x20c], edi
cmp eax, 2
je 0x100f4daf
jmp 0x100f4d97
mov eax, dword [ebp - 0x208]
mov edx, dword [ebp - 0x210]
mov ecx, dword [ebx + 0x88]
inc edx
mov dword [ebp - 0x210], edx
cmp edx, dword [ecx + 0x24]
jl 0x100f4d50
xorps xmm0, xmm0
movss dword [ebp - 0x20c], xmm0
cmp eax, 2
jne 0x100f4e29
movss xmm0, dword [ebp - 0x244]
lea eax, [ebp - 0x224]
subss xmm0, dword [ebp - 0x250]
push eax
movss dword [ebp - 0x224], xmm0
movss xmm0, dword [ebp - 0x240]
subss xmm0, dword [ebp - 0x24c]
movss dword [ebp - 0x220], xmm0
movss xmm0, dword [ebp - 0x23c]
subss xmm0, dword [ebp - 0x248]
movss dword [ebp - 0x21c], xmm0
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
fstp dword [ebp - 0x20c]
movss xmm0, dword [ebp - 0x20c]
movss dword [ebp - 0x20c], xmm0
mov eax, dword [ebx + 0x28]
push ecx
movss xmm0, dword [eax + 0x294]
movss dword [esp], xmm0
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
movss xmm0, dword [ebp - 0x20c]
test eax, eax
pop ecx
mov ecx, 0x101667e8
cmovne ecx, eax
lea eax, [ebp - 0x204]
push ecx
cvtps2pd xmm0, xmm0
push ecx
push ecx
movsd qword [esp], xmm0
push str.Distance__g___s
push 0x100
push eax
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
add esp, 0x18
jmp 0x100f4f42
mov ecx, dword [ebx + 0x88]
xor edi, edi
movss dword [ebp - 0x21c], xmm0
movss dword [ebp - 0x220], xmm0
movss dword [ebp - 0x224], xmm0
cmp dword [ecx + 0x24], edi
jle 0x100f4ed2
mov eax, dword [ecx]
push edi
push ecx
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x10151aac]
call esi
xor ecx, ecx
inc ecx
test byte [eax + 0x18], cl
jne 0x100f4ec7
mov ecx, dword [ebx + 0x88]
inc edi
cmp edi, dword [ecx + 0x24]
jl 0x100f4ea0
jmp 0x100f4ed2
mov esi, eax
lea edi, [ebp - 0x224]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x28]
push ecx
movss xmm0, dword [eax + 0x294]
movss dword [esp], xmm0
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
movss xmm0, dword [ebp - 0x21c]
test eax, eax
pop ecx
cvtps2pd xmm0, xmm0
mov ecx, 0x101667e8
cmovne ecx, eax
lea eax, [ebp - 0x204]
push ecx
sub esp, 0x18
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [ebp - 0x220]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [ebp - 0x224]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push 0x101667ec
push 0x100
push eax
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_float__struct_QUAT___struct_QUAT___int_
add esp, 0x28
mov eax, dword [ebx]
lea ecx, [ebp - 0x204]
push ecx
push ebx
mov esi, dword [eax + 0xe0]
mov ecx, esi
call dword [0x10151aac]
call esi
lea esi, [ebx + 0x54]
lea edi, [ebp - 0x25c]
movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x230]
push ecx
lea ecx, [ebp - 0x25c]
push ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x218]
mov eax, dword [edi + 0x1c]
push eax
mov esi, dword [eax]
mov ecx, dword [esi + 0x24]
call dword [0x10151aac]
call dword [esi + 0x24]
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x100f4fbb
mov esi, dword [eax]
xor ecx, ecx
inc ecx
push ecx
lea ecx, [ebp - 0x230]
push ecx
mov ecx, dword [esi + 0x18]
push eax
call dword [0x10151aac]
call dword [esi + 0x18]
test eax, eax
je 0x100f4fbb
test al, 0xc
jne 0x100f528d
mov eax, dword [ebp - 0x218]
lea esi, [ebp - 0x25c]
lea edi, [ebp - 0x230]
movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
test ecx, ecx
je 0x100f4fee
mov eax, dword [ecx]
lea edx, [ebp - 0x230]
push edx
push ecx
mov esi, dword [eax + 0x3c]
mov ecx, esi
call dword [0x10151aac]
call esi
movss xmm4, dword [0x1015cbe8]
xorps xmm2, xmm2
movss xmm3, dword [ebp - 0x228]
mov esi, dword [ebx + 0x28]
mov edx, dword [esi + 0x158]
test dl, 0x20
je 0x100f528d
mov eax, dword [ebx + 0x84]
movss xmm1, dword [ebx + 0x78]
comiss xmm2, xmm1
mov ecx, dword [eax + 0xc0]
movss xmm0, dword [ebx + 0x7c]
movss dword [ebp - 0x208], xmm1
movss dword [ebp - 0x210], xmm0
jae 0x100f5043
comiss xmm2, xmm0
jb 0x100f5059
movaps xmm0, xmm4
movaps xmm1, xmm4
movss dword [ebp - 0x210], xmm0
movss dword [ebp - 0x208], xmm1
movss xmm6, dword [ebx + 0x68]
movaps xmm4, xmm1
ucomiss xmm6, xmm2
movaps xmm1, xmm0
lahf
test ah, 0x44
jnp 0x100f50a6
movss xmm5, dword [ebx + 0x6c]
ucomiss xmm5, xmm2
lahf
test ah, 0x44
jnp 0x100f50a6
movss xmm1, dword [esi + 0x2d4]
movd xmm0, dword [ecx + 0x64]
movaps xmm4, xmm1
cvtdq2ps xmm0, xmm0
mulss xmm4, xmm6
mulss xmm1, xmm5
divss xmm4, xmm0
movd xmm0, dword [ecx + 0x68]
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movd xmm5, dword [ecx + 0x64]
cvtdq2ps xmm5, xmm5
mulss xmm5, xmm4
movd xmm4, dword [ecx + 0x68]
cvtdq2ps xmm4, xmm4
mulss xmm4, xmm1
test edx, 0x200000
je 0x100f50d4
movaps xmm0, xmm5
addss xmm5, xmm0
movaps xmm0, xmm4
addss xmm4, xmm0
movss xmm0, dword [ebx + 0x60]
lea edx, [ebx + 0xbd]
mulss xmm0, dword [esi + 0x2d4]
lea ecx, [ebx + 0xc9]
lea eax, [ebx + 0xd5]
mov edi, ecx
movss xmm1, dword [ebp - 0x230]
mov dword [ebp - 0x20c], edx
mulss xmm0, xmm6
movss xmm6, dword [ebp - 0x22c]
subss xmm1, xmm0
movss dword [edx], xmm1
movss xmm0, dword [ebx + 0x64]
mulss xmm0, dword [esi + 0x2d4]
mov esi, edx
movss dword [ebx + 0xc5], xmm3
mulss xmm0, dword [ebx + 0x6c]
subss xmm6, xmm0
movss dword [ebx + 0xc1], xmm6
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movss xmm0, dword [ecx]
mov edi, eax
mov esi, edx
addss xmm0, xmm5
movsd dword es:[edi], dword [esi]
movss dword [ecx], xmm0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movss xmm3, dword [eax]
lea edi, [ebx + 0xe1]
mov esi, edx
addss xmm3, xmm5
movss xmm5, dword [ebx + 0xd9]
addss xmm5, xmm4
movsd dword es:[edi], dword [esi]
movss dword [eax], xmm3
mov eax, dword [ebp - 0x218]
movss dword [ebx + 0xd9], xmm5
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movss xmm0, dword [ebx + 0xe5]
addss xmm0, xmm4
movss dword [ebx + 0xe5], xmm0
movd xmm0, dword [eax + 0x74]
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
jae 0x100f528d
movd xmm0, dword [eax + 0x78]
cvtdq2ps xmm0, xmm0
comiss xmm6, xmm0
jae 0x100f528d
comiss xmm2, xmm3
ja 0x100f528d
comiss xmm2, xmm5
ja 0x100f528d
push 0xc
lea edi, [ebx + 0x10d]
mov esi, edx
pop ecx
rep movsd dword es:[edi], dword [esi]
cmp dword [eax + 0x1c], 0
je 0x100f5227
mov eax, dword [ebx + 0x28]
test dword [eax + 0x158], 0x100
je 0x100f5227
mov ebx, dword [ebp - 0x218]
push 4
pop edi
mov eax, dword [ebx + 0x1c]
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x34]
mov ecx, esi
call dword [0x10151aac]
call esi
mov edx, dword [ebp - 0x20c]
add edx, 0xc
mov dword [ebp - 0x20c], edx
sub edi, 1
jne 0x100f51f9
mov ebx, dword [ebp - 0x238]
movss xmm2, dword [ebx + 0x70]
xor eax, eax
movss xmm1, dword [ebx + 0x74]
movaps xmm0, xmm2
addss xmm0, dword [ebp - 0x208]
movss dword [ebx + 0xf1], xmm1
inc eax
movss dword [ebx + 0xf9], xmm1
addss xmm1, dword [ebp - 0x210]
movss dword [ebx + 0xed], xmm2
movss dword [ebx + 0xf5], xmm0
movss dword [ebx + 0xfd], xmm0
movss dword [ebx + 0x105], xmm2
movss dword [ebx + 0x101], xmm1
movss dword [ebx + 0x109], xmm1
mov byte [ebx + 0xbc], al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10143940
leave
ret 8