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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe74
mov eax, dword [0x101631e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
mov dword [ebp - 0xe60], esi
cmp ebx, edi
je 0x100f41b3
cmp dword [ebx], edi
je 0x100f41b3
mov eax, dword [esi]
push pe_nt_image_headers32
lea ecx, [ebp - 0xe34]
push ecx
push edi
push esi
mov dword [ebp - 0xe50], 1
mov dword [ebp - 0xe74], edi
call dword [eax + 0x68]
inc dword [esi + 0x10]
test byte [ebx + 0x30], 0x10
mov dword [ebp - 0xe6c], edi
mov dword [ebp - 0xe70], edi
lea eax, [ebp - 0xc34]
je 0x100f369c
push eax
push dword [ebx + 0xc]
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
jmp 0x100f36a8
push dword [ebx + 0xc]
push eax
call dword [sym.imp.MSVCR100.dll_wcscpy]
pop ecx
pop ecx
lea eax, [ebp - 0xc34]
push eax
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
mov eax, dword [ebx]
pop ecx
mov dword [ebp - 0xe68], edi
cmp dword [eax + 0x24], edi
jle 0x100f4190
mov ecx, dword [ebp - 0xe60]
call fcn.10099853
test al, al
je 0x100f3e9e
lea eax, [ebp - 0xe44]
push eax
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
mov eax, dword [ebx]
push dword [ebp - 0xe68]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov edi, eax
cmp dword [edi + 0x44], 0
mov dword [ebp - 0xe5c], edi
je 0x100f3771
test byte [ebx + 0x30], 8
jne 0x100f3771
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x100f3771
and dword [ebp - 0xe58], 0
mov byte [ebp - 0xe45], 1
test eax, eax
jle 0x100f3778
and dword [ebp - 0xe4c], 0
lea esi, [edi + 0x4c]
mov eax, dword [ebx + 0x18]
add eax, dword [ebp - 0xe4c]
push esi
push eax
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
test al, al
jne 0x100f3758
inc dword [ebp - 0xe58]
mov eax, dword [ebp - 0xe58]
add dword [ebp - 0xe4c], 0x10
cmp eax, dword [ebx + 0x14]
jl 0x100f372a
jmp 0x100f3778
lea edi, [ebp - 0xe44]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0xe5c]
mov byte [ebp - 0xe45], 0
jmp 0x100f3778
mov byte [ebp - 0xe45], 1
lea eax, [edi + 0x4c]
push eax
mov dword [ebp - 0xe64], eax
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
test al, al
jne 0x100f37e6
lea eax, [ebp - 0xe44]
push eax
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
test al, al
je 0x100f37e6
xor esi, esi
cmp dword [ebx + 0x14], esi
jle 0x100f37e6
and dword [ebp - 0xe4c], esi
mov eax, dword [ebx + 0x18]
add eax, dword [ebp - 0xe4c]
push dword [ebp - 0xe64]
push eax
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
test al, al
jne 0x100f37d0
add dword [ebp - 0xe4c], 0x10
inc esi
cmp esi, dword [ebx + 0x14]
jl 0x100f37a8
jmp 0x100f37e6
mov esi, dword [ebp - 0xe64]
lea edi, [ebp - 0xe44]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0xe5c]
lea eax, [ebp - 0xe44]
push eax
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
test al, al
je 0x100f3809
lea esi, [ebx + 0x1c]
lea edi, [ebp - 0xe44]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0xe5c]
cmp byte [ebp - 0xe45], 0
je 0x100f3d2e
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
push 0x35
push eax
call dword [ecx + 0x10]
mov esi, eax
test esi, esi
je 0x100f3ef2
mov eax, dword [ebp - 0xe70]
test eax, eax
je 0x100f383a
mov dword [eax + 0x14], esi
jmp 0x100f3840
mov dword [ebp - 0xe6c], esi
mov dword [esi + 0x10], edi
test dword [ebx + 0x30], 0x2000
mov dword [ebp - 0xe70], esi
je 0x100f38d6
lea eax, [ebp - 0x824]
push eax
push 0x104
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
lea eax, [ebp - 0x61c]
push eax
push 0
push str.e3duuuu.___
lea eax, [ebp - 0x824]
push eax
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
lea eax, [ebp - 0x61c]
push 0x5c
push eax
call dword [sym.imp.MSVCR100.dll_wcsrchr]
pop ecx
pop ecx
lea edx, [ebp - 0x61c]
lea edi, [eax + 2]
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x14]
mov dword [esi], eax
test eax, eax
je 0x100f3ef2
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x14]
mov dword [esi + 4], eax
test eax, eax
je 0x100f3ef2
mov eax, dword [ebp - 0xe5c]
mov byte [esi + 0x18], 1
mov dword [eax + 0x2c], esi
jmp 0x100f3e78
and dword [ebp - 0xe54], 0
push 0x104
lea eax, [ebp - 0x61c]
push eax
lea eax, [edi + 0x40]
push eax
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
cmp dword [edi + 0x44], 0
je 0x100f391d
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
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
jne 0x100f3cf9
test dword [ebx + 0x30], 0x200
je 0x100f3aa4
xor edx, edx
cmp dword [edi + 0x44], edx
je 0x100f3aa4
lea eax, [ebp - 0x61c]
cmp word [ebp - 0x61c], dx
je 0x100f3aa4
movzx ecx, word [ebp - 0x61c]
cmp cx, 0x5c
jne 0x100f3958
lea edx, [eax + 2]
add eax, 2
movzx ecx, word [eax]
test cx, cx
jne 0x100f394f
test edx, edx
je 0x100f3aa4
cmp word [edx], cx
je 0x100f3aa4
push edx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.MSVCR100.dll_wcscpy]
xor edx, edx
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
cmp word [ebp - 0x20c], dx
je 0x100f3aa4
movzx ecx, word [ebp - 0x20c]
cmp cx, 0x2e
jne 0x100f39a8
mov edx, eax
add eax, 2
movzx ecx, word [eax]
test cx, cx
jne 0x100f39a0
test edx, edx
je 0x100f3aa4
xor eax, eax
mov word [edx], ax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.MSVCR100.dll_wcslen]
pop ecx
test eax, eax
je 0x100f3aa4
test dword [ebx + 0x30], 0x1000
je 0x100f3a24
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.MSVCR100.dll_wcslen]
cmp dword [ebp - 0xe54], 0
pop ecx
push 8
pop ecx
je 0x100f3a16
cmp dword [ebp - 0xe54], 0xa
jge 0x100f3a07
push 7
pop ecx
jmp 0x100f3a16
xor ecx, ecx
cmp dword [ebp - 0xe54], 0x64
setl cl
add ecx, 5
cmp eax, ecx
jle 0x100f3a24
xor eax, eax
mov word [ebp + ecx*2 - 0x20c], ax
cmp dword [ebp - 0xe54], 0
lea eax, [ebp - 0x20c]
je 0x100f3a55
push dword [ebp - 0xe54]
push eax
push str._s_d.
lea eax, [ebp - 0x824]
push 0x104
push eax
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
add esp, 0x14
jmp 0x100f3a6f
push eax
push 0x10134904
lea eax, [ebp - 0x824]
push 0x104
push eax
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
add esp, 0x10
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x100f3a79
push eax
jmp 0x100f3a90
push 0
lea eax, [ebp - 0xe44]
push eax
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
test eax, eax
je 0x100f3aa4
mov eax, dword [eax + 0x5c]
push dword [eax]
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.MSVCR100.dll_wcscat]
pop ecx
pop ecx
jmp 0x100f3ba0
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0xe4c], eax
push 0
lea eax, [ebp - 0xe44]
push eax
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
mov edi, eax
test edi, edi
je 0x100f3b7a
cmp dword [edi + 0x58], 0
je 0x100f3b7a
cmp dword [ebx + 0x38], 0
jne 0x100f3b7a
push 0x2e
push dword [ebp - 0xe4c]
call dword [sym.imp.MSVCR100.dll_wcsrchr]
pop ecx
pop ecx
mov dword [ebp - 0xe64], eax
test eax, eax
je 0x100f3b7a
add dword [ebp - 0xe64], 2
and dword [ebp - 0xe58], 0
cmp dword [edi + 0x58], 0
jle 0x100f3b3a
mov eax, dword [edi + 0x5c]
mov ecx, dword [ebp - 0xe58]
push dword [eax + ecx*4]
push dword [ebp - 0xe64]
call dword [sym.imp.MSVCR100.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x100f3b7a
inc dword [ebp - 0xe58]
mov eax, dword [ebp - 0xe58]
cmp eax, dword [edi + 0x58]
jl 0x100f3b0b
push dword [ebp - 0xe4c]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.MSVCR100.dll_wcscpy]
lea eax, [ebp - 0x414]
push 0x2e
push eax
call dword [sym.imp.MSVCR100.dll_wcsrchr]
mov ecx, dword [edi + 0x5c]
push dword [ecx]
add eax, 2
push eax
call dword [sym.imp.MSVCR100.dll_wcscpy]
lea eax, [ebp - 0x414]
add esp, 0x18
mov dword [ebp - 0xe4c], eax
push dword [ebp - 0xe74]
lea eax, [ebp - 0x824]
push dword [ebp - 0xe4c]
push 0x104
push eax
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
mov edi, dword [ebp - 0xe5c]
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0xc34]
push eax
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
lea eax, [ebp - 0x20c]
push eax
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
inc dword [ebp - 0xe74]
inc dword [ebp - 0xe54]
movzx eax, al
mov dword [esi + 8], eax
test eax, eax
je 0x100f3bee
mov eax, dword [ebx + 0x30]
test al, 0x40
jne 0x100f3bee
test eax, 0x100
jne 0x100f38dd
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x20c]
push eax
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
and dword [ebp - 0xe4c], 0
mov eax, dword [ebp - 0xe4c]
cmp eax, dword [ebp - 0xe68]
jge 0x100f3c51
mov eax, dword [ebx]
push dword [ebp - 0xe4c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
test dword [ebx + 0x30], 0x800
jne 0x100f3c49
mov eax, dword [eax + 0x2c]
lea ecx, [ebp - 0x20c]
push ecx
push dword [eax]
call dword [sym.imp.MSVCR100.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x100f38dd
inc dword [ebp - 0xe4c]
jmp 0x100f3c08
cmp dword [edi + 0x44], 0
je 0x100f3cf9
cmp dword [0x1079da5c], 0
je 0x100f3cf9
lea eax, [edi + 0x40]
push eax
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
push eax
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
mov dword [ebp - 0xe4c], eax
lea eax, [ebp - 0x20c]
push eax
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
mov dword [ebp - 0xe58], eax
lea eax, [ebp - 0x824]
push eax
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
add esp, 0xc
cmp dword [ebp - 0xe4c], 0
mov dword [ebp - 0xe5c], eax
je 0x100f3ea7
cmp dword [ebp - 0xe58], 0
je 0x100f3ea7
test eax, eax
je 0x100f3ea7
mov eax, dword [0x1079da5c]
push dword [ebp - 0xe4c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
mov eax, dword [0x1079da5c]
push dword [ebp - 0xe58]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
mov eax, dword [0x1079da5c]
push dword [ebp - 0xe5c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
lea edx, [ebp - 0x20c]
push edx
push eax
call dword [ecx + 0x14]
mov dword [esi], eax
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
lea edx, [ebp - 0x824]
push edx
push eax
call dword [ecx + 0x14]
mov dword [esi + 4], eax
test eax, eax
je 0x100f3ef2
mov dword [edi + 0x2c], esi
jmp 0x100f3e78
cmp dword [edi + 0x44], 0
je 0x100f3e85
and dword [edi + 0x2c], 0
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
push 0x35
push eax
call dword [ecx + 0x10]
mov esi, eax
test esi, esi
je 0x100f3ef2
mov eax, dword [ebp - 0xe70]
xor ecx, ecx
inc ecx
mov dword [edi + 0x2c], esi
or dword [esi + 0x31], ecx
mov dword [esi + 0x10], edi
test eax, eax
je 0x100f3d6c
mov dword [eax + 0x14], esi
jmp 0x100f3d72
mov dword [ebp - 0xe6c], esi
mov dword [esi + 8], ecx
add edi, 0x40
test dword [ebx + 0x30], 0x1000
mov dword [ebp - 0xe70], esi
push 0x104
je 0x100f3db4
lea eax, [ebp - 0x310]
push eax
push edi
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
push eax
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
lea eax, [ebp - 0xa2c]
push eax
lea eax, [ebp - 0x310]
push eax
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
jmp 0x100f3dc1
lea eax, [ebp - 0xa2c]
push eax
push edi
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
xor edi, edi
lea eax, [ebp - 0xa2c]
cmp word [ebp - 0xa2c], di
je 0x100f3ded
movzx ecx, word [ebp - 0xa2c]
cmp cx, 0x5c
jne 0x100f3de2
lea edi, [eax + 2]
add eax, 2
movzx ecx, word [eax]
test cx, cx
jne 0x100f3dd9
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
lea edx, [ebp - 0xa2c]
push edx
push eax
call dword [ecx + 0x14]
mov dword [esi], eax
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
test edi, edi
je 0x100f3e0b
push edi
jmp 0x100f3e12
lea edx, [ebp - 0xa2c]
push edx
push eax
call dword [ecx + 0x14]
mov dword [esi + 4], eax
test eax, eax
je 0x100f3ef2
test dword [ebx + 0x30], 0x800
jne 0x100f3e78
lea eax, [ebp - 0x310]
push eax
push dword [esi]
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
lea edx, [ebp - 0x310]
push edx
push eax
call dword [ecx + 0x18]
mov dword [esi], eax
test eax, eax
je 0x100f3ef2
lea eax, [ebp - 0x310]
push eax
push dword [esi + 4]
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
lea edx, [ebp - 0x310]
push edx
push eax
call dword [ecx + 0x18]
mov dword [esi + 4], eax
test eax, eax
je 0x100f3ef2
lea edi, [esi + 0x19]
lea esi, [ebp - 0xe44]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
inc dword [ebp - 0xe68]
mov eax, dword [ebx]
mov ecx, dword [ebp - 0xe68]
cmp ecx, dword [eax + 0x24]
jl 0x100f36c6
jmp 0x100f3efc
or dword [ebp - 0xe50], 0xffffffff
jmp 0x100f3efc
cmp dword [ebp - 0xe4c], 0
mov dword [ebp - 0xe50], 0xfffffff4
je 0x100f3ec6
push dword [ebp - 0xe4c]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
pop ecx
cmp dword [ebp - 0xe58], 0
je 0x100f3edb
push dword [ebp - 0xe58]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
pop ecx
cmp dword [ebp - 0xe5c], 0
je 0x100f3efc
push dword [ebp - 0xe5c]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x100f3efc
mov dword [ebp - 0xe50], 0xfffffff4
cmp dword [ebp - 0xe6c], 0
je 0x100f4190
mov ecx, dword [ebp - 0xe60]
call fcn.10099853
test al, al
je 0x100f4190
cmp dword [ebp - 0xe50], 0
jle 0x100f4190
mov esi, dword [ebp - 0xe6c]
mov dword [ebx + 8], esi
mov ecx, dword [ebp - 0xe60]
call fcn.10099853
test al, al
je 0x100f4190
mov ecx, dword [ebx + 0x30]
test cl, 0x20
jne 0x100f4120
test byte [esi + 0x31], 1
jne 0x100f4120
test cl, 0x40
je 0x100f3f6a
cmp dword [esi + 8], 0
jne 0x100f4120
mov eax, dword [esi + 0x10]
mov edi, dword [eax + 0x64]
mov eax, dword [eax + 0x68]
mov dword [ebp - 0xe54], eax
test cl, cl
jns 0x100f3fa0
mov edx, 0x400
push edx
push edi
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
push edx
push dword [ebp - 0xe54]
mov edi, eax
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
add esp, 0x10
mov dword [ebp - 0xe54], eax
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x100f3fbb
cmp edi, eax
jle 0x100f3fad
mov edi, eax
cmp dword [ebp - 0xe54], eax
jle 0x100f3fbb
mov dword [ebp - 0xe54], eax
push dword [esi]
mov eax, dword [ebp - 0xe60]
mov ecx, dword [eax]
push str.Saving:__s
push 0
push eax
call dword [ecx + 0x18]
mov eax, dword [esi + 0x10]
add esp, 0x10
cmp edi, dword [eax + 0x64]
jne 0x100f40e3
mov ecx, dword [ebp - 0xe54]
cmp ecx, dword [eax + 0x68]
jne 0x100f40e3
cmp dword [eax + 0x3c], 0
mov byte [ebp - 0xe45], 1
je 0x100f404e
add eax, 0x4c
push eax
lea eax, [esi + 0x19]
push eax
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
test al, al
je 0x100f404e
push 0x201
push dword [esi]
push 0
call sym.rt3d.dll_public:_static_class_e3_STREAM____stdcall_e3_STREAM::CreateW_struct_HINSTANCE_____unsigned_short_int_const___unsigned_int_
mov edi, eax
test edi, edi
je 0x100f404e
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 0x3c]
mov ecx, dword [eax]
push 0
push 0
push eax
call dword [ecx + 0x28]
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 0x3c]
mov ecx, dword [eax]
push 0xffffffffffffffff
push 0
push edi
push eax
call dword [ecx + 0x78]
mov eax, dword [edi]
push edi
mov byte [ebp - 0xe45], 0
call dword [eax + 8]
push 0x101629c8
lea edi, [esi + 0x19]
push edi
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
test al, al
je 0x100f40bf
mov eax, dword [esi + 0x10]
add eax, 0x4c
push 0x101629c8
push eax
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
test al, al
je 0x100f40bf
mov eax, dword [esi + 0x10]
cmp dword [eax + 0x44], 0
je 0x100f40bf
push 0x104
lea ecx, [ebp - 0x61c]
push ecx
add eax, 0x40
push eax
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
push dword [esi]
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.MSVCR100.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x100f40b8
push dword [esi]
lea eax, [ebp - 0x61c]
push eax
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
pop ecx
pop ecx
mov byte [ebp - 0xe45], 0
cmp byte [ebp - 0xe45], 0
je 0x100f4120
mov eax, dword [esi + 0x10]
fld dword [ebx + 0x2c]
mov ecx, dword [eax]
push ecx
fstp dword [esp]
push dword [ebp - 0xe60]
push edi
push dword [esi]
push eax
call dword [ecx + 0x44]
jmp 0x100f4120
mov ecx, dword [eax]
push 0
push 1
push dword [ebp - 0xe54]
push edi
push eax
call dword [ecx + 0xb4]
mov edi, eax
test edi, edi
je 0x100f4186
fld dword [ebx + 0x2c]
mov eax, dword [edi]
push ecx
fstp dword [esp]
push dword [ebp - 0xe60]
lea ecx, [ebx + 0x1c]
push ecx
push dword [esi]
push edi
call dword [eax + 0x44]
mov eax, dword [edi]
push edi
call dword [eax + 8]
test dword [ebx + 0x30], 0x800
jne 0x100f4179
test byte [esi + 0x31], 1
jne 0x100f4179
lea eax, [ebp - 0x310]
push eax
push dword [esi]
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
lea edx, [ebp - 0x310]
push edx
push eax
call dword [ecx + 0x18]
mov dword [esi], eax
test eax, eax
je 0x100f4186
lea eax, [ebp - 0x310]
push eax
push dword [esi + 4]
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::_FromUpDir_struct_MATRIX3D___struct_POINT3D___struct_POINT3D___struct_POINT3D__
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
lea edx, [ebp - 0x310]
push edx
push eax
call dword [ecx + 0x18]
mov dword [esi + 4], eax
test eax, eax
je 0x100f4186
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x100f3f32
jmp 0x100f4190
mov dword [ebp - 0xe50], 0xfffffff4
mov eax, dword [ebp - 0xe60]
mov ecx, dword [eax]
dec dword [eax + 0x10]
lea edx, [ebp - 0xe34]
push edx
push 0
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0xe50]
add esp, 0xc
jmp 0x100f41b5
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10113450
leave
ret 0xc