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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b4
mov eax, dword [0x10170640]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x1c]
movss xmm0, dword [ebp + 0x18]
movss xmm1, dword [ebp + 0x14]
movss xmm2, dword [ebp + 0x10]
movss xmm3, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
sub esp, 0x10
mov dword [ebp - 0x118], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp + 0x24]
movss dword [esp + 0xc], xmm0
movss dword [esp + 8], xmm1
movss dword [esp + 4], xmm2
mov dword [ebp - 0x100], eax
lea eax, [ebp - 0xa8]
movss dword [esp], xmm3
push eax
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xa0], esi
push eax
push esi
call fcn.10021f9e
mov ecx, dword [esi + 0x38]
lea edx, [ebp - 0xc8]
movss xmm2, dword [ebp - 0xa4]
add esp, 0x1c
movss xmm3, dword [ebp - 0xa8]
movsd xmm0, qword [esi + 0x18]
movss dword [ebp - 0xc8], xmm2
movss dword [ebp - 0xc4], xmm3
mov dword [ebp - 0xc0], 0x3dcccccd
mov dword [ebp - 0xd8], eax
mov eax, dword [ecx + 0x28]
cvtpd2ps xmm0, xmm0
push edx
mov eax, dword [eax + 0x10c]
mov eax, dword [eax + 0x1c]
movd xmm1, dword [eax + 0x214]
cvtdq2ps xmm1, xmm1
divss xmm1, xmm0
movsd xmm0, qword [esi + 0x20]
mulss xmm1, xmm2
cvtpd2ps xmm0, xmm0
movss dword [ebp - 0xc8], xmm1
mov eax, dword [ecx + 0x28]
mov eax, dword [eax + 0x10c]
mov eax, dword [eax + 0x1c]
movd xmm1, dword [eax + 0x218]
cvtdq2ps xmm1, xmm1
divss xmm1, xmm0
mulss xmm1, xmm3
movss dword [ebp - 0xc4], xmm1
mov eax, dword [ecx + 0x28]
mov eax, dword [eax + 0x10c]
mov eax, dword [eax + 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [esi + 0x38]
lea edx, [ebp - 0x9c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [esi + 0x38]
lea edx, [ebp - 0x10c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xec]
mov eax, dword [esi + 0x3c]
xor edx, edx
push edx
mov dword [ebp - 0xa4], edx
lea edx, [ebp - 0x84]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x9c]
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x84]
push eax
call sym.rt3d.dll_public:_struct_POINT3D___stdcall_MATRIX3D::PointTransform_struct_POINT3D_const__
mov esi, eax
lea edi, [ebp - 0x9c]
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x90]
movsd dword es:[edi], dword [esi]
push eax
lea eax, [ebp - 0x84]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call sym.rt3d.dll_public:_struct_POINT3D___stdcall_MATRIX3D::PointTransform_struct_POINT3D_const__
movss xmm0, dword [ebp - 0xc8]
lea edi, [ebp - 0x10c]
subss xmm0, dword [ebp - 0x9c]
mov esi, eax
lea eax, [ebp - 0xb4]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movss dword [ebp - 0xb4], xmm0
movss xmm0, dword [ebp - 0xc4]
subss xmm0, dword [ebp - 0x98]
movss dword [ebp - 0xb0], xmm0
movss xmm0, dword [ebp - 0xc0]
subss xmm0, dword [ebp - 0x94]
movss dword [ebp - 0xac], xmm0
call sym.rt3d.dll_public:_void___stdcall_POINT3D::Normalize_void_
movss xmm0, dword [ebp - 0x10c]
lea eax, [ebp - 0x1b4]
subss xmm0, dword [ebp - 0x9c]
movss xmm1, dword [ebp - 0x108]
subss xmm1, dword [ebp - 0x98]
movss xmm2, dword [ebp - 0x104]
subss xmm2, dword [ebp - 0x94]
cvtps2pd xmm0, xmm0
push eax
movsd qword [ebp - 0x1b4], xmm0
cvtps2pd xmm0, xmm1
movsd qword [ebp - 0x1ac], xmm0
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x1a4], xmm0
call sym.rt3d.dll_public:_double___stdcall__point3d::Length_void_const
mov edi, dword [ebp - 0xd8]
fstp qword [ebp - 0xbc]
test edi, edi
je 0x10021c76
lea eax, [ebp - 0xec]
push eax
lea ecx, [edi + 0x74]
call fcn.1002175f
mov eax, dword [ebp - 0xa0]
mov ecx, dword [eax + 0x30]
call fcn.10019e7f
mov esi, eax
mov ecx, esi
mov dword [ebp - 0x114], esi
mov edx, dword [esi]
call dword [edx + 4]
mov ecx, eax
mov dword [ebp - 0x11c], ecx
test ecx, ecx
jle 0x10021bee
movsd xmm0, qword [0x101392d8]
xor eax, eax
movsd qword [ebp - 0x13c], xmm0
mov dword [ebp - 0xa8], eax
test ecx, ecx
jle 0x10021bee
movsd xmm0, qword [ebp - 0xbc]
movsd qword [ebp - 0xe0], xmm0
push eax
mov ecx, esi
call dword [sym.imp.ScCore.dll_public:_class_ScCore::Variant_const____thiscall_ScCore::BasicArray::operator___unsigned_int_const]
mov ecx, eax
call dword [sym.imp.ScCore.dll_public:_class_ScCore::LiveObject____thiscall_ScCore::Variant::getLiveObject_void_const]
mov ecx, dword [eax + 0x48]
cmp edi, dword [ecx + 0x3c]
jne 0x10021bc7
mov ecx, dword [eax + 0x40]
lea edx, [ebp - 0xb8]
push edx
lea edx, [ebp - 0xf8]
mov byte [ebp - 0xa4], 1
push edx
mov eax, dword [ecx]
lea edx, [ebp - 0xfc]
push edx
call dword [eax + 0xd4]
movss xmm0, dword [ebp - 0xfc]
lea eax, [ebp - 0x134]
movss xmm1, dword [ebp - 0xf8]
movss xmm2, dword [ebp - 0xb8]
movss dword [ebp - 0x90], xmm0
subss xmm0, dword [ebp - 0x9c]
movss dword [ebp - 0x8c], xmm1
subss xmm1, dword [ebp - 0x98]
movss dword [ebp - 0x88], xmm2
subss xmm2, dword [ebp - 0x94]
cvtps2pd xmm0, xmm0
push eax
movsd qword [ebp - 0x134], xmm0
cvtps2pd xmm0, xmm1
movsd qword [ebp - 0x12c], xmm0
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x124], xmm0
call sym.rt3d.dll_public:_double___stdcall__point3d::Length_void_const
movsd xmm1, qword [ebp - 0x13c]
fstp qword [ebp - 0xf4]
movsd xmm0, qword [ebp - 0xf4]
comisd xmm1, xmm0
jbe 0x10021bc7
lea esi, [ebp - 0x90]
movsd qword [ebp - 0xe0], xmm0
lea edi, [ebp - 0xd4]
movsd qword [ebp - 0x13c], xmm0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x90]
lea edi, [ebp - 0xec]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x114]
mov edi, dword [ebp - 0xd8]
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp eax, dword [ebp - 0x11c]
jl 0x10021ab8
mov eax, dword [ebp - 0xa4]
test al, al
jne 0x10021cfe
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x84]
push eax
call sym.rt3d.dll_public:_struct_POINT3D___stdcall_MATRIX3D::PointTransform_struct_POINT3D_const__
mov esi, eax
lea edi, [ebp - 0xec]
lea eax, [ebp - 0x134]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movss xmm0, dword [ebp - 0xec]
subss xmm0, dword [ebp - 0x9c]
movss xmm1, dword [ebp - 0xe8]
subss xmm1, dword [ebp - 0x98]
movss xmm2, dword [ebp - 0xe4]
subss xmm2, dword [ebp - 0x94]
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x134], xmm0
cvtps2pd xmm0, xmm1
movsd qword [ebp - 0x12c], xmm0
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x124], xmm0
call sym.rt3d.dll_public:_double___stdcall__point3d::Length_void_const
fstp qword [ebp - 0xbc]
movss xmm0, dword [ebp - 0xb4]
lea edi, [ebp - 0xd4]
movsd xmm3, qword [ebp - 0xbc]
lea esi, [ebp - 0x90]
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0xe0], xmm3
mulsd xmm0, xmm3
cvtpd2ps xmm2, xmm0
movss xmm0, dword [ebp - 0xb0]
cvtps2pd xmm0, xmm0
addss xmm2, dword [ebp - 0x9c]
mulsd xmm0, xmm3
movss dword [ebp - 0x90], xmm2
cvtpd2ps xmm1, xmm0
movss xmm0, dword [ebp - 0xac]
addss xmm1, dword [ebp - 0x98]
cvtps2pd xmm0, xmm0
movss dword [ebp - 0x8c], xmm1
mulsd xmm0, xmm3
cvtpd2ps xmm0, xmm0
addss xmm0, dword [ebp - 0x94]
movss dword [ebp - 0x88], xmm0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0xa0]
push ecx
push ecx
movss xmm0, dword [esi + 0x10]
cvtps2pd xmm0, xmm0
divsd xmm0, qword [esi + 0x18]
cvtpd2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call sub.MSVCR120.dll_fabs
fstp qword [ebp - 0xf4]
movsd xmm0, qword [ebp - 0xf4]
lea eax, [esi + 0x198]
cvtpd2ps xmm0, xmm0
pop ecx
pop ecx
lea ecx, [ebp - 0x184]
push ecx
lea ecx, [ebp - 0x19c]
push ecx
cvtps2pd xmm1, xmm0
push eax
movss xmm0, dword [ebp - 0xb4]
mulsd xmm1, qword [ebp - 0xe0]
cvtps2pd xmm0, xmm0
xorpd xmm1, xmmword [0x10136a30]
mulsd xmm0, xmm1
cvtpd2ps xmm3, xmm0
movss xmm0, dword [ebp - 0xb0]
cvtps2pd xmm0, xmm0
addss xmm3, dword [ebp - 0xd4]
mulsd xmm0, xmm1
cvtps2pd xmm3, xmm3
cvtpd2ps xmm2, xmm0
movss xmm0, dword [ebp - 0xac]
addss xmm2, dword [ebp - 0xd0]
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x154], xmm3
subsd xmm3, qword [esi + 0x40]
mulsd xmm0, xmm1
cvtps2pd xmm2, xmm2
cvtpd2ps xmm0, xmm0
movsd qword [ebp - 0x14c], xmm2
addss xmm0, dword [ebp - 0xcc]
subsd xmm2, qword [esi + 0x48]
cvtps2pd xmm1, xmm0
movsd xmm0, qword [esi + 0x70]
addsd xmm0, xmm3
movsd qword [ebp - 0x144], xmm1
subsd xmm1, qword [esi + 0x50]
movsd qword [ebp - 0x184], xmm0
movsd xmm0, qword [esi + 0x78]
addsd xmm0, xmm2
movsd qword [ebp - 0x17c], xmm0
movsd xmm0, qword [esi + 0x80]
addsd xmm0, xmm1
movsd qword [ebp - 0x174], xmm0
call sym.rt3d.dll_public:_struct__point3d___stdcall_MATRIX3D::PointTransform_struct__point3d_const__
movsd xmm0, qword [ebp - 0x19c]
lea esi, [ebp - 0x90]
mov edi, dword [ebp - 0x110]
lea eax, [ebp - 0x154]
cvtpd2ps xmm0, xmm0
push eax
lea eax, [ebp - 0x134]
push eax
mov eax, dword [ebp - 0xa0]
add eax, 0x198
push eax
movss dword [ebp - 0x90], xmm0
movsd xmm0, qword [ebp - 0x194]
cvtpd2ps xmm0, xmm0
movss dword [ebp - 0x8c], xmm0
movsd xmm0, qword [ebp - 0x18c]
cvtpd2ps xmm0, xmm0
movss dword [ebp - 0x88], xmm0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call sym.rt3d.dll_public:_struct__point3d___stdcall_MATRIX3D::PointTransform_struct__point3d_const__
push 6
mov esi, eax
lea edi, [ebp - 0x154]
pop ecx
rep movsd dword es:[edi], dword [esi]
movsd xmm0, qword [ebp - 0x154]
lea esi, [ebp - 0x90]
cvtpd2ps xmm0, xmm0
mov edi, dword [ebp - 0x118]
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x134]
push eax
mov eax, dword [ebp - 0xa0]
add eax, 0x198
movss dword [ebp - 0x90], xmm0
movsd xmm0, qword [ebp - 0x14c]
cvtpd2ps xmm0, xmm0
push eax
movss dword [ebp - 0x8c], xmm0
movsd xmm0, qword [ebp - 0x144]
cvtpd2ps xmm0, xmm0
movss dword [ebp - 0x88], xmm0
movss xmm0, dword [ebp - 0xd4]
cvtps2pd xmm0, xmm0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd qword [ebp - 0x16c], xmm0
movss xmm0, dword [ebp - 0xd0]
cvtps2pd xmm0, xmm0
movsd dword es:[edi], dword [esi]
movsd qword [ebp - 0x164], xmm0
movss xmm0, dword [ebp - 0xcc]
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x15c], xmm0
call sym.rt3d.dll_public:_struct__point3d___stdcall_MATRIX3D::PointTransform_struct__point3d_const__
push 6
pop ecx
mov esi, eax
lea edi, [ebp - 0x16c]
rep movsd dword es:[edi], dword [esi]
movsd xmm0, qword [ebp - 0x16c]
lea esi, [ebp - 0x90]
mov edi, dword [ebp - 0x100]
cvtpd2ps xmm0, xmm0
mov ecx, dword [ebp - 4]
xor ecx, ebp
movss dword [ebp - 0x90], xmm0
movsd xmm0, qword [ebp - 0x164]
cvtpd2ps xmm0, xmm0
movss dword [ebp - 0x8c], xmm0
movsd xmm0, qword [ebp - 0x15c]
cvtpd2ps xmm0, xmm0
movss dword [ebp - 0x88], xmm0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
call fcn.10123bfc
mov esp, ebp
pop ebp
ret