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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x1016f640]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x220], eax
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x240], ebx
test eax, eax
je 0x100de10b
cmp dword [eax + 0x1c], 0
push esi
jne 0x100dd8c6
mov ecx, dword [ebx + 0x28]
push 0
mov esi, dword [ecx]
call sym.rt3d.dll_public_virtual:_void____stdcall_e3_STREAM::GetHANDLE_void_
push eax
mov eax, dword [ebp - 0x220]
push eax
push dword [ebx + 0x28]
call dword [esi + 0x34c]
mov eax, dword [ebp - 0x220]
xor edx, edx
mov byte [ebx + 0xbc], 0
inc edx
push edi
test byte [ebx + 0x50], dl
je 0x100dd969
mov ecx, dword [ebx + 0x84]
test ecx, ecx
je 0x100de109
cmp dword [ecx + 0xc0], 0
je 0x100de109
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 0x100dd933
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
movss xmm0, dword [0x10138240]
jbe 0x100dd950
movaps xmm3, xmm2
jmp 0x100dd95c
comiss xmm3, xmm0
jbe 0x100dde4a
movaps xmm3, xmm0
movss dword [ebp - 0x228], xmm3
jmp 0x100dde4a
mov esi, dword [ebx + 0x88]
test esi, esi
je 0x100ddb69
mov esi, dword [esi + 0x24]
xor edi, edi
mov dword [ebp - 0x214], esi
mov byte [ebp - 0x21c], 0
test esi, esi
jle 0x100dd9bf
mov eax, dword [ebx + 0x88]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov ecx, dword [ebp - 0x21c]
push 1
pop edx
test byte [eax + 0x18], 8
movzx ecx, cl
push eax
cmovne ecx, edx
push ebx
mov dword [ebp - 0x21c], ecx
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_struct_MATRIX3D_const__
inc edi
cmp edi, esi
jl 0x100dd98d
xor edx, edx
mov dword [ebp - 0x208], edx
test esi, esi
jle 0x100dda43
mov eax, dword [ebx + 0x88]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
xor ecx, ecx
inc ecx
test byte [eax + 0x18], cl
jne 0x100dda32
test byte [eax + 0x18], 2
je 0x100dda32
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x100dda32
movss xmm0, dword [ecx]
lea esi, [ebp - 0x23c]
addss xmm0, dword [eax]
mov edi, eax
movss dword [ebp - 0x23c], xmm0
movss xmm0, dword [ecx + 4]
addss xmm0, dword [eax + 4]
movss dword [ebp - 0x238], xmm0
movss xmm0, dword [ecx + 8]
addss xmm0, dword [eax + 8]
movss dword [ebp - 0x234], xmm0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x214]
mov edx, dword [ebp - 0x208]
inc edx
mov dword [ebp - 0x208], edx
cmp edx, esi
jl 0x100dd9cb
cmp byte [ebp - 0x21c], 0
je 0x100dda7d
mov eax, dword [ebx + 0x8c]
test eax, eax
je 0x100dda7d
xor edi, edi
cmp dword [eax + 0x24], edi
jle 0x100dda7d
mov eax, dword [ebx + 0x8c]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
push eax
push ebx
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_struct_MATRIX3D_const__
mov eax, dword [ebx + 0x8c]
inc edi
cmp edi, dword [eax + 0x24]
jl 0x100dda5d
and dword [ebp - 0x208], 0
xorps xmm0, xmm0
xor edi, edi
movss dword [ebp - 0x224], xmm0
movss dword [ebp - 0x214], xmm0
movss dword [ebp - 0x21c], xmm0
test esi, esi
jle 0x100ddb6c
mov eax, dword [ebx + 0x88]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
movss xmm1, dword [ebp - 0x21c]
test byte [eax + 0x18], 4
je 0x100ddb0f
movss xmm0, dword [eax + 4]
addss xmm0, dword [ebp - 0x214]
addss xmm1, dword [eax]
movaps xmm3, xmm0
movss xmm0, dword [eax + 8]
addss xmm0, dword [ebp - 0x224]
mov eax, dword [ebp - 0x208]
inc eax
movss dword [ebp - 0x21c], xmm1
movss dword [ebp - 0x214], xmm3
mov dword [ebp - 0x208], eax
movaps xmm2, xmm0
movss dword [ebp - 0x224], xmm2
jmp 0x100ddb25
movss xmm2, dword [ebp - 0x224]
movss xmm3, dword [ebp - 0x214]
mov eax, dword [ebp - 0x208]
inc edi
cmp edi, esi
jl 0x100ddaa9
test eax, eax
je 0x100ddb69
movd xmm0, eax
lea edi, [ebx + 0x54]
cvtdq2ps xmm0, xmm0
lea esi, [ebp - 0x23c]
divss xmm1, xmm0
divss xmm3, xmm0
divss xmm2, xmm0
movss dword [ebp - 0x23c], xmm1
movss dword [ebp - 0x238], xmm3
movss dword [ebp - 0x234], 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 0x100de109
cmp dword [eax + 0xc0], 0
je 0x100de109
mov eax, dword [ebx + 0x90]
dec eax
dec eax
je 0x100ddcee
dec eax
jne 0x100dddc1
mov ecx, dword [ebx + 0x88]
test ecx, ecx
je 0x100dddc1
xor edx, edx
mov dword [ebp - 0x208], eax
mov dword [ebp - 0x224], edx
cmp dword [ecx + 0x24], eax
jle 0x100ddc22
lea edi, [ebp - 0x258]
mov dword [ebp - 0x214], edi
mov eax, dword [ebx + 0x88]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
xor ecx, ecx
inc ecx
test byte [eax + 0x18], cl
je 0x100ddc04
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 - 0x214]
add edi, 0xc
mov dword [ebp - 0x214], edi
cmp eax, 2
je 0x100ddc22
mov edx, dword [ebp - 0x224]
mov eax, dword [ebx + 0x88]
inc edx
mov dword [ebp - 0x224], edx
cmp edx, dword [eax + 0x24]
jl 0x100ddbc9
mov eax, dword [ebp - 0x208]
xorps xmm0, xmm0
movss dword [ebp - 0x208], xmm0
cmp eax, 2
jne 0x100ddc9c
movss xmm0, dword [ebp - 0x24c]
lea eax, [ebp - 0x23c]
subss xmm0, dword [ebp - 0x258]
push eax
movss dword [ebp - 0x23c], xmm0
movss xmm0, dword [ebp - 0x248]
subss xmm0, dword [ebp - 0x254]
movss dword [ebp - 0x238], xmm0
movss xmm0, dword [ebp - 0x244]
subss xmm0, dword [ebp - 0x250]
movss dword [ebp - 0x234], xmm0
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_struct_MATRIX3D_const__
fstp dword [ebp - 0x208]
movss xmm0, dword [ebp - 0x208]
movss dword [ebp - 0x208], 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_struct_MATRIX3D_const__
movss xmm0, dword [ebp - 0x208]
test eax, eax
pop ecx
mov ecx, 0x10141e48
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_struct_MATRIX3D_const__
add esp, 0x18
jmp 0x100dddb1
mov eax, dword [ebx + 0x88]
xor esi, esi
movss dword [ebp - 0x208], xmm0
movss dword [ebp - 0x20c], xmm0
movss dword [ebp - 0x210], xmm0
cmp dword [eax + 0x24], esi
jle 0x100ddd41
mov eax, dword [ebx + 0x88]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
xor ecx, ecx
inc ecx
test byte [eax + 0x18], cl
jne 0x100ddd36
mov eax, dword [ebx + 0x88]
inc esi
cmp esi, dword [eax + 0x24]
jl 0x100ddd13
jmp 0x100ddd41
mov esi, eax
lea edi, [ebp - 0x210]
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_struct_MATRIX3D_const__
movss xmm0, dword [ebp - 0x208]
test eax, eax
pop ecx
cvtps2pd xmm0, xmm0
mov ecx, 0x10141e48
cmovne ecx, eax
lea eax, [ebp - 0x204]
push ecx
sub esp, 0x18
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [ebp - 0x20c]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [ebp - 0x210]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push 0x10141e4c
push 0x100
push eax
call sym.rt3d.dll_public:_void___thiscall_QUAT::constructor_struct_MATRIX3D_const__
add esp, 0x28
mov eax, dword [ebx]
lea ecx, [ebp - 0x204]
push ecx
push ebx
call dword [eax + 0xe0]
lea esi, [ebx + 0x54]
lea edi, [ebp - 0x264]
movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x230]
push edx
lea edx, [ebp - 0x264]
push edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x220]
mov eax, dword [esi + 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x100dde0e
mov eax, dword [ecx]
xor edx, edx
inc edx
push edx
lea edx, [ebp - 0x230]
push edx
push ecx
call dword [eax + 0x18]
test eax, eax
je 0x100dde0e
test al, 0xc
jne 0x100de109
mov eax, dword [ebp - 0x220]
lea esi, [ebp - 0x264]
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 0x100dde37
mov eax, dword [ecx]
lea edx, [ebp - 0x230]
push edx
push ecx
call dword [eax + 0x3c]
movss xmm0, dword [0x10138240]
xorps xmm2, xmm2
movss xmm3, dword [ebp - 0x228]
mov edi, dword [ebx + 0x28]
test byte [edi + 0x158], 0x20
je 0x100de109
mov eax, dword [ebx + 0x84]
mov edx, dword [ebx + 0x78]
mov esi, dword [ebx + 0x7c]
mov dword [ebp - 0x218], edx
comiss xmm2, dword [ebp - 0x218]
mov ecx, dword [eax + 0xc0]
mov dword [ebp - 0x214], esi
jae 0x100dde8a
comiss xmm2, dword [ebp - 0x214]
jb 0x100ddea6
movss dword [ebp - 0x214], xmm0
mov esi, dword [ebp - 0x214]
movss dword [ebp - 0x218], xmm0
mov edx, dword [ebp - 0x218]
movss xmm6, dword [ebx + 0x68]
ucomiss xmm6, xmm2
mov dword [ebp - 0x20c], edx
mov dword [ebp - 0x208], esi
lahf
test ah, 0x44
jnp 0x100ddefb
movss xmm4, dword [ebx + 0x6c]
ucomiss xmm4, xmm2
lahf
test ah, 0x44
jnp 0x100ddefb
movss xmm1, dword [edi + 0x2d4]
movd xmm0, dword [ecx + 0x64]
movaps xmm5, xmm1
cvtdq2ps xmm0, xmm0
mulss xmm5, xmm6
mulss xmm1, xmm4
divss xmm5, xmm0
movd xmm0, dword [ecx + 0x68]
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
jmp 0x100ddf0b
movss xmm1, dword [ebp - 0x208]
movss xmm5, dword [ebp - 0x20c]
test dword [edi + 0x158], 0x200000
movd xmm4, dword [ecx + 0x64]
cvtdq2ps xmm4, xmm4
mulss xmm4, xmm5
movd xmm5, dword [ecx + 0x68]
cvtdq2ps xmm5, xmm5
mulss xmm5, xmm1
je 0x100ddf3f
mulss xmm4, dword [0x1013a228]
mulss xmm5, dword [0x1013a228]
movss xmm0, dword [ebx + 0x60]
lea edx, [ebx + 0xbd]
mulss xmm0, dword [edi + 0x2d4]
lea ecx, [ebx + 0xc9]
mov esi, edx
mov edi, ecx
movss xmm1, dword [ebp - 0x230]
mov dword [ebp - 0x208], edx
mulss xmm0, xmm6
movss xmm6, dword [ebp - 0x22c]
subss xmm1, xmm0
movss dword [edx], xmm1
mov eax, dword [ebx + 0x28]
movss xmm0, dword [ebx + 0x64]
mulss xmm0, dword [eax + 0x2d4]
lea eax, [ebx + 0xd5]
mulss xmm0, dword [ebx + 0x6c]
movss dword [ebx + 0xc5], xmm3
subss xmm6, xmm0
movaps xmm0, xmm4
movss dword [ebx + 0xc1], xmm6
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
addss xmm0, dword [ecx]
mov edi, eax
mov esi, edx
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, xmm4
movss xmm4, dword [ebx + 0xd9]
addss xmm4, xmm5
movsd dword es:[edi], dword [esi]
movss dword [eax], xmm3
mov eax, dword [ebp - 0x220]
movss dword [ebx + 0xd9], xmm4
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movss xmm0, dword [ebx + 0xe5]
addss xmm0, xmm5
movss dword [ebx + 0xe5], xmm0
movd xmm0, dword [eax + 0x74]
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
jae 0x100de109
movd xmm0, dword [eax + 0x78]
cvtdq2ps xmm0, xmm0
comiss xmm6, xmm0
jae 0x100de109
comiss xmm2, xmm3
ja 0x100de109
comiss xmm2, xmm4
ja 0x100de109
push 0xc
lea edi, [ebx + 0x10d]
mov esi, edx
pop ecx
rep movsd dword es:[edi], dword [esi]
cmp dword [eax + 0x1c], 0
je 0x100de088
mov eax, dword [ebx + 0x28]
test dword [eax + 0x158], 0x100
je 0x100de088
mov ebx, dword [ebp - 0x220]
push 4
pop esi
mov eax, dword [ebx + 0x1c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov edx, dword [ebp - 0x208]
add edx, 0xc
mov dword [ebp - 0x208], edx
dec esi
jne 0x100de066
mov ebx, dword [ebp - 0x240]
mov eax, dword [ebx + 0x70]
mov dword [ebx + 0xed], eax
mov eax, dword [ebx + 0x74]
mov dword [ebx + 0xf1], eax
movss xmm0, dword [ebx + 0x70]
addss xmm0, dword [ebp - 0x218]
movss dword [ebx + 0xf5], xmm0
mov eax, dword [ebx + 0x74]
mov dword [ebx + 0xf9], eax
movss xmm0, dword [ebx + 0x70]
addss xmm0, dword [ebp - 0x218]
movss dword [ebx + 0xfd], xmm0
movss xmm0, dword [ebx + 0x74]
addss xmm0, dword [ebp - 0x214]
movss dword [ebx + 0x101], xmm0
mov eax, dword [ebx + 0x70]
mov dword [ebx + 0x105], eax
xor eax, eax
movss xmm0, dword [ebx + 0x74]
inc eax
addss xmm0, dword [ebp - 0x214]
movss dword [ebx + 0x109], xmm0
mov byte [ebx + 0xbc], al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.1012364c
mov esp, ebp
pop ebp
ret 8