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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3b0
mov eax, dword [0x101631e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x66], 0
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0xa0], eax
jne 0x100b5d98
xor al, al
jmp 0x100b6fec
test dword [edx + 0x4c], 0x200
push esi
push edi
push 0xc
lea esi, [ebx + 0x44]
pop ecx
lea edi, [ebp - 0x2b4]
rep movsd dword es:[edi], dword [esi]
jne 0x100b5dc2
mov eax, edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x174]
mov edx, dword [ebp - 0x9c]
push dword [ebx + 0xb2]
push dword [ebx + 4]
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
cmp dword [edx + 0x66], 2
pop ecx
pop ecx
mov dword [ebp - 0xd0], eax
jbe 0x100b5ebb
test dword [ebx + 8], 0x1000
je 0x100b5e8a
mov eax, dword [ebp - 0x9c]
lea esi, [eax + 0xd6]
lea edi, [ebp - 0x110]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
fld dword [ebp - 0x110]
fsub dword [ebx + 0x78]
lea esi, [eax + 0xe2]
lea edi, [ebp - 0xc8]
fstp dword [ebp - 0x110]
movsd dword es:[edi], dword [esi]
fld dword [ebp - 0x10c]
fsub dword [ebx + 0x78]
movsd dword es:[edi], dword [esi]
fstp dword [ebp - 0x10c]
fld dword [ebp - 0x108]
fsub dword [ebx + 0x78]
movsd dword es:[edi], dword [esi]
fstp dword [ebp - 0x108]
fld dword [ebx + 0x78]
fadd dword [ebp - 0xc8]
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0x2b4]
fstp dword [ebp - 0xc8]
push eax
fld dword [ebx + 0x78]
lea eax, [ebp - 0xc8]
fadd dword [ebp - 0xc4]
push eax
lea eax, [ebp - 0x110]
fstp dword [ebp - 0xc4]
fld dword [ebx + 0x78]
fadd dword [ebp - 0xc0]
fstp dword [ebp - 0xc0]
jmp 0x100b5eaa
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0x2b4]
push eax
mov eax, dword [ebp - 0x9c]
lea ecx, [eax + 0xe2]
push ecx
add eax, 0xd6
push eax
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
add esp, 0x10
test al, al
je 0x100b6fea
mov edi, dword [ebp - 0x9c]
mov eax, dword [edi + 0x28]
xor esi, esi
mov byte [ebp - 0x96], 0
mov byte [ebp - 0xb5], 0
cmp dword [eax + 0x2ac], esi
je 0x100b5f3b
mov ecx, dword [eax]
push 1
push esi
push 0x432
push eax
call dword [ecx + 0x1c]
dec eax
neg eax
sbb al, al
push 1
inc al
push esi
mov byte [ebp - 0xa5], al
mov eax, dword [edi + 0x28]
mov ecx, dword [eax]
push 0x431
push eax
call dword [ecx + 0x1c]
dec eax
neg eax
sbb al, al
inc al
jne 0x100b5f3b
mov eax, dword [ebx + 0xb2]
mov eax, dword [eax + 0x44]
mov ecx, eax
shr ecx, 0x14
test cl, 1
jne 0x100b5f3b
shr eax, 9
test al, 1
je 0x100b5f34
cmp byte [ebp - 0xa5], 0
jne 0x100b5f3b
mov byte [ebp - 0xb5], 1
mov eax, dword [ebx + 4]
mov esi, dword [eax + 0x1c]
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xac], esi
cmp eax, 5
jg 0x100b642a
cmp eax, 4
jge 0x100b61b8
cmp eax, 1
je 0x100b606e
jle 0x100b6f0f
cmp eax, 3
jg 0x100b6f0f
cmp dword [ebp - 0xa0], 0
je 0x100b5faf
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0x3b0]
push eax
push dword [ebp - 0xa0]
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
fld qword [eax]
fstp qword [ebp - 0xe8]
fld qword [eax + 8]
fstp qword [ebp - 0xe0]
fld qword [eax + 0x10]
jmp 0x100b5fb5
fld qword [ebp - 0xd8]
fcom qword [ebx + 0x86]
fnstsw ax
test ah, 5
jp 0x100b6067
and dword [ebx + 0x80], 0
fst qword [ebx + 0x86]
fld qword [ebp - 0xe8]
xor eax, eax
fstp dword [ebp - 0xc8]
mov word [ebx + 0x84], ax
fld qword [ebp - 0xe0]
mov eax, edi
mov eax, dword [eax + 0x5c]
fstp dword [ebp - 0xc4]
lea edi, [ebx + 0x8e]
fstp dword [ebp - 0xc0]
lea esi, [ebp - 0xc8]
fldz
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
fst dword [ebp - 0xc0]
fst dword [ebp - 0xc4]
fst dword [ebp - 0xc8]
lea edi, [ebx + 0x9a]
lea esi, [ebp - 0xc8]
fst dword [ebp - 0xf0]
movsd dword es:[edi], dword [esi]
fstp dword [ebp - 0xf4]
mov dword [ebx + 0xae], eax
mov eax, dword [ebp - 0xf4]
movsd dword es:[edi], dword [esi]
mov dword [ebx + 0xa6], eax
mov eax, dword [ebp - 0xf0]
mov byte [ebp - 0x96], 1
movsd dword es:[edi], dword [esi]
mov dword [ebx + 0xaa], eax
jmp 0x100b6fe4
fstp st(0)
jmp 0x100b6fe4
lea eax, [ebp - 0x64]
push eax
lea eax, [edi + 0xe2]
push eax
add edi, 0xd6
push edi
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
mov edi, dword [ebp - 0xa0]
mov eax, dword [esi]
add esp, 0xc
push ebx
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x4c]
push ecx
push edi
push esi
call dword [eax + 0x78]
push ebx
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x40]
push ecx
push edi
mov byte [ebp - 0x95], al
mov eax, dword [esi]
push esi
call dword [eax + 0x78]
or byte [ebp - 0x95], al
mov eax, dword [esi]
push ebx
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x58]
push ecx
push edi
push esi
call dword [eax + 0x78]
or byte [ebp - 0x95], al
mov eax, dword [esi]
push ebx
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x64]
push ecx
push edi
push esi
call dword [eax + 0x78]
or byte [ebp - 0x95], al
mov eax, dword [esi]
push ebx
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x34]
push ecx
push edi
push esi
call dword [eax + 0x78]
or byte [ebp - 0x95], al
mov eax, dword [esi]
push ebx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x28]
push ecx
push edi
push esi
call dword [eax + 0x78]
or byte [ebp - 0x95], al
mov eax, dword [esi]
push ebx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push edi
push esi
call dword [eax + 0x78]
or byte [ebp - 0x95], al
mov eax, dword [esi]
push ebx
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
push edi
push esi
call dword [eax + 0x78]
or byte [ebp - 0x95], al
mov eax, dword [esi]
push ebx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x4c]
push ecx
push edi
push esi
call dword [eax + 0x78]
or byte [ebp - 0x95], al
mov eax, dword [esi]
push ebx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x40]
push ecx
push edi
push esi
call dword [eax + 0x78]
or byte [ebp - 0x95], al
mov eax, dword [esi]
push ebx
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x58]
push ecx
push edi
push esi
call dword [eax + 0x78]
or byte [ebp - 0x95], al
mov eax, dword [esi]
push ebx
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x64]
push ecx
push edi
push esi
call dword [eax + 0x78]
or al, byte [ebp - 0x95]
je 0x100b6fe4
and dword [ebx + 0x80], 0
xor eax, eax
mov word [ebx + 0x84], ax
mov byte [ebp - 0x96], 1
jmp 0x100b6fe4
fld dword [ebx + 0x78]
xor eax, eax
fstp dword [ebp - 0xbc]
mov dword [ebp - 0xa4], eax
fld dword [0x10131a84]
fstp dword [ebp - 0xcc]
cmp dword [edi + 0x66], eax
jbe 0x100b6f0f
mov dword [ebp - 0xb0], eax
test dword [ebx + 8], 0x1000
jne 0x100b6330
mov eax, dword [ebp - 0x9c]
mov esi, dword [eax + 0x62]
add esi, dword [ebp - 0xb0]
lea edi, [ebp - 0xc8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x84]
push eax
movsd dword es:[edi], dword [esi]
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
cmp dword [ebp - 0xa0], 0
je 0x100b6256
push dword [ebp - 0xa0]
lea eax, [ebp - 0x84]
push eax
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
mov esi, dword [ebp - 0x9c]
push 1
lea eax, [ebp - 0xc8]
push eax
mov eax, dword [esi + 0x62]
add eax, dword [ebp - 0xb0]
push eax
push dword [ebp - 0xa0]
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
jmp 0x100b625c
mov esi, dword [ebp - 0x9c]
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 0x10c]
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax]
lea edx, [ebp - 0xc8]
push edx
push eax
call dword [ecx + 0x3c]
fld dword [ebp - 0xc8]
fld qword [0x10121d30]
mov eax, dword [esi + 0x28]
fadd st(1), st(0)
lea edx, [ebp - 0xc8]
fxch st(1)
push edx
fstp dword [ebp - 0xc8]
fadd dword [ebp - 0xc4]
fstp dword [ebp - 0xc4]
mov eax, dword [eax + 0x10c]
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
push 1
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0x84]
push eax
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
fld dword [ebp - 0xc4]
mov esi, dword [esi + 0x62]
add esi, dword [ebp - 0xb0]
lea eax, [ebp - 0x168]
fsub dword [esi + 4]
push eax
fstp dword [ebp - 0xd0]
fld dword [ebp - 0xc0]
fsub dword [esi + 8]
fstp dword [ebp - 0xf8]
fld dword [ebp - 0xc8]
fsub dword [esi]
fstp dword [ebp - 0x168]
fld dword [ebp - 0xd0]
fstp dword [ebp - 0x164]
fld dword [ebp - 0xf8]
fstp dword [ebp - 0x160]
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
mov edi, dword [ebp - 0x9c]
fstp dword [ebp - 0xbc]
mov esi, dword [ebp - 0xac]
mov eax, dword [edi + 0x62]
add eax, dword [ebp - 0xb0]
push eax
lea eax, [ebp - 0x2b4]
push eax
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
fstp dword [ebp - 0xb4]
fld dword [ebp - 0xb4]
pop ecx
fld dword [ebp - 0xbc]
pop ecx
fcompp
fnstsw ax
test ah, 0x41
jne 0x100b6409
fld dword [ebp - 0xb4]
fld dword [ebp - 0xcc]
fcompp
fnstsw ax
test ah, 0x41
jne 0x100b6409
mov eax, dword [edi + 0x62]
add eax, dword [ebp - 0xb0]
cmp dword [ebp - 0xa0], 0
je 0x100b63a5
push eax
lea eax, [ebp - 0x2d8]
push eax
push dword [ebp - 0xa0]
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
mov esi, eax
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax]
push 0xd
lea edi, [ebp - 0x15c]
movsd dword es:[edi], dword [esi]
push 1
lea edx, [ebp - 0x94]
push edx
movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x15c]
push edx
push eax
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x40]
mov edi, dword [ebp - 0x9c]
mov esi, dword [ebp - 0xac]
test eax, 0x4000
jne 0x100b6409
mov eax, dword [ebp - 0xa4]
fld dword [ebp - 0xb4]
mov dword [ebx + 0x80], eax
fstp dword [ebp - 0xcc]
xor eax, eax
inc eax
or byte [ebp - 0x96], al
mov word [ebx + 0x84], ax
inc dword [ebp - 0xa4]
mov eax, dword [ebp - 0xa4]
add dword [ebp - 0xb0], 0xc
cmp eax, dword [edi + 0x66]
jb 0x100b61e4
jmp 0x100b6f02
cmp eax, 6
jl 0x100b6f0f
cmp eax, 7
jle 0x100b6ffb
cmp eax, 0xf
jg 0x100b6f0f
cmp dword [edi + 0x122], 0
je 0x100b6ee7
xor esi, esi
cmp dword [ebp - 0xa0], esi
je 0x100b646f
push dword [ebp - 0xa0]
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
mov byte [ebp - 0x95], al
jmp 0x100b6476
mov byte [ebp - 0x95], 0
cmp dword [ebx + 0xb6], esi
jne 0x100b6492
push dword [ebx + 0xb2]
mov ecx, edi
call fcn.100adc4a
mov dword [ebp - 8], esi
test al, al
je 0x100b6499
mov dword [ebp - 8], 1
fld dword [ebx + 0x78]
mov eax, edi
fld st(0)
mov dword [ebp - 0xa4], esi
fmulp st(1)
fstp dword [ebp - 0xec]
cmp dword [eax + 0x122], esi
jbe 0x100b6ee7
and dword [ebp - 0xb0], esi
and dword [ebp - 0xbc], esi
mov ecx, dword [ebp - 0x9c]
mov eax, dword [ecx + 0x102]
add eax, dword [ebp - 0xbc]
mov edx, dword [ecx + 0x9e]
mov dword [ebp - 0xb4], eax
mov eax, dword [eax]
lea edx, [edx + eax*4]
mov eax, dword [ecx + 0x10a]
push 6
lea edi, [ebp - 0x50]
test eax, eax
je 0x100b65bf
add eax, dword [ebp - 0xb0]
mov esi, dword [edx]
mov ecx, dword [ecx + 0x62]
mov dword [ebp - 0xcc], eax
movzx eax, word [eax]
mov eax, dword [esi + eax*4]
imul eax, eax, 0xc
mov dword [ebp - 0xfc], ecx
lea esi, [ebp - 0x224]
fld dword [eax + ecx]
fstp qword [ebp - 0x224]
fld dword [eax + ecx + 4]
fstp qword [ebp - 0x21c]
fld dword [eax + ecx + 8]
mov eax, dword [ebp - 0xcc]
fstp qword [ebp - 0x214]
pop ecx
rep movsd dword es:[edi], dword [esi]
movzx eax, word [eax + 2]
mov ecx, dword [edx]
mov eax, dword [ecx + eax*4]
imul eax, eax, 0xc
add eax, dword [ebp - 0xfc]
push 6
pop ecx
lea esi, [ebp - 0x23c]
fld dword [eax]
lea edi, [ebp - 0x38]
fstp qword [ebp - 0x23c]
fld dword [eax + 4]
fstp qword [ebp - 0x234]
fld dword [eax + 8]
mov eax, dword [ebp - 0xcc]
fstp qword [ebp - 0x22c]
rep movsd dword es:[edi], dword [esi]
movzx eax, word [eax + 4]
mov ecx, dword [edx]
mov eax, dword [ecx + eax*4]
imul eax, eax, 0xc
add eax, dword [ebp - 0xfc]
lea esi, [ebp - 0x254]
fld dword [eax]
fstp qword [ebp - 0x254]
fld dword [eax + 4]
fstp qword [ebp - 0x24c]
fld dword [eax + 8]
fstp qword [ebp - 0x244]
jmp 0x100b664f
mov eax, ecx
mov ecx, dword [edx]
mov ecx, dword [ecx]
mov eax, dword [eax + 0x62]
imul ecx, ecx, 0xc
lea esi, [ebp - 0x1dc]
fld dword [ecx + eax]
fstp qword [ebp - 0x1dc]
fld dword [ecx + eax + 4]
fstp qword [ebp - 0x1d4]
fld dword [ecx + eax + 8]
pop ecx
fstp qword [ebp - 0x1cc]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [edx]
mov ecx, dword [ecx + 4]
imul ecx, ecx, 0xc
push 6
lea esi, [ebp - 0x284]
fld dword [ecx + eax]
lea edi, [ebp - 0x38]
fstp qword [ebp - 0x284]
fld dword [ecx + eax + 4]
fstp qword [ebp - 0x27c]
fld dword [ecx + eax + 8]
pop ecx
fstp qword [ebp - 0x274]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [edx]
mov ecx, dword [ecx + 8]
imul ecx, ecx, 0xc
lea esi, [ebp - 0x1f4]
fld dword [ecx + eax]
fstp qword [ebp - 0x1f4]
fld dword [ecx + eax + 4]
fstp qword [ebp - 0x1ec]
fld dword [ecx + eax + 8]
fstp qword [ebp - 0x1e4]
cmp byte [ebp - 0x95], 0
push 6
pop ecx
lea edi, [ebp - 0x20]
rep movsd dword es:[edi], dword [esi]
je 0x100b6687
push 6
pop ecx
push 6
lea esi, [ebp - 0x50]
lea edi, [ebp - 0x2cc]
rep movsd dword es:[edi], dword [esi]
pop ecx
lea esi, [ebp - 0x20]
lea edi, [ebp - 0x50]
rep movsd dword es:[edi], dword [esi]
push 6
pop ecx
lea esi, [ebp - 0x2cc]
lea edi, [ebp - 0x20]
rep movsd dword es:[edi], dword [esi]
test dword [ebx + 8], 0x1000
je 0x100b6acb
fld dword [ebx + 0x78]
lea eax, [ebp - 0x104]
push eax
push ecx
fstp dword [esp]
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x2b4]
push eax
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
fld dword [ebp - 0x104]
mov cl, al
add esp, 0x14
test cl, cl
jne 0x100b66d9
fld st(0)
fldz
fucompp
fnstsw ax
test ah, 0x44
jnp 0x100b6eb9
fld dword [ebp - 0xec]
fcomp st(1)
fnstsw ax
test ah, 5
jnp 0x100b6eb9
test cl, cl
jne 0x100b6703
fld dword [ebx + 0xba]
fcomp st(1)
fnstsw ax
test ah, 5
jnp 0x100b6eb9
fld dword [ebx + 0xba]
mov byte [ebp - 0xa5], 0
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x100b6728
fstp dword [ebx + 0xba]
mov byte [ebp - 0xa5], 1
jmp 0x100b672a
fstp st(0)
cmp dword [ebp - 0xa0], 0
je 0x100b6766
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0x398]
push eax
push dword [ebp - 0xa0]
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
fld qword [eax]
fstp qword [ebp - 0xe8]
fld qword [eax + 8]
fstp qword [ebp - 0xe0]
fld qword [eax + 0x10]
fstp qword [ebp - 0xd8]
fld qword [ebx + 0x14]
lea eax, [ebp - 0x20c]
fsub qword [ebp - 0xe8]
push eax
fstp qword [ebp - 0x20c]
fld qword [ebx + 0x1c]
fsub qword [ebp - 0xe0]
fstp qword [ebp - 0x204]
fld qword [ebx + 0x24]
fsub qword [ebp - 0xd8]
fstp qword [ebp - 0x1fc]
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
cmp byte [ebp - 0xa5], 0
fstp dword [ebp - 0xfc]
jne 0x100b67c5
fld dword [ebp - 0xfc]
fcomp qword [ebx + 0x86]
fnstsw ax
test ah, 5
jp 0x100b6ebb
fld qword [ebp - 0xe8]
mov eax, dword [ebp - 0xa4]
or byte [ebp - 0x96], 1
fstp dword [ebp - 0x18c]
cmp dword [ebp - 0xa0], 0
fld qword [ebp - 0xe0]
fstp dword [ebp - 0x188]
lea edi, [ebx + 0x8e]
fld qword [ebp - 0xd8]
lea esi, [ebp - 0x18c]
fstp dword [ebp - 0x184]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebx + 0x80], eax
mov eax, 0x12b
movsd dword es:[edi], dword [esi]
mov word [ebx + 0x84], ax
je 0x100b6880
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x380]
push eax
push dword [ebp - 0xa0]
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 eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x368]
push eax
push dword [ebp - 0xa0]
lea edi, [ebp - 0x50]
rep movsd dword es:[edi], dword [esi]
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 eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x338]
push eax
push dword [ebp - 0xa0]
lea edi, [ebp - 0x38]
rep movsd dword es:[edi], dword [esi]
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, [ebp - 0x20]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x1a4]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x50]
push eax
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
fld qword [ebp - 0x1a4]
fstp dword [ebp - 0x174]
lea edi, [ebx + 0x9a]
fld qword [ebp - 0x19c]
lea esi, [ebp - 0x174]
fstp dword [ebp - 0x170]
add esp, 0x10
fld qword [ebp - 0x194]
lea ecx, [ebp - 0x114]
fstp dword [ebp - 0x16c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ecx
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x9c]
mov eax, dword [esi]
lea ecx, [ebp - 0x130]
xor edi, edi
push ecx
push edi
push esi
mov dword [ebp - 0x130], edi
mov dword [ebp - 0x114], edi
call dword [eax + 0x19c]
mov eax, dword [ebp - 0xb4]
push dword [eax]
mov ecx, esi
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
mov edx, dword [ebp - 0x130]
mov dword [ebp - 0xcc], eax
mov dword [ebx + 0xae], eax
cmp edx, edi
je 0x100b6aba
mov ecx, dword [ebp - 0x114]
test ecx, ecx
je 0x100b6aba
mov esi, dword [ebp - 0xb4]
mov esi, dword [esi]
lea edx, [edx + esi*4]
mov esi, dword [ebp - 0x9c]
mov esi, dword [esi + 0x10a]
test esi, esi
je 0x100b69ad
mov edi, dword [edx]
add esi, dword [ebp - 0xb0]
movzx eax, word [esi]
mov eax, dword [edi + eax*4]
mov edi, dword [ecx + eax*8]
mov dword [ebp - 0x12c], edi
mov eax, dword [ecx + eax*8 + 4]
mov dword [ebp - 0x128], eax
mov edi, dword [edx]
movzx eax, word [esi + 2]
mov eax, dword [edi + eax*4]
mov edi, dword [ecx + eax*8]
mov dword [ebp - 0x11c], edi
mov eax, dword [ecx + eax*8 + 4]
mov dword [ebp - 0x118], eax
movzx eax, word [esi + 4]
mov edx, dword [edx]
mov eax, dword [edx + eax*4]
mov edx, dword [ecx + eax*8]
mov dword [ebp - 0x140], edx
mov eax, dword [ecx + eax*8 + 4]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0xcc]
jmp 0x100b69f4
mov esi, dword [edx]
mov esi, dword [esi]
mov edi, dword [ecx + esi*8]
mov dword [ebp - 0x12c], edi
mov esi, dword [ecx + esi*8 + 4]
mov dword [ebp - 0x128], esi
mov esi, dword [edx]
mov esi, dword [esi + 4]
mov edi, dword [ecx + esi*8]
mov dword [ebp - 0x11c], edi
mov esi, dword [ecx + esi*8 + 4]
mov dword [ebp - 0x118], esi
mov edx, dword [edx]
mov edx, dword [edx + 8]
mov esi, dword [ecx + edx*8]
mov dword [ebp - 0x140], esi
mov ecx, dword [ecx + edx*8 + 4]
mov dword [ebp - 0x13c], ecx
xor esi, esi
cmp eax, esi
je 0x100b6a6b
mov ecx, dword [eax]
push esi
lea edx, [ebp - 0x1c4]
push edx
lea edx, [ebp - 0x12c]
push edx
push eax
call dword [ecx + 0x98]
mov eax, dword [ebx + 0xae]
mov ecx, dword [eax]
push esi
lea edx, [ebp - 0x1bc]
push edx
lea edx, [ebp - 0x11c]
push edx
push eax
call dword [ecx + 0x98]
mov eax, dword [ebx + 0xae]
mov ecx, dword [eax]
push esi
lea edx, [ebp - 0x1b4]
push edx
lea edx, [ebp - 0x140]
push edx
push eax
call dword [ecx + 0x98]
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x1b4]
push eax
lea eax, [ebp - 0x1bc]
push eax
lea eax, [ebp - 0x1c4]
jmp 0x100b6a86
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x50]
push eax
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
mov eax, dword [ebp - 0x150]
mov dword [ebx + 0xa6], eax
mov eax, dword [ebp - 0x14c]
add esp, 0x20
mov dword [ebx + 0xaa], eax
fld dword [ebp - 0xfc]
fstp qword [ebx + 0x86]
jmp 0x100b6ebb
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x2b4]
push eax
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
add esp, 0xc
test al, al
je 0x100b6ebb
cmp dword [ebp - 0xa0], 0
je 0x100b6b29
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0x2f0]
push eax
push dword [ebp - 0xa0]
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
fld qword [eax]
fstp qword [ebp - 0xe8]
fld qword [eax + 8]
fstp qword [ebp - 0xe0]
fld qword [eax + 0x10]
fstp qword [ebp - 0xd8]
fld qword [ebx + 0x14]
lea eax, [ebp - 0x26c]
fsub qword [ebp - 0xe8]
push eax
fstp qword [ebp - 0x26c]
fld qword [ebx + 0x1c]
fsub qword [ebp - 0xe0]
fstp qword [ebp - 0x264]
fld qword [ebx + 0x24]
fsub qword [ebp - 0xd8]
fstp qword [ebp - 0x25c]
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
cmp byte [ebp - 0xb5], 0
fstp qword [ebp - 0x100]
je 0x100b6bb2
fld qword [ebp - 0xe8]
lea eax, [ebp - 0x180]
fstp dword [ebp - 0x180]
push eax
fld qword [ebp - 0xe0]
mov eax, dword [ebp - 0x9c]
mov ecx, dword [eax + 0x28]
fstp dword [ebp - 0x17c]
fld qword [ebp - 0xd8]
fstp dword [ebp - 0x178]
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
test al, al
je 0x100b6ebb
fld qword [ebx + 0x86]
fcomp qword [ebp - 0x100]
fnstsw ax
test ah, 0x41
jne 0x100b6ebb
fld qword [ebp - 0x100]
mov eax, dword [ebp - 0xa4]
or byte [ebp - 0x96], 1
fstp qword [ebx + 0x86]
cmp dword [ebp - 0xa0], 0
fld qword [ebp - 0xe8]
fstp dword [ebp - 0x93]
lea edi, [ebx + 0x8e]
fld qword [ebp - 0xe0]
lea esi, [ebp - 0x93]
fstp dword [ebp - 0x8f]
mov dword [ebx + 0x80], eax
fld qword [ebp - 0xd8]
mov eax, 0x12b
fstp dword [ebp - 0x8b]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov word [ebx + 0x84], ax
movsd dword es:[edi], dword [esi]
je 0x100b6c90
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x308]
push eax
push dword [ebp - 0xa0]
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 eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x320]
push eax
push dword [ebp - 0xa0]
lea edi, [ebp - 0x50]
rep movsd dword es:[edi], dword [esi]
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 eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x350]
push eax
push dword [ebp - 0xa0]
lea edi, [ebp - 0x38]
rep movsd dword es:[edi], dword [esi]
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, [ebp - 0x20]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x1a4]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x50]
push eax
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
fld qword [ebp - 0x1a4]
mov eax, dword [ebp - 0xb4]
fstp dword [ebp - 0x15c]
fld qword [ebp - 0x19c]
lea edi, [ebx + 0x9a]
fstp dword [ebp - 0x158]
lea esi, [ebp - 0x15c]
fld qword [ebp - 0x194]
add esp, 0x10
fstp dword [ebp - 0x154]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x9c]
push dword [eax]
mov ecx, esi
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
lea ecx, [ebp - 0xd0]
push ecx
lea ecx, [ebp - 0xf8]
xor edi, edi
push ecx
push edi
mov dword [ebx + 0xae], eax
mov eax, dword [esi]
push esi
mov dword [ebp - 0xf8], edi
mov dword [ebp - 0xd0], edi
call dword [eax + 0x19c]
mov ecx, dword [ebp - 0xf8]
cmp ecx, edi
je 0x100b6ebb
mov eax, dword [ebp - 0xd0]
test eax, eax
je 0x100b6ebb
mov edx, dword [ebp - 0xb4]
mov edx, dword [edx]
lea ecx, [ecx + edx*4]
mov esi, dword [ecx]
test esi, esi
je 0x100b6ebb
mov edx, dword [ebp - 0x9c]
mov edx, dword [edx + 0x10a]
test edx, edx
je 0x100b6da6
add edx, dword [ebp - 0xb0]
movzx edi, word [edx]
mov esi, dword [esi + edi*4]
mov edi, dword [eax + esi*8]
mov dword [ebp - 0xf4], edi
mov esi, dword [eax + esi*8 + 4]
mov dword [ebp - 0xf0], esi
movzx esi, word [edx + 2]
mov edi, dword [ecx]
mov esi, dword [edi + esi*4]
mov edi, dword [eax + esi*8]
mov dword [ebp - 0x124], edi
mov esi, dword [eax + esi*8 + 4]
mov dword [ebp - 0x120], esi
movzx edx, word [edx + 4]
mov ecx, dword [ecx]
mov ecx, dword [ecx + edx*4]
jmp 0x100b6dd8
mov esi, dword [esi]
mov edx, dword [eax + esi*8]
mov dword [ebp - 0xf4], edx
mov edx, dword [eax + esi*8 + 4]
mov dword [ebp - 0xf0], edx
mov edx, dword [ecx]
mov edx, dword [edx + 4]
mov esi, dword [eax + edx*8]
mov dword [ebp - 0x124], esi
mov edx, dword [eax + edx*8 + 4]
mov dword [ebp - 0x120], edx
mov ecx, dword [ecx]
mov ecx, dword [ecx + 8]
mov edx, dword [eax + ecx*8]
mov dword [ebp - 0x138], edx
mov eax, dword [eax + ecx*8 + 4]
mov dword [ebp - 0x134], eax
mov eax, dword [ebx + 0xae]
xor esi, esi
cmp eax, esi
je 0x100b6e68
mov ecx, dword [eax]
push esi
lea edx, [ebp - 0xc4]
push edx
lea edx, [ebp - 0xf4]
push edx
push eax
call dword [ecx + 0x98]
mov eax, dword [ebx + 0xae]
mov ecx, dword [eax]
push esi
lea edx, [ebp - 0x10c]
push edx
lea edx, [ebp - 0x124]
push edx
push eax
call dword [ecx + 0x98]
mov eax, dword [ebx + 0xae]
mov ecx, dword [eax]
push esi
lea edx, [ebp - 0x1ac]
push edx
lea edx, [ebp - 0x138]
push edx
push eax
call dword [ecx + 0x98]
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x1ac]
push eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0xc4]
jmp 0x100b6e83
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0xf4]
push eax
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x50]
push eax
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
mov eax, dword [ebp - 0x148]
mov dword [ebx + 0xa6], eax
mov eax, dword [ebp - 0x144]
add esp, 0x20
mov dword [ebx + 0xaa], eax
jmp 0x100b6ebb
fstp st(0)
inc dword [ebp - 0xa4]
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0xa4]
add dword [ebp - 0xbc], 0x11
add dword [ebp - 0xb0], 6
cmp ecx, dword [eax + 0x122]
jb 0x100b64c6
mov eax, dword [ebp - 0x9c]
cmp dword [eax + 0xbe], 0
je 0x100b6fe4
mov esi, dword [ebp - 0xac]
mov edi, eax
cmp byte [ebp - 0x96], 0
jne 0x100b6fe4
mov eax, dword [edi + 0xbe]
test eax, eax
je 0x100b6fe4
and dword [ebp - 0xa4], 0
test eax, eax
je 0x100b6fe4
push dword [ebp - 0xa4]
mov ecx, edi
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
and dword [ebp - 0xac], 0
mov ecx, dword [edi + 0xca]
mov edx, dword [ebp - 0xa4]
movzx eax, ax
dec eax
lea ecx, [ecx + edx*4]
mov dword [ebp - 0xec], ecx
mov dword [ebp - 0x104], eax
test eax, eax
jle 0x100b6fcc
mov eax, dword [ebp - 0xec]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xac]
mov edx, dword [edi + 0x62]
lea ecx, [eax + ecx*4]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
imul eax, eax, 0xc
imul ecx, ecx, 0xc
push ebx
add ecx, edx
push ecx
add eax, edx
mov edx, dword [esi]
push eax
push dword [ebp - 0xa0]
push esi
call dword [edx + 0x78]
test al, al
je 0x100b6fb8
mov eax, dword [ebp - 0xac]
or byte [ebp - 0x96], 1
mov dword [ebx + 0x80], eax
mov eax, 0xc9
mov word [ebx + 0x84], ax
inc dword [ebp - 0xac]
mov eax, dword [ebp - 0xac]
cmp eax, dword [ebp - 0x104]
jl 0x100b6f63
inc dword [ebp - 0xa4]
mov eax, dword [ebp - 0xa4]
cmp eax, dword [edi + 0xbe]
jb 0x100b6f2c
mov al, byte [ebp - 0x96]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10113450
leave
ret 0xc
xor eax, eax
mov dword [ebp - 0xa4], eax
cmp dword [edi + 0x12a], eax
jbe 0x100b6f0f
mov dword [ebp - 0xac], eax
mov eax, dword [edi + 0x11a]
add eax, dword [ebp - 0xac]
mov edx, dword [edi + 0x102]
mov dword [ebp - 0xbc], eax
mov eax, dword [eax]
mov ecx, eax
imul ecx, ecx, 0x11
mov ecx, dword [ecx + edx]
mov edx, dword [edi + 0x9e]
lea edx, [edx + ecx*4]
mov ecx, dword [edi + 0x10a]
mov edx, dword [edx]
mov dword [ebp - 0xb4], edx
test ecx, ecx
je 0x100b708a
imul eax, eax, 6
add eax, ecx
mov ecx, dword [ebp - 0xbc]
mov ecx, dword [ecx + 8]
mov edx, ecx
and edx, 3
mov dword [ebp - 0xec], eax
movzx eax, word [eax + edx*2]
mov edx, dword [ebp - 0xb4]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 0xec]
shr ecx, 2
and ecx, 3
movzx ecx, word [edx + ecx*2]
jmp 0x100b70a1
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax + 8]
mov eax, ecx
and eax, 3
mov eax, dword [edx + eax*4]
shr ecx, 2
and ecx, 3
mov edx, dword [ebp - 0xb4]
imul eax, eax, 0xc
mov ecx, dword [edx + ecx*4]
add eax, dword [edi + 0x62]
imul ecx, ecx, 0xc
add ecx, dword [edi + 0x62]
mov edx, dword [esi]
push ebx
push ecx
push eax
push dword [ebp - 0xa0]
push esi
call dword [edx + 0x78]
test al, al
je 0x100b70ea
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax]
or byte [ebp - 0x96], 1
mov dword [ebx + 0x80], eax
mov eax, 0x12b
mov word [ebx + 0x84], ax
inc dword [ebp - 0xa4]
mov eax, dword [ebp - 0xa4]
add dword [ebp - 0xac], 0xc
cmp eax, dword [edi + 0x12a]
jb 0x100b7015
jmp 0x100b6f02