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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d0
mov eax, dword [0x101631e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
test dword [ebx + 8], 0x200
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x190], esi
jne 0x100c8864
mov ecx, dword [ebx + 4]
cmp dword [ecx + 0xc], esi
je 0x100c8864
push edi
xor edi, edi
cmp dword [esi + 0x58], edi
jne 0x100c85ec
cmp dword [esi + 0x70], edi
je 0x100c8863
lea ecx, [ebp - 0x104]
push ecx
lea ecx, [ebp - 0x194]
push ecx
lea ecx, [ebp - 0x18c]
push ecx
push eax
mov ecx, esi
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
cmp dword [esi + 0x70], edi
je 0x100c8853
test byte [ebx + 8], 1
jne 0x100c862b
mov eax, dword [esi + 0x70]
mov ecx, dword [eax]
push 0xb
push eax
call dword [ecx + 0x44]
test al, al
jne 0x100c8853
test byte [ebx + 8], 2
jne 0x100c8644
mov eax, dword [esi + 0x70]
mov ecx, dword [eax]
push 3
push eax
call dword [ecx + 0x44]
test al, al
jne 0x100c8853
test byte [ebx + 8], 4
jne 0x100c865d
mov eax, dword [esi + 0x70]
mov ecx, dword [eax]
push 4
push eax
call dword [ecx + 0x44]
test al, al
jne 0x100c8853
test byte [ebx + 8], 8
jne 0x100c8676
mov eax, dword [esi + 0x70]
mov ecx, dword [eax]
push 6
push eax
call dword [ecx + 0x44]
test al, al
jne 0x100c8853
test dword [esi + 0x44], 0x10001
jne 0x100c8853
test byte [ebx + 8], 0x40
je 0x100c86cd
mov eax, dword [esi + 0x70]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x40]
push 1
push 0
push 0x12d
mov edi, eax
mov eax, dword [esi]
push esi
call dword [eax + 0x1c]
cmp edi, 1
je 0x100c86b1
cmp edi, 7
jne 0x100c8853
cmp eax, 8
je 0x100c86cd
test eax, eax
je 0x100c86cd
cmp eax, 0xa
je 0x100c86cd
cmp eax, 0xd
je 0x100c86cd
cmp eax, 0xe
jne 0x100c8853
mov esi, dword [ebp - 0x18c]
test esi, esi
je 0x100c87ce
push 0x20
pop ecx
lea eax, [ebp - 0x184]
lea edi, [ebp - 0x184]
push eax
rep movsd dword es:[edi], dword [esi]
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
lea eax, [ebx + 0x14]
push eax
lea eax, [ebp - 0x1b8]
push eax
lea eax, [ebp - 0x184]
push eax
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
push 6
pop ecx
mov esi, eax
lea edi, [ebx + 0x44]
rep movsd dword es:[edi], dword [esi]
fld qword [ebx + 0x2c]
fadd qword [ebx + 0x14]
fstp qword [ebp - 0x1b8]
fld qword [ebx + 0x1c]
fadd qword [ebx + 0x34]
fstp qword [ebp - 0x1b0]
fld qword [ebx + 0x24]
fadd qword [ebx + 0x3c]
lea eax, [ebp - 0x1b8]
push eax
lea eax, [ebp - 0x1d0]
push eax
fstp qword [ebp - 0x1a8]
lea eax, [ebp - 0x184]
push eax
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
lea edx, [ebx + 0x5c]
push 6
pop ecx
mov esi, eax
mov edi, edx
rep movsd dword es:[edi], dword [esi]
fld qword [edx]
fsub qword [ebx + 0x44]
fstp qword [edx]
fld qword [edx + 8]
fsub qword [ebx + 0x4c]
fstp qword [edx + 8]
fld qword [edx + 0x10]
fsub qword [ebx + 0x54]
push edx
fstp qword [edx + 0x10]
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
lea eax, [ebp - 0x1a0]
push eax
lea eax, [ebp - 0x184]
push eax
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
fld dword [ebp - 0x19c]
fadd dword [ebp - 0x1a0]
push ecx
fadd dword [ebp - 0x198]
fstp dword [ebp - 0x188]
fld dword [ebp - 0x188]
fstp dword [esp]
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
fdiv qword [0x10126860]
pop ecx
fstp dword [ebp - 0x188]
fld dword [ebx + 0x74]
fmul dword [ebp - 0x188]
jmp 0x100c87dc
fld dword [ebx + 0x74]
push 0xc
lea esi, [ebx + 0x14]
lea edi, [ebx + 0x44]
pop ecx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x190]
fstp dword [ebx + 0x78]
push esi
push dword [ebx + 4]
mov dword [ebx + 0xb2], esi
mov eax, dword [esi + 0x28]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x3e8]
mov edi, dword [ebx + 8]
movzx eax, al
mov dword [ebx + 0xb6], eax
test dword [esi + 0xa8], 0x10000000
je 0x100c881d
mov eax, edi
or eax, 0x1000
mov dword [ebx + 8], eax
push dword [ebp - 0x18c]
mov eax, dword [esi + 0x70]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x9c]
test al, al
je 0x100c8850
cmp dword [ebx], 0
je 0x100c884d
test dword [ebx + 8], 0x800
je 0x100c884d
push esi
push ebx
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
pop ecx
pop ecx
jmp 0x100c8850
mov dword [ebx + 0x7c], esi
mov dword [ebx + 8], edi
push dword [ebp - 0x194]
mov eax, dword [esi]
push ebx
push esi
call dword [eax + 0x148]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.10113450
leave
ret 0xc